Skip to content

doc: ignore anchor titles in spellcheck - #848

Merged
roosterfish merged 1 commit into
canonical:mainfrom
minaelee:ignore-anchor-titles
Jul 3, 2025
Merged

doc: ignore anchor titles in spellcheck#848
roosterfish merged 1 commit into
canonical:mainfrom
minaelee:ignore-anchor-titles

Conversation

@minaelee

@minaelee minaelee commented Jul 3, 2025

Copy link
Copy Markdown

Anchor titles for intersphinx links (in the form of <a ... title="in MicroCeph vv19.2.0-squid">, for example) are affected by what other documentation sets put as the Version in their objects.inv metadata. This can cause spellcheck to fail, as seen here.

This PR prevents anchor titles from being checked in spellcheck, so that we don't have to spellcheck what intersphinx pulls into that title. Anchor titles are rarely used and this should have little to no impact otherwise.

Signed-off-by: Minae Lee <minae.lee@canonical.com>
@github-actions github-actions Bot added the Documentation Documentation needs updating label Jul 3, 2025

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

Thanks!

@roosterfish
roosterfish merged commit deecf11 into canonical:main Jul 3, 2025
15 checks passed
@roosterfish

Copy link
Copy Markdown
Contributor

I guess we can now also remove https://github.com/canonical/microcloud/blob/main/doc/.custom_wordlist.txt#L69 again from the custom wordlist?

@minaelee

minaelee commented Jul 3, 2025

Copy link
Copy Markdown
Author

I guess we can now also remove https://github.com/canonical/microcloud/blob/main/doc/.custom_wordlist.txt#L69 again from the custom wordlist?

Yep!

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

Labels

Documentation Documentation needs updating

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants