Rename sidebar

This commit is contained in:
Piotr Rogowski 2023-03-02 12:01:33 +01:00
parent a5060f61c4
commit f75d5c0545
No known key found for this signature in database
GPG Key ID: 4A842D702D9C6F8F
2 changed files with 3 additions and 3 deletions

View File

@ -43,7 +43,7 @@ It is also possible to create your sidebar explicitly in `sidebars.js`:
```js title="sidebars.js" ```js title="sidebars.js"
module.exports = { module.exports = {
tutorialSidebar: [ mainSidebar: [
'intro', 'intro',
// highlight-next-line // highlight-next-line
'hello', 'hello',

View File

@ -14,11 +14,11 @@
/** @type {import('@docusaurus/plugin-content-docs').SidebarsConfig} */ /** @type {import('@docusaurus/plugin-content-docs').SidebarsConfig} */
const sidebars = { const sidebars = {
// By default, Docusaurus generates a sidebar from the docs folder structure // By default, Docusaurus generates a sidebar from the docs folder structure
tutorialSidebar: [{type: 'autogenerated', dirName: '.'}], mainSidebar: [{type: 'autogenerated', dirName: '.'}],
// But you can create a sidebar manually // But you can create a sidebar manually
/* /*
tutorialSidebar: [ mainSidebar: [
'intro', 'intro',
'hello', 'hello',
{ {