Skip to content

Add PyPI extlink alias - #2041

Merged
rgommers merged 5 commits into
pypa:mainfrom
Herrtian:add-pypi-extlink
Nov 18, 2026
Merged

rgommers merged 5 commits into
pypa:mainfrom
Herrtian:add-pypi-extlink

Conversation

@Herrtian

@Herrtian Herrtian commented May 4, 2026 •

Copy link
Copy Markdown
Contributor

Adds the requested PyPI extlinks alias, so docs can use the :pypi: role for links to project pages.

I kept this to the alias itself and did not do any broad link rewrite in the same change.

Checks:

  • git diff --check
  • uv run --with pre-commit pre-commit run --files source/conf.py
  • uv run --with nox nox -s build

Fixes #1370


📚 Documentation preview 📚: https://python-packaging-user-guide--2041.org.readthedocs.build/en/2041/

@webknjaz webknjaz 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.

Please, integrate sphinx-issues instead, as discussed in the linked issue, and replace respective links across the docs.

Comment thread source/conf.py Resolved
@webknjaz
webknjaz dismissed their stale review September 9, 2026 16:20

The previous request has been implemented, there's a new one pending, though.

@webknjaz webknjaz added the type: task Something that needs to be done that is not a bug or feature label Sep 9, 2026
@webknjaz

webknjaz commented Sep 9, 2026

Copy link
Copy Markdown
Member

@Herrtian thanks for working on this! Looks like there's small cleanup of unused vars left to do in conf.py. Do you think you could complete it? I think we can merge this right after.

@rgommers rgommers added type: maintenance Regular maintenance of the guide, CI and repo and removed type: task Something that needs to be done that is not a bug or feature labels Nov 10, 2026
Resolve conflicts using the current dependency versions and page removals from main while preserving the PyPI link migration. Keep the updated project URLs, Pipfile links, and PyPI search URL.
Address the review comment by removing three GitHub URL variables made obsolete by sphinx-issues. Convert five remaining ordinary PyPI project links, including links added or rewrapped on main, while retaining release-specific URLs and literal examples.
Use the current release with explicit Python 3.14 support. Its removal of implicit repository detection does not affect our explicit issues_default_group_project setting.

Validated with pixi run build and checked that PyPI role inputs remain escaped in rendered HTML.

@rgommers rgommers left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This looks like a useful improvement indeed. I merged main, resolving the merge conflicts, and then addressed the remaining review comment to clean up conf.py and bumped sphinx-issues to the latest version (checked that that looks good and the major version bump didn't introduce issues). So in it goes. Thanks @Herrtian and @webknjaz

@rgommers
rgommers added this pull request to the merge queue Nov 18, 2026
Merged via the queue into pypa:main with commit 5ecbc0d Nov 18, 2026
6 of 7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: maintenance Regular maintenance of the guide, CI and repo

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add extlinks alias for PyPI

3 participants