Skip to content

ci: publish Vietnamese Python 3.14 docs to GitHub Pages#1

Merged
tamnd merged 1 commit into
masterfrom
deploy-pages
Apr 19, 2026
Merged

ci: publish Vietnamese Python 3.14 docs to GitHub Pages#1
tamnd merged 1 commit into
masterfrom
deploy-pages

Conversation

@tamnd
Copy link
Copy Markdown
Owner

@tamnd tamnd commented Apr 19, 2026

Summary

  • Add .github/workflows/deploy-pages.yml that builds the CPython 3.14 documentation with the Vietnamese (vi) translation and deploys the HTML output to GitHub Pages.
  • Pipeline: checkout python/cpython@3.14make venv in Doc/ → checkout this repo's 3.14 branch (the .po catalogs) into Doc/locales/vi/LC_MESSAGESmake html SPHINXOPTS="-D language='vi' --keep-going"configure-pagesupload-pages-artifactdeploy-pages.
  • Triggers on push to master or 3.14 and on workflow_dispatch. Uses the standard github-pages environment with pages: write + id-token: write.

Notes

  • Drops -W (used by test-build.yml) so warnings from partially-translated strings don't block publish.
  • Pages source must be set to "GitHub Actions" in repo Settings → Pages before the first deploy will succeed.

Test plan

  • Enable GitHub Pages (source: GitHub Actions) for tamnd/python-docs-vi.
  • Merge this PR and confirm the Deploy Pages workflow run goes green.
  • Open the deployed URL and verify the landing page renders with Vietnamese strings where translations exist (e.g. bugs.html, tutorial/*).
  • Trigger workflow_dispatch after the next transifex-pull run to confirm the translation updates flow through to Pages.

Builds the CPython 3.14 docs with vi translations and publishes the
rendered HTML to GitHub Pages. Mirrors test-build.yml but runs the
configure-pages/upload-pages-artifact/deploy-pages action pipeline on
pushes to master and 3.14.
@tamnd tamnd merged commit a1e41f6 into master Apr 19, 2026
0 of 4 checks passed
@tamnd tamnd deleted the deploy-pages branch April 19, 2026 12:21
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