🐎 ci: add i18n
Some checks failed
Build and Deploy mdBook / build-and-deploy (push) Failing after 9s
Some checks failed
Build and Deploy mdBook / build-and-deploy (push) Failing after 9s
This commit is contained in:
@@ -23,11 +23,11 @@ jobs:
|
||||
run: |
|
||||
echo "Building English book..."
|
||||
# 使用 en 的配置,构建英文版,并指定输出到 book/en 目录
|
||||
mdbook build -d book/en --config book.en.toml .
|
||||
mdbook build -d $(pwd)/book/en en
|
||||
|
||||
echo "Building Chinese book..."
|
||||
# 使用 zh 的配置,构建中文版,并指定输出到 book/zh 目录
|
||||
mdbook build -d book/zh --config book.zh.toml .
|
||||
mdbook build -d $(pwd)/book/zh zh
|
||||
|
||||
- name: Create Language Redirect Index
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user