Skip to content

Commit c271b6f

Browse files
committed
chore: update docs
1 parent 8782e1c commit c271b6f

5 files changed

Lines changed: 28 additions & 53 deletions

File tree

.github/workflows/dev.yml

Lines changed: 20 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ on:
44
push:
55
branches:
66
- dev
7-
- feat-dnr
87

98
concurrency:
109
group: ${{ github.workflow }}-${{ github.ref }}
@@ -76,23 +75,23 @@ jobs:
7675
# temp/release
7776
# !temp/release/*-id.txt
7877

79-
# sync-locale:
80-
# runs-on: ubuntu-24.04
81-
# strategy:
82-
# matrix:
83-
# node-version: [16.x]
84-
# steps:
85-
# - uses: actions/checkout@v3
86-
# - name: Use Node.js ${{ matrix.node-version }}
87-
# uses: actions/setup-node@v3
88-
# with:
89-
# node-version: ${{ matrix.node-version }}
90-
# - name: Sort
91-
# run: node ./locale/sort-origin.js
92-
# - name: Deploy
93-
# uses: JamesIves/github-pages-deploy-action@v4
94-
# with:
95-
# branch: sync-locale
96-
# folder: locale
97-
# clean: false
98-
# commit-message: '[skip ci] sync locale'
78+
sync-locale:
79+
runs-on: ubuntu-24.04
80+
strategy:
81+
matrix:
82+
node-version: [18.x]
83+
steps:
84+
- uses: actions/checkout@v4
85+
- name: Use Node.js ${{ matrix.node-version }}
86+
uses: actions/setup-node@v4
87+
with:
88+
node-version: ${{ matrix.node-version }}
89+
- name: Sort
90+
run: node ./locale/sort-origin.js
91+
- name: Deploy
92+
uses: JamesIves/github-pages-deploy-action@v4
93+
with:
94+
branch: sync-locale
95+
folder: locale
96+
clean: false
97+
commit-message: '[skip ci] sync locale'

.github/workflows/main.yml

Lines changed: 5 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -10,42 +10,18 @@ concurrency:
1010
cancel-in-progress: true
1111

1212
jobs:
13-
build:
14-
runs-on: ubuntu-24.04
15-
strategy:
16-
matrix:
17-
node-version: [16.x]
18-
steps:
19-
- uses: actions/checkout@v3
20-
- uses: pnpm/action-setup@v4
21-
with:
22-
version: 7
23-
- name: Use Node.js ${{ matrix.node-version }}
24-
uses: actions/setup-node@v3
25-
with:
26-
node-version: ${{ matrix.node-version }}
27-
cache: 'pnpm'
28-
- name: Install dependencies
29-
run: pnpm i --frozen-lockfile
30-
- name: Build
31-
run: npm run build:firefox_v3
32-
- name: Upload bundles
33-
uses: actions/upload-artifact@v3
34-
with:
35-
name: dist
36-
path: dist_firefox_v3
3713
build-docs:
3814
runs-on: ubuntu-24.04
3915
strategy:
4016
matrix:
41-
node-version: [16.x]
17+
node-version: [18.x]
4218
steps:
43-
- uses: actions/checkout@v3
44-
- uses: pnpm/action-setup@v2
19+
- uses: actions/checkout@v4
20+
- uses: pnpm/action-setup@v4
4521
with:
46-
version: 7
22+
version: 9
4723
- name: Use Node.js ${{ matrix.node-version }}
48-
uses: actions/setup-node@v3
24+
uses: actions/setup-node@v4
4925
with:
5026
node-version: ${{ matrix.node-version }}
5127
- name: Install dependencies

docs/docs/guide/index.en-US.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ The features of the full version (Header Editor) and the lite version (Header Ed
4545

4646
Notes:
4747
* The "exclude" for Chrome/Edge browser will be supported in other ways in subsequent versions, but they not be completely consistent with the current support methods, and manual migration may be required.
48-
* If the corresponding feature is not supported, the rules will not take effect, but will still be retained. You can wait for subsequent versions to support it, or manually migrate to other browsers through the "Import and Export".
48+
* If the corresponding feature is not supported, **the entire rule** will not take effect, but will still be retained. You can wait for subsequent versions to support it, or manually migrate to other browsers through the "Import and Export".
4949

5050
## Basic usage
5151

docs/docs/guide/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ order: 1
4545

4646
备注:
4747
* Chrome/Edge 浏览器的排除规则将在后续版本中以其他方式支持,但无法与当前支持方式完全一致,可能需要手动迁移。
48-
* 若不支持对应功能,规则不会生效,但仍然会被保留,您可以等待后续版本支持,或通过“导入和导出”功能,手动迁移到其他浏览器。
48+
* 若不支持对应功能,**整个规则**不会生效,但仍然会被保留,您可以等待后续版本支持,或通过“导入和导出”功能,手动迁移到其他浏览器。
4949

5050
## 基本使用
5151

docs/docs/guide/index.zh-TW.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ order: 1
4545

4646
筆記:
4747
* Chrome/Edge 瀏覽器的「排除」功能將在後續版本中以其他方式支持,但與目前的支援方式不完全一致,可能需要手動遷移。
48-
* 如果不支援相應的功能,規則將不會生效,但仍會保留。您可以等待後續版本支持,或透過「匯入匯出」手動遷移到其他瀏覽器。
48+
* 如果不支援相應的功能,**整個規則**將不會生效,但仍會保留。您可以等待後續版本支持,或透過「匯入匯出」手動遷移到其他瀏覽器。
4949

5050
## 基本使用
5151

0 commit comments

Comments
 (0)