Skip to content

docs: add complete English manual and automatic bilingual Wiki sync - #28

Merged
Makiras merged 2 commits into
mainfrom
ci-wiki-auto-sync
Oct 30, 2026
Merged

Makiras merged 2 commits into
mainfrom
ci-wiki-auto-sync

Conversation

@Makiras

@Makiras Makiras commented Oct 24, 2026 •

Copy link
Copy Markdown
Contributor

The user manual is currently Chinese-only and Wiki updates require a separate manual push. Provide matching Chinese and English documentation, then automatically publish validated Wiki pages after documentation reaches main.

Move the existing 48-page manual to docs/zh/ and add all 48 English counterparts in docs/en/, following the same tutorials, how-to, reference, and explanation structure. Add an English README, language switching, translated navigation, and updated absolute README links. Keep executable examples identical between languages and validate both against the tutorial source. Correct two outdated expression-capability statements in the migration guide.

The documentation workflow builds both languages and exports 99 Wiki pages: 96 content pages, a language-selection Home, sidebar, and footer. Each content page links to its counterpart and main-branch source. Checks reject missing translations, untranslated navigation, changed shared examples, and broken local links. Documentation dependencies are pinned consistently for local builds and CI.

Only validated main push/manual runs synchronize the Wiki using the built-in GITHUB_TOKEN. PRs, including dependent PRs, produce previews only. Manifest-based sync verifies hashes, preserves unrelated pages, rejects unsafe paths/manual conflicts, serializes updates, skips superseded exports, and never force-pushes. Legacy master is outside this flow.

Validation:

  • 15 documentation tooling tests passed.
  • 14 documentation/tutorial tests passed; both languages validate executable snippets and coverage APIs.
  • 96-page translation/link/code checks, strict bilingual MkDocs build, 99-page Wiki export, and actionlint passed.
  • Initial synchronization and a repeated sync succeeded against a temporary clone of the initialized Wiki.
  • GitHub Documentation workflow passed for 02346ae.

The Wiki now has its initial Home page. No additional token secret is needed; the live Wiki is not modified by this PR preview.

Dependency: #29 builds on this bilingual baseline and adds UNCERTAIN-specific Chinese and English guidance. Merge this PR first, then retarget #29 to main and revalidate it. Release classification is release:patch; the repository's merge policy can trigger a package release, so this PR remains draft and unmerged pending maintainer confirmation.

Move the 48-page Chinese manual under docs/zh and provide matching English pages, navigation, README links, and Wiki language switching. Validate translation coverage, shared examples, and links in CI. Keep UNCERTAIN outcome documentation in its dependent feature PR.
Makiras added a commit that referenced this pull request Oct 30, 2026
Merge the documentation foundation from PR #28 and keep UNCERTAIN-specific guidance in both languages with PR #29. Preserve the original feature implementation and its minor-release classification.
@Makiras Makiras changed the title ci: automatically sync validated documentation to GitHub Wiki docs: add complete English manual and automatic bilingual Wiki sync Oct 30, 2026
@Makiras
Makiras marked this pull request as ready for review October 30, 2026 08:47
@Makiras
Makiras added this pull request to stack #30 October 30, 2026 08:48
@Makiras
Makiras merged commit bb4c28a into main Oct 30, 2026
18 of 19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant