Skip to content

False positive: missing underscore error for URLs in download directive #134

@VarunNikam22

Description

@VarunNikam22

Description

Sphinx-lint incorrectly reports a "missing-underscore-after-hyperlink" error for URLs used within inline download directives, even though these URLs are properly formatted and don't require trailing underscores according to reST syntax.

Expected Behavior

Sphinx-lint should recognize that URLs within download directives are valid and not require trailing underscores, as they are not inline link references.

:download:`filename.txt <https://example.com/file.txt>`

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions