Skip to content

Conversation

@VarunNikam22
Copy link
Contributor

Fixes #134

Implement checks to ensure that URLs within download directives do not require trailing underscores, preventing unnecessary errors during validation. Also added a test with different cases of URLs within :download:

All URLs written as

:download:`Download file <https://example.com/file.pdf>`

will now not raise missing-underscore-after-hyperlink errors.

Copy link
Collaborator

@hugovk hugovk left a comment

Choose a reason for hiding this comment

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

Thanks!

@hugovk hugovk merged commit e3987be into sphinx-contrib:main Sep 15, 2025
21 checks passed
@VarunNikam22 VarunNikam22 deleted the fix-false-missing-underscore-after-hyperlink branch September 15, 2025 12:57
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.

False positive: missing underscore error for URLs in download directive

2 participants