-
Notifications
You must be signed in to change notification settings - Fork 89
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
Broken xref internal links are rendered as anchors to current page #142
Labels
bug
Something isn't working
Comments
Some discussion here: https://gitlab.com/antora/antora/issues/403 |
We can collect all of the links and find those that end in |
I compiled a list of pages and broken xrefs they contain using the procedure I described in the previous comment.
|
This was referenced Mar 27, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
An incorrect internal xref link, such as
xref:upgrades::writing-contracts.adoc
instead ofxref:upgrades::writing-upgradeable.adoc
(see OpenZeppelin/openzeppelin-sdk@1b21b29) is rendered as a link tohttps://docs.openzeppelin.com/cli/2.6/dependencies#upgrades::writing-contracts.adoc#use-upgradeable-packages
.This makes it impossible to detect broken links with a
wget spider
. We should either scan for these links in the generated html, or configure the asciidoc processor so that it fails if the xref target is not found.The text was updated successfully, but these errors were encountered: