ctargett / refguide-asciidoc-poc

Proof of concept of Solr Ref Guide converted to asciidoc format & using Asciidoctor for publishing
2 stars 4 forks source link

build process should fail if there are links w/o #frag *OR* anchors w/same name in multiple docs #38

Closed hossman closed 7 years ago

hossman commented 7 years ago

spun off of #6...

the 2 remaining problems i can think of could be solved by some ant tricks to scan the files and fail the build if...

1 it finds a link that doesn't mention an anchor 2 the same anchor name is used in more then one file

...both of which would be things the user who just added the link/anchor could fix.

w/o checks like this, the user could add links or anchors that might look ok in the HTML version of the ref guide, but would be broken in the PDF version.