You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+80-2Lines changed: 80 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,6 +18,84 @@ $ yarn install
18
18
19
19
## Updating AC CLI Documentation
20
20
21
-
*`yarn update-ac-manual`: Update the AC CLI documentation in [docs/en/ui/cli_tools/ac/](docs/en/ui/cli_tools/ac/).
21
+
The AC CLI documentation in [docs/en/ui/cli_tools/ac/](docs/en/ui/cli_tools/ac/) is generated from the AC repository and should be updated through the sync script instead of manual edits.
22
22
23
-
**Important:** Do not manually edit files in [docs/en/ui/cli_tools/ac/](docs/en/ui/cli_tools/ac/) as they are managed by this update command.
23
+
### Prerequisites
24
+
25
+
* Install project dependencies with `yarn install`
26
+
* Ensure `git` is available on your machine
27
+
* Ensure your account has SSH access to `git@gitlab-ce.alauda.cn:alauda/ac.git`
28
+
29
+
### Default Update Command
30
+
31
+
Run the standard update command from the repository root:
32
+
33
+
```bash
34
+
yarn update-ac-manual
35
+
```
36
+
37
+
This command runs:
38
+
39
+
```bash
40
+
node scripts/update-ac-manual.js
41
+
```
42
+
43
+
When you use `yarn update-ac-manual`, the repository sync pulls the `release-1.0` branch from `git@gitlab-ce.alauda.cn:alauda/ac.git` by default.
0 commit comments