ci: publish Vietnamese Python 3.14 docs to GitHub Pages#1
Merged
Conversation
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
.github/workflows/deploy-pages.ymlthat builds the CPython 3.14 documentation with the Vietnamese (vi) translation and deploys the HTML output to GitHub Pages.python/cpython@3.14→make venvinDoc/→ checkout this repo's3.14branch (the.pocatalogs) intoDoc/locales/vi/LC_MESSAGES→make html SPHINXOPTS="-D language='vi' --keep-going"→configure-pages→upload-pages-artifact→deploy-pages.masteror3.14and onworkflow_dispatch. Uses the standardgithub-pagesenvironment withpages: write+id-token: write.Notes
-W(used bytest-build.yml) so warnings from partially-translated strings don't block publish.Test plan
tamnd/python-docs-vi.Deploy Pagesworkflow run goes green.bugs.html,tutorial/*).workflow_dispatchafter the nexttransifex-pullrun to confirm the translation updates flow through to Pages.