Skip to content

Docs for some C struct members repeat the struct name #97908

Description

@encukou

The members of PyType_Spec are documented as e.g. PyType_Spec.PyType_Spec.name:
image
This makes it cumbersome to link to them.
Fixing this will probably break URLs.

Linked PRs

Activity

  1. CAM-Gerlach commented on Oct 5, 2022

    @CAM-Gerlach
    Member

    To note, in that issue the fragments visible to external links will change, unless we add ref target labels with the old name (which will generate anchors for them).

  2. encukou commented on Dec 6, 2022

    @encukou
    MemberAuthor

    :ref: targets will not work, since Sphinx rewrites them (converts dots to dashes &c.)
    I cant's see a better way to add old fragments than raw:: html. I guess this is HTML-specific, or at least hypertext-specific.

  3. added a commit that references this issue on May 29, 2023
  4. added a commit that references this issue on May 29, 2023
  5. added a commit that references this issue on Jun 5, 2023
  6. hauntsaninja commented on Sep 7, 2023

    @hauntsaninja
    Contributor

    Looks like this was completed, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    docsDocumentation in the Doc dir

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions