-
Notifications
You must be signed in to change notification settings - Fork 480
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
Fix linkcheck
for docstrings
#2330
Conversation
This solves the problem that links inside docstrings were not being checked. As soon as this is merged and released, I'll be able to address JuliaDocs/DocumenterCitations.jl#58 I haven't done any of the further refactoring that I proposed #2329 (comment). It's probably best to keep this PR minimal and get it out the door. Maybe I can do the refactoring in a separate PR at some point in the future. The tests I've included in this PR are okay because I'm testing with non-existent domains, which are always going to fail (even if the CI doesn't have network access). If we wanted to do more elaborate testing of the |
ac62228
to
6c474d4
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Thanks for catching this! This is a pretty bad regression.
As for the refactoring: yea, I think it would be better to do that in a separate PR, as not to tangle up the fix and refactor.
5058db1
to
14f882f
Compare
The test in `test/docstring_links/make.jl` now longer runs are part of the standard test suite. Instead, CI runs it independently, in the `linkcheck` step.
Okay, should be good for merging or further review. The coverage went down from moving the test into |
LGTM, thanks @goerz! |
Dispatch
Documenter.linkcheck
on the type ofnode.element
, allowing it to process aDocumenter.DocsNode
Closes #2329