FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

gh-101100: Fix sphinx warnings in `Doc/library/platform.rst` by LamentXU123 · Pull Request #136562 · python/cpython · GitHub

Repository navigation

gh-101100: Fix sphinx warnings in Doc/library/platform.rst - #136562

Merged
serhiy-storchaka merged 2 commits into
python:mainfrom
LamentXU123:fix-referrence-in-platform
Jul 12, 2025
Merged

serhiy-storchaka merged 2 commits into
python:mainfrom
LamentXU123:fix-referrence-in-platform

Conversation

LamentXU123 commented Jul 12, 2025 •
edited by github-actions Bot
Loading

Copy link
Copy Markdown
Contributor

There are two warnings:

C:\Users\admin\Downloads\cpython-main\Doc\library\platform.rst:178: WARNING: py:attr reference target not found: sysname [ref.attr]
C:\Users\admin\Downloads\cpython-main\Doc\library\platform.rst:178: WARNING: py:attr reference target not found: nodename [ref.attr]

The original rst file is:

   Note: the first two attribute names differ from the names presented by
   :func:`os.uname`, where they are named :attr:`sysname` and
   :attr:`nodename`.

The Doc of func os.uname indicates that sysname and nodename is it's attr.

Since we've already got a ref to func os.uname, I suggest we can subpress those two links.


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

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.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Since we've already got a ref to func os.uname, I suggest we can subpress those two links.

Agree. LGTM.

serhiy-storchaka merged commit 47b01da into python:main Jul 12, 2025
github-project-automation Bot moved this from Todo to Done in Docs PRs Jul 12, 2025
serhiy-storchaka added needs backport to 3.13 only security fixes needs backport to 3.14 bugs and security fixes labels Jul 12, 2025

Copy link
Copy Markdown

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

Copy link
Copy Markdown

Thanks @LamentXU123 for the PR, and @serhiy-storchaka for merging it 🌮🎉.. I'm working now to backport this PR to: 3.13.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jul 12, 2025
…honGH-136562)

(cherry picked from commit 47b01da)

Co-authored-by: Weilin Du <108666168+LamentXU123@users.noreply.github.com>
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jul 12, 2025
…honGH-136562)

(cherry picked from commit 47b01da)

Co-authored-by: Weilin Du <108666168+LamentXU123@users.noreply.github.com>

bedevere-app Bot commented Jul 12, 2025

Copy link
Copy Markdown

GH-136597 is a backport of this pull request to the 3.14 branch.

bedevere-app Bot removed the needs backport to 3.14 bugs and security fixes label Jul 12, 2025

bedevere-app Bot commented Jul 12, 2025

Copy link
Copy Markdown

GH-136598 is a backport of this pull request to the 3.13 branch.

bedevere-app Bot removed the needs backport to 3.13 only security fixes label Jul 12, 2025
serhiy-storchaka pushed a commit that referenced this pull request Jul 12, 2025
…-136562) (GH-136597)

(cherry picked from commit 47b01da)

Co-authored-by: Weilin Du <108666168+LamentXU123@users.noreply.github.com>
serhiy-storchaka pushed a commit that referenced this pull request Jul 12, 2025
…-136562) (GH-136598)

(cherry picked from commit 47b01da)

Co-authored-by: Weilin Du <108666168+LamentXU123@users.noreply.github.com>
kumaraditya303 pushed a commit to miss-islington/cpython that referenced this pull request Sep 9, 2025
…st (pythonGH-136562) (pythonGH-136597)

(cherry picked from commit 47b01da)

Co-authored-by: Weilin Du <108666168+LamentXU123@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants


Back | FazBrowse Home | New Git URL