Skip to content

Add bilingual MkDocs documentation site with GitHub Pages deploy - #4

Merged
KraHsu merged 1 commit into
mainfrom
docs/github-pages-bilingual
May 13, 2026
Merged

KraHsu merged 1 commit into
mainfrom
docs/github-pages-bilingual

Conversation

@KraHsu

@KraHsu KraHsu commented May 13, 2026

Copy link
Copy Markdown
Owner

The single README has outgrown its role as the project surface area expands (CLI subcommands, registries, config override grammar, project new scaffolding). Replace it with a proper docs site so each topic has a stable, linkable home and Chinese readers get parity with English.

Stack: MkDocs Material + mkdocs-static-i18n + mkdocstrings + the include-markdown plugin. English is the default at /, Chinese lives at /zh/. The API Reference is single-source, auto-generated from package docstrings under src/genelab. The contributing page inlines the root CONTRIBUTING.md so there is one source of truth.

Build and deploy run on GitHub Actions (.github/workflows/docs.yml): uv sync --extra docs --extra torch-cpu, then mkdocs build --strict, then deploy-pages. Verified locally with zero strict-mode warnings. EOF )"
git commit -m "$(cat << 'EOF'
Add bilingual MkDocs documentation site with GitHub Pages deploy

The single README has outgrown its role as the project surface area expands (CLI subcommands, registries, config override grammar, project new scaffolding). Replace it with a proper docs site so each topic has a stable, linkable home and Chinese readers get parity with English.

Stack: MkDocs Material + mkdocs-static-i18n + mkdocstrings + the include-markdown plugin. English is the default at /, Chinese lives at /zh/. The API Reference is single-source, auto-generated from package docstrings under src/genelab. The contributing page inlines the root CONTRIBUTING.md so there is one source of truth.

Build and deploy run on GitHub Actions (.github/workflows/docs.yml): uv sync --extra docs --extra torch-cpu, then mkdocs build --strict, then deploy-pages. Verified locally with zero strict-mode warnings.

The single README has outgrown its role as the project surface area
expands (CLI subcommands, registries, config override grammar, project
new scaffolding). Replace it with a proper docs site so each topic has
a stable, linkable home and Chinese readers get parity with English.

Stack: MkDocs Material + mkdocs-static-i18n + mkdocstrings + the
include-markdown plugin. English is the default at /, Chinese lives at
/zh/. The API Reference is single-source, auto-generated from package
docstrings under src/genelab. The contributing page inlines the root
CONTRIBUTING.md so there is one source of truth.

Build and deploy run on GitHub Actions (.github/workflows/docs.yml):
uv sync --extra docs --extra torch-cpu, then mkdocs build --strict,
then deploy-pages. Verified locally with zero strict-mode warnings.
EOF \)"
git commit -m "$(cat << 'EOF'
Add bilingual MkDocs documentation site with GitHub Pages deploy

The single README has outgrown its role as the project surface area
expands (CLI subcommands, registries, config override grammar, project
new scaffolding). Replace it with a proper docs site so each topic has
a stable, linkable home and Chinese readers get parity with English.

Stack: MkDocs Material + mkdocs-static-i18n + mkdocstrings + the
include-markdown plugin. English is the default at /, Chinese lives at
/zh/. The API Reference is single-source, auto-generated from package
docstrings under src/genelab. The contributing page inlines the root
CONTRIBUTING.md so there is one source of truth.

Build and deploy run on GitHub Actions (.github/workflows/docs.yml):
uv sync --extra docs --extra torch-cpu, then mkdocs build --strict,
then deploy-pages. Verified locally with zero strict-mode warnings.
@KraHsu
KraHsu merged commit 99f8e1a into main May 13, 2026
3 checks passed
@KraHsu
KraHsu deleted the docs/github-pages-bilingual branch May 14, 2026 08:51
KraHsu added a commit that referenced this pull request May 15, 2026
Add bilingual MkDocs documentation site with GitHub Pages deploy
KraHsu added a commit that referenced this pull request Jun 5, 2026
Add bilingual MkDocs documentation site with GitHub Pages deploy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant