mirror of https://github.com/FOME-Tech/wiki.git
Rename sidebar
This commit is contained in:
parent
a5060f61c4
commit
f75d5c0545
|
@ -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',
|
||||||
|
|
|
@ -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',
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue