Skip to content

Commit ae07b78

Browse files
committed
update
1 parent 4499464 commit ae07b78

File tree

98 files changed

+2310
-174
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

98 files changed

+2310
-174
lines changed

Diff for: Taskfile.yml

+40
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,46 @@ tasks:
55
cmds:
66
- npm start
77

8+
run:fr:
9+
cmds:
10+
- npm run start -- --locale fr
11+
12+
run:zh:
13+
cmds:
14+
- npm run start -- --locale zh-CN
15+
16+
i18n:
17+
cmds:
18+
- npm run write-translations -- --locale en
19+
- npm run write-translations -- --locale fr
20+
- npm run write-translations -- --locale zh-CN
21+
22+
i18n:zh:
23+
cmds:
24+
- mkdir -p i18n/zh-CN/docusaurus-plugin-content-docs/current
25+
- cp -r docs/** i18n/zh-CN/docusaurus-plugin-content-docs/current
26+
27+
- mkdir -p i18n/zh-CN/docusaurus-plugin-content-blog
28+
- cp -r blog/** i18n/zh-CN/docusaurus-plugin-content-blog
29+
30+
- mkdir -p i18n/zh-CN/docusaurus-plugin-content-pages
31+
- cp -r src/pages/**.md i18n/zh-CN/docusaurus-plugin-content-pages
32+
- cp -r src/pages/**.mdx i18n/zh-CN/docusaurus-plugin-content-pages
33+
ignore_error: true
34+
35+
36+
i18n:fr:
37+
cmds:
38+
- mkdir -p i18n/fr/docusaurus-plugin-content-docs/current
39+
- cp -r docs/** i18n/fr/docusaurus-plugin-content-docs/current
40+
41+
- mkdir -p i18n/fr/docusaurus-plugin-content-blog
42+
- cp -r blog/** i18n/fr/docusaurus-plugin-content-blog
43+
44+
- mkdir -p i18n/fr/docusaurus-plugin-content-pages
45+
- cp -r src/pages/**.md i18n/fr/docusaurus-plugin-content-pages
46+
- cp -r src/pages/**.mdx i18n/fr/docusaurus-plugin-content-pages
47+
848
deploy:
949
cmds:
1050
- DEPLOYMENT_BRANCH=gh-pages USE_SSH=true yarn deploy

0 commit comments

Comments
 (0)