Skip to content

fix: correct broken internal documentation anchor links - #592

Merged
yada merged 1 commit into
masterfrom
fix/broken-internal-anchor-links
Sep 19, 2026
Merged

yada merged 1 commit into
masterfrom
fix/broken-internal-anchor-links

Conversation

@yada

@yada yada commented Sep 18, 2026

Copy link
Copy Markdown
Member

Description

Fixes 5 internal fragment (anchor) mismatches surfaced by the external link check report in #584. These were caused by markdown links referencing anchor slugs that don't match the actual generated heading IDs (or, in one case, a heading that no longer exists).

File Old fragment New fragment
async-triggers.md #using-openapi-extensions #openapi-extensions
metadata.md #using-openapi-extensions / #using-asyncapi-extensions #openapi-extensions / #asyncapi-extensions
organizing-repository.md #repository-filtering-properties #repository-filtering
jenkins.md (4 self-references) #2-setup-the-jenkins-plugin #2-set-up-the-jenkins-plugin
stateful-mocks.md #common-use-cases (heading no longer exists in dispatching.md) #script-dispatcher (closest relevant section)

Verification

Built the site locally with hugo --minify and confirmed each generated href now points to an anchor ID that actually exists in the target page's rendered HTML (<h2/h3/h4 id=...>).

Note: this PR only fixes the internal anchor errors from the report. The external link failures (podcastaddict.com, asciinema.org) in #584 were diagnosed as false positives (bot-blocking / transient timeout), and a few others (redhat.com/ubi, barcelonajug.org, LFX old domain, a removed YouTube video) are real but external and not addressed here.

Related issue(s)

Refs #584 (not closing — please validate before merge, other items in that report remain open)

@yada please validate before merging.

@yada yada self-assigned this Sep 18, 2026
Fixes 5 internal fragment mismatches reported in the external link
check report:
- openapi-conventions#using-openapi-extensions -> #openapi-extensions
- asyncapi-conventions#using-asyncapi-extensions -> #asyncapi-extensions
- application-config#repository-filtering-properties -> #repository-filtering
- jenkins#2-setup-the-jenkins-plugin -> #2-set-up-the-jenkins-plugin (self-referencing, 4 occurrences)
- dispatching#common-use-cases -> #script-dispatcher (heading no longer exists; closest relevant section)

Verified by rebuilding the site locally with hugo and confirming each
generated anchor id matches the referenced fragment.

Refs #584

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Signed-off-by: Yacine Kheddache <yacine@microcks.io>
@yada
yada force-pushed the fix/broken-internal-anchor-links branch from 146cf6f to 91ddb6b Compare September 18, 2026 23:59
@yada
yada merged commit c2c32b0 into master Sep 19, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant