Skip to content

Test/fragment anchor validation#2713

Draft
holly-cummins wants to merge 2 commits into
quarkusio:mainfrom
holly-cummins:test/fragment-anchor-validation
Draft

Test/fragment anchor validation#2713
holly-cummins wants to merge 2 commits into
quarkusio:mainfrom
holly-cummins:test/fragment-anchor-validation

Conversation

@holly-cummins

Copy link
Copy Markdown
Contributor

Marking as draft, because this is red! Which is good!

I mean, it's bad that it's red, but it's found problems that need fixing before it can merge. This tests #anchor in pages, rather than just the top level page. Bad anchors won't cause a 404, but they're sloppy – and easy to get wrong. (I'm surprised our adoc doesn't pick them, is there a strictness setting we need to be changing?)

holly-cummins and others added 2 commits June 12, 2026 10:51
Compare the built site against the gh-pages branch to find changed
HTML files. When 15 or fewer pages changed and no build infrastructure
files were modified, run the link crawler only on those pages (depth-1
check). This avoids a full-site crawl on small PRs.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Crawls internal pages and verifies that #fragment targets exist as
element IDs on the destination page. Uses the same test.crawl.*
properties as LinkCrawlerTest so both tests share the same Maven
command line, including incremental mode from changed-paths.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@holly-cummins holly-cummins marked this pull request as draft June 12, 2026 10:42
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

Successfully merging this pull request may close these issues.

1 participant