Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Detect partially-marked-up hyperlinks #62

Open
jayaddison opened this issue Apr 26, 2023 · 0 comments
Open

Detect partially-marked-up hyperlinks #62

jayaddison opened this issue Apr 26, 2023 · 0 comments

Comments

@jayaddison
Copy link

This may overlap, and/or be a duplicate of #4 - please feel free to close this if so.

Although standalone hyperlinks are valid, and hyperlinks with names are valid, between the two there's a representation that is invalid:

* Here's a standalone reST hyperlink: http://example.org/good

* Here's an invalid reST hyperlink: `http://example.org/bad`_

* Here's an valid reST hyperlink with a label: `foo <http://example.org/good>`_

sphinx-lint v0.6.7 doesn't currently detect any problems with the above, but some reST processors will refuse to process it (for example, rst2pdf, using docutils, emits: (ERROR/3) Unknown target name: "http://example.org/bad".).

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

No branches or pull requests

1 participant