Skip to content

Conversation

@hugovk
Copy link
Member

@hugovk hugovk commented Jul 15, 2024

We can replace the custom roles used for cpy-file and gh-label with extlinks, which removes a fair amount of code. One thing, though, the custom roles had code formatting, and extlinks have no special formatting by default.

However, with the newly-released Sphinx 7.4.0, a unique class is added to each extlink, so we can now add our own styling.


📚 Documentation preview 📚: https://cpython-devguide--1351.org.readthedocs.build/

@AA-Turner AA-Turner merged commit 47e18d9 into python:main Jul 16, 2024
@hugovk hugovk deleted the replace-custom-roles-with-extlinks branch July 16, 2024 05:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants