Skip to content
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

bpo-46130: docs: Make link text translatable in whatsnew/3.10 #30199

Merged
merged 1 commit into from Dec 19, 2021

Conversation

rffontenelle
Copy link
Contributor

@rffontenelle rffontenelle commented Dec 19, 2021

Use :ref: to a created anchor so that the title gets automatically obtained and avoiding the need for translating (and allowing it at the same).

Note that the HTML version of the docs create an anchor for the section but I'm unable to use it with :ref:, hence I'm unable to get title text automatically.

p.s.: Please ask the bot to backport it to branch 3.10 as well.

https://bugs.python.org/issue46130

@miss-islington
Copy link
Contributor

Thanks @rffontenelle for the PR, and @Fidget-Spinner for merging it 🌮🎉.. I'm working now to backport this PR to: 3.10.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Dec 19, 2021
…honGH-30199)

This allows the title to be translated to other languages without linking problems.
(cherry picked from commit 3d3615f)

Co-authored-by: Rafael Fontenelle <rffontenelle@users.noreply.github.com>
@bedevere-bot
Copy link

GH-30201 is a backport of this pull request to the 3.10 branch.

@bedevere-bot bedevere-bot removed the needs backport to 3.10 only security fixes label Dec 19, 2021
miss-islington added a commit that referenced this pull request Dec 19, 2021
…30199)

This allows the title to be translated to other languages without linking problems.
(cherry picked from commit 3d3615f)

Co-authored-by: Rafael Fontenelle <rffontenelle@users.noreply.github.com>
@rffontenelle rffontenelle deleted the patch-3 branch December 19, 2021 20:27
brandtbucher pushed a commit to brandtbucher/cpython that referenced this pull request Dec 27, 2021
…honGH-30199)

This allows the title to be translated to other languages without linking problems.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Documentation in the Doc dir skip news
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants