Skip to content

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

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

LamentXU123
Copy link
Contributor

@LamentXU123 LamentXU123 commented Jul 12, 2025

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.

image

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/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting review docs Documentation in the Doc dir skip news
Projects
Status: Todo
Development

Successfully merging this pull request may close these issues.

1 participant
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy