mirror of
https://github.com/openmlsys/openmlsys-zh.git
synced 2026-06-14 22:16:11 +08:00
build: migrate docs publishing to mdbook
Move the English root site to mdBook, keep the Chinese site as a sub-book, and update CI/deploy to publish .mdbook outputs to docs/ and docs/cn/. Also add regression coverage for placeholder skipping, publish-tree assembly, and shared resource setup.
This commit is contained in:
12
book.toml
12
book.toml
@@ -1,15 +1,15 @@
|
||||
[book]
|
||||
authors = ["OpenMLSys Contributors"]
|
||||
language = "zh-CN"
|
||||
src = "zh_chapters"
|
||||
title = "机器学习系统:设计和实现"
|
||||
language = "en"
|
||||
src = "en_chapters"
|
||||
title = "Machine Learning Systems: Design and Implementation"
|
||||
|
||||
[build]
|
||||
build-dir = ".mdbook-zh/book"
|
||||
build-dir = ".mdbook/book"
|
||||
create-missing = false
|
||||
|
||||
[preprocessor.openmlsys-zh]
|
||||
command = "python3 tools/mdbook_zh_preprocessor.py"
|
||||
[preprocessor.openmlsys]
|
||||
command = "python3 tools/mdbook_preprocessor.py"
|
||||
|
||||
[output.html]
|
||||
git-repository-url = "https://github.com/openmlsys/openmlsys-zh"
|
||||
|
||||
Reference in New Issue
Block a user