Skip to content

Fix versionadded directive rendering in c-api/arg.rst#135199

Merged
vstinner merged 1 commit intopython:mainfrom
rffontenelle:patch-6
Jun 6, 2025
Merged

Fix versionadded directive rendering in c-api/arg.rst#135199
vstinner merged 1 commit intopython:mainfrom
rffontenelle:patch-6

Conversation

@rffontenelle
Copy link
Copy Markdown
Contributor

@rffontenelle rffontenelle commented Jun 6, 2025

The lack of a blank line causes .. versionadded:: 3.14 to be considered part of the paragraph instead of a directive.

Before:
image

After:
image


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

@ZeroIntensity ZeroIntensity added the needs backport to 3.14 bugs and security fixes label Jun 6, 2025
@vstinner vstinner merged commit 39859fc into python:main Jun 6, 2025
39 checks passed
@github-project-automation github-project-automation bot moved this from Todo to Done in Docs PRs Jun 6, 2025
@miss-islington-app
Copy link
Copy Markdown

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

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jun 6, 2025
(cherry picked from commit 39859fc)

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

bedevere-app bot commented Jun 6, 2025

GH-135207 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 Jun 6, 2025
@vstinner
Copy link
Copy Markdown
Member

vstinner commented Jun 6, 2025

Merged, thanks.

vstinner pushed a commit that referenced this pull request Jun 6, 2025
…) (#135207)

Fix versionadded directive rendering in c-api/arg.rst (GH-135199)
(cherry picked from commit 39859fc)

Co-authored-by: Rafael Fontenelle <rffontenelle@users.noreply.github.com>
@rffontenelle rffontenelle deleted the patch-6 branch June 21, 2025 01:40
Pranjal095 pushed a commit to Pranjal095/cpython that referenced this pull request Jul 12, 2025
taegyunkim pushed a commit to taegyunkim/cpython that referenced this pull request Aug 4, 2025
Agent-Hellboy pushed a commit to Agent-Hellboy/cpython that referenced this pull request Aug 19, 2025
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 issue skip news

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants