Skip to content

Link to plaintext for "show source" links #137131

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 27, 2025
Merged

Conversation

ryan-duve
Copy link
Contributor

@ryan-duve ryan-duve commented Jul 27, 2025

@nedbat brought this up at this month's community docs meeting. The idea is if someone opts to see the raw source for the docs, they should be taken to plaintext source code, not the rendered markdown.

Not making a Github Issue because I think this change is simple enough.


📚 Documentation preview 📚: https://cpython-previews--137131.org.readthedocs.build/

@nedbat
Copy link
Member

nedbat commented Jul 27, 2025

Thanks, I started hacking on this here as well: #136246

@AA-Turner AA-Turner added needs backport to 3.13 bugs and security fixes needs backport to 3.14 bugs and security fixes labels Jul 27, 2025
@AA-Turner AA-Turner merged commit 9cbf46d into python:main Jul 27, 2025
40 checks passed
@miss-islington-app
Copy link

Thanks @ryan-duve for the PR, and @AA-Turner for merging it 🌮🎉.. I'm working now to backport this PR to: 3.13, 3.14.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jul 27, 2025
(cherry picked from commit 9cbf46d9920c269fe736ed689236d00223545f73)

Co-authored-by: ryan-duve <ryan-duve@users.noreply.github.com>
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jul 27, 2025
(cherry picked from commit 9cbf46d)

Co-authored-by: ryan-duve <ryan-duve@users.noreply.github.com>
@bedevere-app
Copy link

bedevere-app bot commented Jul 27, 2025

GH-137132 is a backport of this pull request to the 3.14 branch.

@bedevere-app bedevere-app bot removed the needs backport to 3.14 bugs and security fixes label Jul 27, 2025
@bedevere-app
Copy link

bedevere-app bot commented Jul 27, 2025

GH-137133 is a backport of this pull request to the 3.13 branch.

@bedevere-app bedevere-app bot removed the needs backport to 3.13 bugs and security fixes label Jul 27, 2025
AA-Turner pushed a commit that referenced this pull request Jul 27, 2025
Co-authored-by: ryan-duve <ryan-duve@users.noreply.github.com>
hugovk pushed a commit that referenced this pull request Jul 27, 2025
Link to plaintext for "show source" links (GH-137131)
(cherry picked from commit 9cbf46d)

Co-authored-by: ryan-duve <ryan-duve@users.noreply.github.com>
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.

3 participants