Skip to content

Commit ee8aec9

Browse files
authored
docs: organize CLI documentation (#50)
1 parent ee99d89 commit ee8aec9

38 files changed

Lines changed: 255 additions & 93 deletions

website/docs/en/_nav.json

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,9 @@
11
[
22
{
33
"text": "Guide",
4-
"link": "/guide/introduction",
4+
"link": "/guide/quick-start",
55
"activeMatch": "/guide/"
66
},
7-
{
8-
"text": "Commands",
9-
"link": "/commands/",
10-
"activeMatch": "/commands/"
11-
},
12-
{
13-
"text": "Configuration",
14-
"link": "/config/",
15-
"activeMatch": "/config/"
16-
},
177
{
188
"text": "Changelog",
199
"link": "https://github.com/rstackjs/rstack-cli/releases"

website/docs/en/commands/_meta.json

Lines changed: 0 additions & 7 deletions
This file was deleted.

website/docs/en/commands/index.mdx

Lines changed: 0 additions & 3 deletions
This file was deleted.

website/docs/en/config/_meta.json

Lines changed: 0 additions & 7 deletions
This file was deleted.

website/docs/en/config/index.mdx

Lines changed: 0 additions & 3 deletions
This file was deleted.

website/docs/en/guide/_meta.json

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,21 @@
11
[
22
{
3-
"type": "file",
4-
"name": "introduction",
5-
"label": "Introduction"
3+
"type": "section-header",
4+
"label": "Essentials"
65
},
76
{
87
"type": "file",
98
"name": "quick-start",
109
"label": "Quick start"
10+
},
11+
{
12+
"type": "file",
13+
"name": "configuration",
14+
"label": "Configuration"
15+
},
16+
{
17+
"type": "dir-section-header",
18+
"name": "cli",
19+
"label": "CLI"
1120
}
1221
]
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
["dev", "build", "preview", "lib", "doc", "test", "lint", "staged"]
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# build
2+
3+
TODO.
4+
5+
## Configuration
6+
7+
See [`define.app()`](../configuration#define-app).

website/docs/en/guide/cli/dev.mdx

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# dev
2+
3+
TODO.
4+
5+
## Configuration
6+
7+
See [`define.app()`](../configuration#define-app).

website/docs/en/guide/cli/doc.mdx

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# doc
2+
3+
TODO.
4+
5+
## Configuration
6+
7+
See [`define.doc()`](../configuration#define-doc).

0 commit comments

Comments
 (0)