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"
module.exports = {
tutorialSidebar: [
mainSidebar: [
'intro',
// highlight-next-line
'hello',

View File

@ -14,11 +14,11 @@
/** @type {import('@docusaurus/plugin-content-docs').SidebarsConfig} */
const sidebars = {
// 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
/*
tutorialSidebar: [
mainSidebar: [
'intro',
'hello',
{