Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 1 addition & 11 deletions website/docs/en/_nav.json
Original file line number Diff line number Diff line change
@@ -1,19 +1,9 @@
[
{
"text": "Guide",
"link": "/guide/introduction",
"link": "/guide/quick-start",
Comment thread
chenjiahan marked this conversation as resolved.
"activeMatch": "/guide/"
},
{
"text": "Commands",
"link": "/commands/",
"activeMatch": "/commands/"
},
{
"text": "Configuration",
"link": "/config/",
"activeMatch": "/config/"
},
{
"text": "Changelog",
"link": "https://github.com/rstackjs/rstack-cli/releases"
Expand Down
7 changes: 0 additions & 7 deletions website/docs/en/commands/_meta.json

This file was deleted.

3 changes: 0 additions & 3 deletions website/docs/en/commands/index.mdx

This file was deleted.

7 changes: 0 additions & 7 deletions website/docs/en/config/_meta.json

This file was deleted.

3 changes: 0 additions & 3 deletions website/docs/en/config/index.mdx

This file was deleted.

15 changes: 12 additions & 3 deletions website/docs/en/guide/_meta.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,21 @@
[
{
"type": "file",
"name": "introduction",
"label": "Introduction"
"type": "section-header",
"label": "Essentials"
},
{
"type": "file",
"name": "quick-start",
"label": "Quick start"
},
{
"type": "file",
"name": "configuration",
"label": "Configuration"
},
{
"type": "dir-section-header",
"name": "cli",
"label": "CLI"
}
]
1 change: 1 addition & 0 deletions website/docs/en/guide/cli/_meta.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
["dev", "build", "preview", "lib", "doc", "test", "lint", "staged"]
7 changes: 7 additions & 0 deletions website/docs/en/guide/cli/build.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# build

TODO.

## Configuration

See [`define.app()`](../configuration#define-app).
7 changes: 7 additions & 0 deletions website/docs/en/guide/cli/dev.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# dev

TODO.

## Configuration

See [`define.app()`](../configuration#define-app).
7 changes: 7 additions & 0 deletions website/docs/en/guide/cli/doc.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# doc

TODO.

## Configuration

See [`define.doc()`](../configuration#define-doc).
7 changes: 7 additions & 0 deletions website/docs/en/guide/cli/lib.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# lib

TODO.

## Configuration

See [`define.lib()`](../configuration#define-lib).
7 changes: 7 additions & 0 deletions website/docs/en/guide/cli/lint.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# lint

TODO.

## Configuration

See [`define.lint()`](../configuration#define-lint).
7 changes: 7 additions & 0 deletions website/docs/en/guide/cli/preview.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# preview

TODO.

## Configuration

See [`define.app()`](../configuration#define-app).
7 changes: 7 additions & 0 deletions website/docs/en/guide/cli/staged.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# staged

TODO.

## Configuration

See [`define.staged()`](../configuration#define-staged).
7 changes: 7 additions & 0 deletions website/docs/en/guide/cli/test.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# test

TODO.

## Configuration

See [`define.test()`](../configuration#define-test).
43 changes: 43 additions & 0 deletions website/docs/en/guide/configuration.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# Configuration

TODO.

## `define.app()` \{#define-app}

TODO.

Commands:

- [`rs dev`](./cli/dev)
- [`rs build`](./cli/build)
- [`rs preview`](./cli/preview)

## `define.lib()` \{#define-lib}

TODO.

Command: [`rs lib`](./cli/lib).

## `define.doc()` \{#define-doc}

TODO.

Command: [`rs doc`](./cli/doc).

## `define.test()` \{#define-test}

TODO.

Command: [`rs test`](./cli/test).

## `define.lint()` \{#define-lint}

TODO.

Command: [`rs lint`](./cli/lint).

## `define.staged()` \{#define-staged}

TODO.

Command: [`rs staged`](./cli/staged).
3 changes: 0 additions & 3 deletions website/docs/en/guide/introduction.mdx

This file was deleted.

11 changes: 11 additions & 0 deletions website/docs/en/guide/quick-start.mdx
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
# Quick start

TODO.

## CLI commands

- [`rs dev`](./cli/dev): TODO.
- [`rs build`](./cli/build): TODO.
- [`rs preview`](./cli/preview): TODO.
- [`rs lib`](./cli/lib): TODO.
- [`rs doc`](./cli/doc): TODO.
- [`rs test`](./cli/test): TODO.
- [`rs lint`](./cli/lint): TODO.
- [`rs staged`](./cli/staged): TODO.
12 changes: 1 addition & 11 deletions website/docs/zh/_nav.json
Original file line number Diff line number Diff line change
@@ -1,19 +1,9 @@
[
{
"text": "指南",
"link": "/guide/introduction",
"link": "/guide/quick-start",
"activeMatch": "/guide/"
},
{
"text": "命令",
"link": "/commands/",
"activeMatch": "/commands/"
},
{
"text": "配置",
"link": "/config/",
"activeMatch": "/config/"
},
{
"text": "更新日志",
"link": "https://github.com/rstackjs/rstack-cli/releases"
Expand Down
7 changes: 0 additions & 7 deletions website/docs/zh/commands/_meta.json

This file was deleted.

3 changes: 0 additions & 3 deletions website/docs/zh/commands/index.mdx

This file was deleted.

7 changes: 0 additions & 7 deletions website/docs/zh/config/_meta.json

This file was deleted.

3 changes: 0 additions & 3 deletions website/docs/zh/config/index.mdx

This file was deleted.

15 changes: 12 additions & 3 deletions website/docs/zh/guide/_meta.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,21 @@
[
{
"type": "file",
"name": "introduction",
"label": "介绍"
"type": "section-header",
"label": "基础"
},
{
"type": "file",
"name": "quick-start",
"label": "快速上手"
},
{
"type": "file",
"name": "configuration",
"label": "配置"
},
{
"type": "dir-section-header",
"name": "cli",
"label": "CLI"
}
]
1 change: 1 addition & 0 deletions website/docs/zh/guide/cli/_meta.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
["dev", "build", "preview", "lib", "doc", "test", "lint", "staged"]
7 changes: 7 additions & 0 deletions website/docs/zh/guide/cli/build.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# build

TODO.

## 配置

参见 [`define.app()`](../configuration#define-app)。
7 changes: 7 additions & 0 deletions website/docs/zh/guide/cli/dev.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# dev

TODO.

## 配置

参见 [`define.app()`](../configuration#define-app)。
7 changes: 7 additions & 0 deletions website/docs/zh/guide/cli/doc.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# doc

TODO.

## 配置

参见 [`define.doc()`](../configuration#define-doc)。
7 changes: 7 additions & 0 deletions website/docs/zh/guide/cli/lib.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# lib

TODO.

## 配置

参见 [`define.lib()`](../configuration#define-lib)。
7 changes: 7 additions & 0 deletions website/docs/zh/guide/cli/lint.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# lint

TODO.

## 配置

参见 [`define.lint()`](../configuration#define-lint)。
7 changes: 7 additions & 0 deletions website/docs/zh/guide/cli/preview.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# preview

TODO.

## 配置

参见 [`define.app()`](../configuration#define-app)。
7 changes: 7 additions & 0 deletions website/docs/zh/guide/cli/staged.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# staged

TODO.

## 配置

参见 [`define.staged()`](../configuration#define-staged)。
7 changes: 7 additions & 0 deletions website/docs/zh/guide/cli/test.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# test

TODO.

## 配置

参见 [`define.test()`](../configuration#define-test)。
43 changes: 43 additions & 0 deletions website/docs/zh/guide/configuration.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# 配置

TODO.

## `define.app()` \{#define-app}

TODO.

对应命令:

- [`rs dev`](./cli/dev)
- [`rs build`](./cli/build)
- [`rs preview`](./cli/preview)

## `define.lib()` \{#define-lib}

TODO.

对应命令:[`rs lib`](./cli/lib)。

## `define.doc()` \{#define-doc}

TODO.

对应命令:[`rs doc`](./cli/doc)。

## `define.test()` \{#define-test}

TODO.

对应命令:[`rs test`](./cli/test)。

## `define.lint()` \{#define-lint}

TODO.

对应命令:[`rs lint`](./cli/lint)。

## `define.staged()` \{#define-staged}

TODO.

对应命令:[`rs staged`](./cli/staged)。
3 changes: 0 additions & 3 deletions website/docs/zh/guide/introduction.mdx

This file was deleted.

11 changes: 11 additions & 0 deletions website/docs/zh/guide/quick-start.mdx
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
# 快速上手

TODO.

## CLI 命令

- [`rs dev`](./cli/dev):TODO。
- [`rs build`](./cli/build):TODO。
- [`rs preview`](./cli/preview):TODO。
- [`rs lib`](./cli/lib):TODO。
- [`rs doc`](./cli/doc):TODO。
- [`rs test`](./cli/test):TODO。
- [`rs lint`](./cli/lint):TODO。
- [`rs staged`](./cli/staged):TODO。
Loading