Add Chinese (zh-CN) localization and adjust deployment metadata and workflow. Translated README and extensive src content to Chinese, updated book.toml (language, title, description, authors, git-repository-url, and edit-url-template pointing to translate/zh-cn), and switched the GitHub Pages deploy workflow to trigger on translate/**. Prepares the repo to host and deploy the zh-CN translation and route edit links to the translation branch.
19 lines
612 B
TOML
19 lines
612 B
TOML
[book]
|
|
authors = ["Leclowndu93150", "OpenAI Codex", "Gugle", "Deepseek"]
|
|
language = "zh-CN"
|
|
src = "src"
|
|
title = "1.21.1至26.1迁移指南"
|
|
description = "针对从1.21.1迁移至26.1版本的主题索引式NeoForge迁移指南与上游基础教程存档。"
|
|
|
|
[output.html]
|
|
default-theme = "navy"
|
|
preferred-dark-theme = "navy"
|
|
git-repository-url = "https://github.com/Gu-ZT/Porting-Primers"
|
|
site-url = "/Porting-Primers/"
|
|
edit-url-template = "https://github.com/Gu-ZT/Porting-Primers/edit/translate/zh-cn/{path}"
|
|
no-section-label = true
|
|
additional-css = ["theme/gitbook.css"]
|
|
|
|
[output.html.search]
|
|
enable = true
|