mcts-cpu-validate Markdown tree and symlink plan¶
1. Purpose¶
This file lists the Markdown files involved in the docs-site build.
It answers two questions:
- Which Markdown files are authored directly.
- Which Markdown files are reused through symlinks instead of being rewritten.
That split matters because this project treats DRY as a hard requirement. If a Markdown file is already the authoritative source, the docs site should not create a duplicate copy.
2. Conventions¶
2.1 Naming¶
- Chinese files use
.zh.md - English files do not use an
ensuffix
2.2 Status labels¶
direct-write: a file written or maintained directlysymlink: a file that reuses another Markdown source through a symbolic link
3. Docs-site specification files already in place¶
3.1 direct-write¶
docs-site/specs/mkdocs_prd.zh.mddocs-site/specs/mkdocs_prd.mddocs-site/specs/github_action_prd.zh.mddocs-site/specs/github_action_prd.mddocs-site/specs/md_tree.zh.mddocs-site/specs/md_tree.md
These files describe the documentation project itself, not the training system spec.
4. Root README plan¶
4.1 direct-write¶
README.zh.md- source path: renamed from the current root
README.mdwithmv -
role: Chinese primary README
-
README.md - role: new English primary README for the default GitHub repository view
5. Explanatory pages to author under docs-site/docs¶
5.1 Chinese direct-write files¶
docs-site/docs/zh/index.zh.mddocs-site/docs/zh/project-overview.zh.mddocs-site/docs/zh/training-loop.zh.mddocs-site/docs/zh/data-and-recovery.zh.mddocs-site/docs/zh/developer-notes.zh.mddocs-site/docs/zh/docs-specs.zh.md
5.2 English direct-write files¶
docs-site/docs/en/index.mddocs-site/docs/en/project-overview.mddocs-site/docs/en/training-loop.mddocs-site/docs/en/data-and-recovery.mddocs-site/docs/en/developer-notes.mddocs-site/docs/en/docs-specs.mddocs-site/docs/en/configuration.mddocs-site/docs/en/step-by-step-guide.mddocs-site/docs/en/data-readme.md
6. Existing Markdown files planned as symlinks¶
These files are already authoritative sources and should be reused through symlinks.
6.1 Chinese-side symlink map¶
- source:
README.zh.md - target:
docs-site/docs/zh/readme.zh.md - source:
CONFIGURATION.md - target:
docs-site/docs/zh/configuration.zh.md - source:
STEP_BY_STEP_GUIDE.md - target:
docs-site/docs/zh/step-by-step-guide.zh.md - source:
data/README.md - target:
docs-site/docs/zh/data-readme.zh.md - source:
docs-site/specs/mkdocs_prd.zh.md - target:
docs-site/docs/zh/specs/mkdocs-prd.zh.md - source:
docs-site/specs/github_action_prd.zh.md - target:
docs-site/docs/zh/specs/github-action-prd.zh.md - source:
docs-site/specs/md_tree.zh.md - target:
docs-site/docs/zh/specs/md-tree.zh.md
6.2 English-side symlink map¶
- source:
README.md - target:
docs-site/docs/en/readme.md - source:
docs-site/specs/mkdocs_prd.md - target:
docs-site/docs/en/specs/mkdocs-prd.md - source:
docs-site/specs/github_action_prd.md - target:
docs-site/docs/en/specs/github-action-prd.md - source:
docs-site/specs/md_tree.md - target:
docs-site/docs/en/specs/md-tree.md
7. Why the English side uses entry pages plus Chinese authority sources¶
Some authoritative repository documents currently exist only in Chinese. The docs site still needs complete navigation and a DRY structure.
The rule is:
- English entry pages must exist.
- If the authority source only exists in Chinese, the English side first provides a direct-write entry page that explains the role of that document.
- If a full English authority source is added later, the entry page can be replaced by that source or a symlink to it without changing the docs-site structure.
So the English side keeps bilingual entry points without duplicating the Chinese authority files.
8. Markdown files excluded from this round¶
specs/*.md
Those files remain read-only in this task.
9. Suggested execution order¶
- Rename
README.mdtoREADME.zh.mdand add a new EnglishREADME.md - Author the explanatory docs-site pages
- Create all symlinks
- Configure MkDocs navigation for every page
- Add the GitHub Pages deployment workflow
10. Validation¶
The Markdown tree is in good shape when:
- direct-write files and symlinked files have clear boundaries
- every documentation topic has a visible entry in both language navigations
- each symlink clearly shows its source and target