X Tutup
Skip to content

update the link guidance now that we suppress them automatically#1762

Open
nedbat wants to merge 4 commits intopython:mainfrom
nedbat:nedbat/link-update
Open

update the link guidance now that we suppress them automatically#1762
nedbat wants to merge 4 commits intopython:mainfrom
nedbat:nedbat/link-update

Conversation

@nedbat
Copy link
Member

@nedbat nedbat commented Mar 8, 2026

No description provided.

@read-the-docs-community
Copy link

read-the-docs-community bot commented Mar 8, 2026

Documentation build overview

📚 CPython devguide | 🛠️ Build #31741104 | 📁 Comparing d5817ce against latest (5a4dd49)


🔍 Preview build

Show files changed (4 files in total): 📝 4 modified | ➕ 0 added | ➖ 0 deleted
File Status
versions/index.html 📝 modified
developer-workflow/development-cycle/index.html 📝 modified
development-tools/clinic/index.html 📝 modified
documentation/style-guide/index.html 📝 modified

@nedbat nedbat force-pushed the nedbat/link-update branch from 7daa59f to 1e248aa Compare March 9, 2026 10:30
Comment on lines +196 to +201
We use the `linklint Sphinx extension`__ to suppress two kinds of excessive
links: references in a section to itself and duplicate references in a
paragraph. Previously, editors had to carefully use an exclamation mark in a
Sphinx reference (``:func:`!map```) to prevent such links.

__ https://pypi.org/project/linklint/
Copy link
Member

Choose a reason for hiding this comment

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

I think we could move this para to the end of this section (just before the "Affirmative tone" header)?

So we lead with do/don't advice for the writer, and end with info about what the Sphinx extension does automatically.

Copy link
Member Author

Choose a reason for hiding this comment

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

I didn't want to tell writers to use explicit suppression and then later say it was done automatically. I've adjusted the paragraph a bit.

@nedbat nedbat force-pushed the nedbat/link-update branch from 8631762 to d5817ce Compare March 10, 2026 11:51
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

X Tutup