chore: regenerate beta.6 examples + fix regen script (#5484)

* update examples script

* rename ext

* typo

* update examples

* fix script to update starters

* update examples

* add --allow-empty so that script does not fail if nothing changed

* fix lint
This commit is contained in:
Sébastien Lorber 2021-09-03 16:54:06 +02:00 committed by GitHub
parent 52844f2b01
commit 3d05ec2e4b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
125 changed files with 14341 additions and 3257 deletions

View file

@ -7,9 +7,29 @@
* @format
*/
/**
* Creating a sidebar enables you to:
- create an ordered group of docs
- render a sidebar for each doc of that group
- provide next/previous navigation
The sidebars can be generated from the filesystem, or explicitly defined here.
Create as many sidebars as you want.
*/
module.exports = {
someSidebar: {
Docusaurus: ['doc1', 'doc2', 'doc3'],
Features: ['mdx'],
},
// By default, Docusaurus generates a sidebar from the docs folder structure
tutorialSidebar: [{type: 'autogenerated', dirName: '.'}],
// But you can create a sidebar manually
/*
tutorialSidebar: [
{
type: 'category',
label: 'Tutorial',
items: ['hello'],
},
],
*/
};