mirror of
https://github.com/facebook/docusaurus.git
synced 2025-08-03 16:59:06 +02:00
docs: consistently use sidebars.js filename (#7016)
* modify sidebar.js to sidebars.js in installation.md * modify sidebar.js to sidebars.js Co-authored-by: leedom <leedom@jinlanzuan.com>
This commit is contained in:
parent
50e38ec4c9
commit
b842197ac6
6 changed files with 6 additions and 6 deletions
|
@ -110,7 +110,7 @@ When tagging a new version, the document versioning mechanism will:
|
|||
docs/new.md
|
||||
|
||||
# Edit the corresponding sidebar file.
|
||||
sidebar.js
|
||||
sidebars.js
|
||||
```
|
||||
|
||||
</TabItem>
|
||||
|
|
|
@ -140,7 +140,7 @@ my-website
|
|||
- `/static/` - Static directory. Any contents inside here will be copied into the root of the final `build` directory
|
||||
- `/docusaurus.config.js` - A config file containing the site configuration. This is the equivalent of `siteConfig.js` in Docusaurus v1
|
||||
- `/package.json` - A Docusaurus website is a React app. You can install and use any npm packages you like in them
|
||||
- `/sidebar.js` - Used by the documentation to specify the order of documents in the sidebar
|
||||
- `/sidebars.js` - Used by the documentation to specify the order of documents in the sidebar
|
||||
|
||||
### Monorepos {#monorepos}
|
||||
|
||||
|
|
|
@ -110,7 +110,7 @@ When tagging a new version, the document versioning mechanism will:
|
|||
docs/new.md
|
||||
|
||||
# Edit the corresponding sidebar file.
|
||||
sidebar.js
|
||||
sidebars.js
|
||||
```
|
||||
|
||||
</TabItem>
|
||||
|
|
|
@ -144,7 +144,7 @@ my-website
|
|||
- `/static/` - Static directory. Any contents inside here will be copied into the root of the final `build` directory
|
||||
- `/docusaurus.config.js` - A config file containing the site configuration. This is the equivalent of `siteConfig.js` in Docusaurus v1
|
||||
- `/package.json` - A Docusaurus website is a React app. You can install and use any npm packages you like in them
|
||||
- `/sidebar.js` - Used by the documentation to specify the order of documents in the sidebar
|
||||
- `/sidebars.js` - Used by the documentation to specify the order of documents in the sidebar
|
||||
|
||||
### Monorepos {#monorepos}
|
||||
|
||||
|
|
|
@ -110,7 +110,7 @@ When tagging a new version, the document versioning mechanism will:
|
|||
docs/new.md
|
||||
|
||||
# Edit the corresponding sidebar file.
|
||||
sidebar.js
|
||||
sidebars.js
|
||||
```
|
||||
|
||||
</TabItem>
|
||||
|
|
|
@ -140,7 +140,7 @@ my-website
|
|||
- `/static/` - Static directory. Any contents inside here will be copied into the root of the final `build` directory
|
||||
- `/docusaurus.config.js` - A config file containing the site configuration. This is the equivalent of `siteConfig.js` in Docusaurus v1
|
||||
- `/package.json` - A Docusaurus website is a React app. You can install and use any npm packages you like in them
|
||||
- `/sidebar.js` - Used by the documentation to specify the order of documents in the sidebar
|
||||
- `/sidebars.js` - Used by the documentation to specify the order of documents in the sidebar
|
||||
|
||||
### Monorepos {#monorepos}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue