chore: smol fix

Signed-off-by: blam <ben@blam.sh>
This commit is contained in:
blam
2024-09-11 12:13:33 +02:00
parent 28e2ca1ed8
commit 5509b5a829
5 changed files with 17 additions and 16 deletions
+13 -12
View File
@@ -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
],
...
},
...
}
```