Skip to content

gh-107298: Fix Sphinx warnings in the C API doc - #107302

Merged
vstinner merged 1 commit into
python:mainfrom
vstinner:fix_doc2
Jul 26, 2023
Merged

vstinner merged 1 commit into
python:mainfrom
vstinner:fix_doc2

Conversation

@vstinner

@vstinner vstinner commented Jul 26, 2023 •

Copy link
Copy Markdown
Member

@Fidget-Spinner Fidget-Spinner left a comment •

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Everything LGTM except for one comment I have.

I have cross referenced the preview docs with the current one in 3.12

Comment thread Doc/c-api/buffer.rst Resolved

@serhiy-storchaka serhiy-storchaka left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mostly LGTM.

Comment thread Doc/c-api/buffer.rst Resolved
Comment thread Doc/c-api/tuple.rst Resolved
Comment thread Doc/c-api/type.rst Resolved
Comment thread Doc/c-api/unicode.rst Resolved
Comment thread Doc/c-api/unicode.rst Resolved
@vstinner

Copy link
Copy Markdown
Member Author

@serhiy-storchaka: I updated my PR, would you mind to review the updated PR?

@serhiy-storchaka serhiy-storchaka left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM after fixing the duplicated link.

Comment thread Doc/c-api/buffer.rst Resolved

@CAM-Gerlach CAM-Gerlach left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Aside from the remaining issue in Doc/c-api/tuple.rst that should either be fixed (I help via a commit to your branch if you want, since its basically a mechanical task) or removed from .nitignore, and Serhiy's one comment, LGTM, thanks—excellent work here, @vstinner !

Comment thread Doc/c-api/buffer.rst Resolved
Comment thread Doc/tools/.nitignore Resolved
* Update Doc/tools/.nitignore
* Fix BufferedIOBase.write() link in buffer.rst
@vstinner
vstinner merged commit 391e03f into python:main Jul 26, 2023
@vstinner
vstinner deleted the fix_doc2 branch July 26, 2023 23:41
jtcave pushed a commit to jtcave/cpython that referenced this pull request Jul 27, 2023
* Update Doc/tools/.nitignore
* Fix BufferedIOBase.write() link in buffer.rst
@serhiy-storchaka serhiy-storchaka added needs backport to 3.11 only security fixes needs backport to 3.12 only security fixes labels Jul 28, 2023
@miss-islington

Copy link
Copy Markdown
Contributor

Thanks @vstinner for the PR 🌮🎉.. I'm working now to backport this PR to: 3.11.
🐍🍒⛏🤖

@miss-islington

Copy link
Copy Markdown
Contributor

Thanks @vstinner for the PR 🌮🎉.. I'm working now to backport this PR to: 3.12.
🐍🍒⛏🤖

@miss-islington

Copy link
Copy Markdown
Contributor

Sorry, @vstinner, I could not cleanly backport this to 3.11 due to a conflict.
Please backport using cherry_picker on command line.
cherry_picker 391e03fa05b80d17a14ac88d30c974fa2fa00adb 3.11

@miss-islington

Copy link
Copy Markdown
Contributor

Sorry, @vstinner, I could not cleanly backport this to 3.12 due to a conflict.
Please backport using cherry_picker on command line.
cherry_picker 391e03fa05b80d17a14ac88d30c974fa2fa00adb 3.12

serhiy-storchaka pushed a commit to serhiy-storchaka/cpython that referenced this pull request Jul 28, 2023
…H-107302)

* Update Doc/tools/.nitignore
* Fix BufferedIOBase.write() link in buffer.rst.
(cherry picked from commit 391e03f)

Co-authored-by: Victor Stinner <vstinner@python.org>
@bedevere-bot

Copy link
Copy Markdown

GH-107373 is a backport of this pull request to the 3.11 branch.

@bedevere-bot bedevere-bot removed the needs backport to 3.11 only security fixes label Jul 28, 2023
serhiy-storchaka pushed a commit to serhiy-storchaka/cpython that referenced this pull request Jul 28, 2023
…H-107302)

* Update Doc/tools/.nitignore
* Fix BufferedIOBase.write() link in buffer.rst.
(cherry picked from commit 391e03f)

Co-authored-by: Victor Stinner <vstinner@python.org>
@bedevere-bot

Copy link
Copy Markdown

GH-107375 is a backport of this pull request to the 3.12 branch.

@bedevere-bot bedevere-bot removed the needs backport to 3.12 only security fixes label Jul 28, 2023
serhiy-storchaka added a commit that referenced this pull request Jul 28, 2023
…H-107375)

(cherry picked from commit 391e03f)

Co-authored-by: Victor Stinner <vstinner@python.org>
serhiy-storchaka added a commit that referenced this pull request Jul 28, 2023
…H-107373)

(cherry picked from commit 391e03f)

Co-authored-by: Victor Stinner <vstinner@python.org>
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

6 participants