Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[3.11] gh-101845: pyspecific: Fix i18n for availability directive (GH-101846)#101852

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged

Conversation

miss-islington
Copy link
Contributor

@miss-islingtonmiss-islington commentedFeb 12, 2023
edited by bedevere-bot
Loading

pyspecific: Fix i18n for availability directive

If the directive has content, the previous code would nest paragraph
nodes from that content inside a general paragraph node, which confuses
Sphinx and leads it to drop the content when translating. Instead, use a
container node for the body.

Also use set_source_info so that any warnings have location info.
(cherry picked from commit6ef6915)

Co-authored-by: Jean Abou-Samrajean@abou-samra.fr

…honGH-101846)pyspecific: Fix i18n for availability directiveIf the directive has content, the previous code would nest paragraphnodes from that content inside a general paragraph node, which confusesSphinx and leads it to drop the content when translating. Instead, use acontainer node for the body.Also use set_source_info so that any warnings have location info.(cherry picked from commit6ef6915)Co-authored-by: Jean Abou-Samra <jean@abou-samra.fr>
@miss-islingtonmiss-islington merged commit1b73683 intopython:3.11Feb 12, 2023
@miss-islingtonmiss-islington deleted the backport-6ef6915-3.11 branchFebruary 12, 2023 17:28
JulienPalard added a commit to python/python-docs-fr that referenced this pull requestFeb 12, 2023
Pourpython/cpython#101852Reviewed-on:https://git.afpy.org/AFPy/python-docs-fr/pulls/34Co-authored-by: Julien Palard <julien@palard.fr>Co-committed-by: Julien Palard <julien@palard.fr>
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@JulienPalardJulienPalardJulienPalard approved these changes

Assignees
No one assigned
Labels
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

4 participants
@miss-islington@JulienPalard@bedevere-bot@jeanas

[8]ページ先頭

©2009-2025 Movatter.jp