+13
-12
@@ -61,7 +61,7 @@ my-docusaurus/
|
||||
css/
|
||||
img/
|
||||
package.json
|
||||
sidebars.json
|
||||
sidebars.js
|
||||
siteConfig.js
|
||||
```
|
||||
|
||||
@@ -116,19 +116,20 @@ For more information about blog posts, click [here](https://docusaurus.io/docs/e
|
||||
My new content here..
|
||||
```
|
||||
|
||||
2. Refer to that doc's ID in an existing sidebar in `website/sidebars.json`:
|
||||
2. Refer to that doc's ID in an existing sidebar in `website/sidebars.js`:
|
||||
|
||||
```javascript
|
||||
```js
|
||||
// Add newly-created-doc to the Getting Started category of docs
|
||||
{
|
||||
"docs": {
|
||||
"Getting Started": [
|
||||
"quick-start",
|
||||
"newly-created-doc" // new doc here
|
||||
],
|
||||
...
|
||||
},
|
||||
...
|
||||
module.exports = {
|
||||
...
|
||||
docs: {
|
||||
"Getting Started": [
|
||||
"quick-start",
|
||||
"newly-created-doc" // new doc here
|
||||
],
|
||||
...
|
||||
},
|
||||
...
|
||||
}
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user