Skip to content

Commit 0d1e701

Browse files
committed
organize next side bar for autogeneration
1 parent 7393539 commit 0d1e701

12 files changed

+45
-11
lines changed

docs/introduction.md renamed to docs/01-Overview.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
id: introduction
2+
id: overview
33
title: Overview
44
---
55

docs/changelog.md renamed to docs/Change Log.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
id: changelog
3-
title: Changelog
4-
sidebar_label: Changelog
3+
title: Change Log
4+
sidebar_label: Change Log
55
---
66

77
While we continuously deliver features as they're written, we like to

docs/discussion/_category_.json

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"position": 4,
3+
"label": "Discussion"
4+
}

docs/how-to/_category_.json

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"position": 2,
3+
"label": "How-To Guides"
4+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"position": 1,
3+
"label": "Step-by-Step Guides"
4+
}
File renamed without changes.

docs/reference/_category_.json

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"position": 3,
3+
"label": "Reference"
4+
}

docs/reference/base.md

-6
This file was deleted.

docs/reference/language-reference.md

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
title: "Language Reference"
3+
sidebar_label: "Language Reference"
4+
sidebar_position: 1
5+
keywords:
6+
- types
7+
- control
8+
- control-flow
9+
draft: true
10+
---
11+
12+
No content yet!

docs/tutorials/_category_.json

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"position": 1,
3+
"label": "Tutorials"
4+
}

docusaurus.config.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ module.exports = {
3030
position: "right",
3131
},
3232
{
33-
to: "/next/introduction",
33+
to: "/next/overview",
3434
label: "Next",
3535
position: "right",
3636
},
@@ -187,7 +187,7 @@ module.exports = {
187187
id: 'docs-next',
188188
path: 'docs',
189189
routeBasePath: '/next',
190-
sidebarPath: require.resolve("./sidebars.json")
190+
sidebarPath: './sidebars.js'
191191
// ... other options
192192
},
193193
],

sidebars.js

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
export default {
2+
myAutogeneratedSidebar: [
3+
{
4+
type: 'autogenerated',
5+
dirName: '.', // '.' means the current docs folder
6+
},
7+
],
8+
};

0 commit comments

Comments
 (0)