🐎 ci: add i18n
Some checks failed
Build and Deploy mdBook / build-and-deploy (push) Failing after 9s

This commit is contained in:
李东云
2025-06-11 13:32:31 +08:00
parent d5a6b17526
commit 1a8b8431cc
25 changed files with 2 additions and 4 deletions

View File

@@ -23,11 +23,11 @@ jobs:
run: | run: |
echo "Building English book..." echo "Building English book..."
# 使用 en 的配置,构建英文版,并指定输出到 book/en 目录 # 使用 en 的配置,构建英文版,并指定输出到 book/en 目录
mdbook build -d book/en --config book.en.toml . mdbook build -d $(pwd)/book/en en
echo "Building Chinese book..." echo "Building Chinese book..."
# 使用 zh 的配置,构建中文版,并指定输出到 book/zh 目录 # 使用 zh 的配置,构建中文版,并指定输出到 book/zh 目录
mdbook build -d book/zh --config book.zh.toml . mdbook build -d $(pwd)/book/zh zh
- name: Create Language Redirect Index - name: Create Language Redirect Index
run: | run: |

View File

@@ -2,7 +2,6 @@
title = "Dao OS Documentation" title = "Dao OS Documentation"
author = "The Dao OS Community" author = "The Dao OS Community"
description = "The official documentation for the Dao OS, your Cyber-Life Operating System." description = "The official documentation for the Dao OS, your Cyber-Life Operating System."
src = "src"
[output.html] [output.html]
git-repository-url = "https://nest.doylee.cn/Dao-OS/dao-os-docs" git-repository-url = "https://nest.doylee.cn/Dao-OS/dao-os-docs"

View File

@@ -2,7 +2,6 @@
title = "大道 (Dao OS) 文档" title = "大道 (Dao OS) 文档"
author = "The Dao OS Community" author = "The Dao OS Community"
description = "大道Dao OS官方文档你的赛博生命操作系统。" description = "大道Dao OS官方文档你的赛博生命操作系统。"
src = "src-zh"
[output.html] [output.html]
git-repository-url = "https://nest.doylee.cn/Dao-OS/dao-os-docs" git-repository-url = "https://nest.doylee.cn/Dao-OS/dao-os-docs"