sphinx-doc / sphinx-doc/sphinx

Untangle Roles and Cross-referencing syntax docs

Open
#12,980 3 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

type:docs type:proposal
Dominant language
Python
Stars
8k
Forks
2.6k
PR merge metrics
No merged PRs in 30d

Description

From: https://github.com/sphinx-doc/sphinx/pull/12944#discussion_r1786968351

There's a certain overlap between Cross-referencing syntax and Roles.

The following roles are essentially cross-links but are only mentioned in "Roles": :manpage:, :pep:, :rfc:, :cve, :cwe:

Possible solution: Move them from "Roles" to "Cross-referencing syntax" and mention them in https://www.sphinx-doc.org/en/master/usage/restructuredtext/roles.html#cross-referencing-syntax.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Compare the Cross-referencing syntax and Roles pages linked in the issue, focusing on :manpage:, :pep:, :rfc:, :cve:, and :cwe:. Move or cross-reference the relevant explanations so the roles are documented with other cross-links without duplication, then build the documentation and check both sections.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.