gh-157517: Docs: don't copy HTML sources, fix sidebar sources links - #157522
Merged
Merged
Conversation
Hide translation links on dev version.
m-aciek
requested review from
AA-Turner,
StanFromIreland and
hugovk
as code owners
September 14, 2026 19:41
This comment was marked as resolved.
This comment was marked as resolved.
Member
|
You'll have to update your branch to fix the CI. |
Contributor
Author
|
Thanks, merged main. |
Co-authored-by: Stan Ulbrych <stan@python.org>
Documentation build overview
|
Simplification, there's no need to rely on html_show_sourcelink Sphinx configuration
|
Thanks @m-aciek for the PR, and @StanFromIreland for merging it 🌮🎉.. I'm working now to backport this PR to: 3.13, 3.14, 3.15. |
|
GH-157567 is a backport of this pull request to the 3.15 branch. |
|
Sorry, @m-aciek and @StanFromIreland, I could not cleanly backport this to |
|
GH-157568 is a backport of this pull request to the 3.14 branch. |
hugovk
pushed a commit
that referenced
this pull request
Sep 15, 2026
hugovk
pushed a commit
that referenced
this pull request
Sep 15, 2026
|
GH-157570 is a backport of this pull request to the 3.13 branch. |
StanFromIreland
added a commit
that referenced
this pull request
Sep 15, 2026
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.
Closes #157517.
html_copy_source = False)pt-br./dev/URL). This way we avoid exposing a new variable indocsbuild-scriptsor extra logic just for this link correctness.docsbuild-scripts. The implementation serves correctly ~90% of cases.