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

gh-101100: Fix sphinx warnings in asyncio-task.rst #114469

Merged
merged 2 commits into from
Jan 24, 2024

Conversation

sobolevn
Copy link
Member

@sobolevn sobolevn commented Jan 23, 2024

It used to be:

/Users/sobolev/Desktop/cpython2/Doc/library/asyncio-task.rst:837: WARNING: py:const reference target not found: FIRST_COMPLETED
/Users/sobolev/Desktop/cpython2/Doc/library/asyncio-task.rst:840: WARNING: py:const reference target not found: FIRST_EXCEPTION
/Users/sobolev/Desktop/cpython2/Doc/library/asyncio-task.rst:840: WARNING: py:const reference target not found: ALL_COMPLETED
/Users/sobolev/Desktop/cpython2/Doc/library/asyncio-task.rst:846: WARNING: py:const reference target not found: ALL_COMPLETED

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

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Copy link
Member

@hugovk hugovk left a comment

Choose a reason for hiding this comment

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

Thanks!

Copy link
Member

@serhiy-storchaka serhiy-storchaka left a comment

Choose a reason for hiding this comment

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

LGTM.

The drawback is that it renders the module name together with the constant name. But I think that it is not a big deal here. It may be a problem for longer names.

Copy link
Contributor

@willingc willingc left a comment

Choose a reason for hiding this comment

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

Thanks @sobolevn. 🚢

@hugovk hugovk merged commit 1e4f00e into python:main Jan 24, 2024
25 checks passed
@miss-islington-app
Copy link

Thanks @sobolevn for the PR, and @hugovk for merging it 🌮🎉.. I'm working now to backport this PR to: 3.11, 3.12.
🐍🍒⛏🤖

@miss-islington-app
Copy link

Sorry, @sobolevn and @hugovk, I could not cleanly backport this to 3.12 due to a conflict.
Please backport using cherry_picker on command line.

cherry_picker 1e4f00ebd8db44a031b61eed0803b4c3d731aed7 3.12

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jan 24, 2024
…114469)

(cherry picked from commit 1e4f00e)

Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
@bedevere-app
Copy link

bedevere-app bot commented Jan 24, 2024

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

@bedevere-app bedevere-app bot removed the needs backport to 3.11 only security fixes label Jan 24, 2024
hugovk pushed a commit to hugovk/cpython that referenced this pull request Jan 24, 2024
…thonGH-114469)

(cherry picked from commit 1e4f00e)

Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
@bedevere-app
Copy link

bedevere-app bot commented Jan 24, 2024

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

@bedevere-app bedevere-app bot removed the needs backport to 3.12 bug and security fixes label Jan 24, 2024
hugovk pushed a commit that referenced this pull request Jan 24, 2024
… (#114518)

Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
hugovk pushed a commit to hugovk/cpython that referenced this pull request Jan 24, 2024
…thonGH-114469)

(cherry picked from commit 1e4f00e)

Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
hugovk added a commit that referenced this pull request Jan 24, 2024
… (#114519)

Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
aisk pushed a commit to aisk/cpython that referenced this pull request Feb 11, 2024
…4469)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Glyphack pushed a commit to Glyphack/cpython that referenced this pull request Sep 2, 2024
…4469)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
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.

5 participants