Skip to content

Conversation

@geoffcline
Copy link
Contributor

This script analyzes all .adoc files in latest/ug/ to find broken xrefs. It processes files in parallel and detects both xref: and <<>> syntax forms, as well as multiple section ID formats including [[id]], [#id], and auto-generated IDs from section headers.

The script reports:

  • Broken cross-references with file paths and line numbers
  • Duplicate section IDs across files
  • Summary statistics

Results: Analyzed 394 files, found 3,878 section IDs and 2,241 xrefs, with only 2 broken xrefs (both placeholder examples in contribution docs).

Issue #, if available:

Description of changes:

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

This script analyzes all .adoc files in latest/ug/ to find broken xrefs.
It processes files in parallel and detects both xref: and <<>> syntax forms,
as well as multiple section ID formats including [[id]], [#id], and
auto-generated IDs from section headers.

The script reports:
- Broken cross-references with file paths and line numbers
- Duplicate section IDs across files
- Summary statistics

Results: Analyzed 394 files, found 3,878 section IDs and 2,241 xrefs,
with only 2 broken xrefs (both placeholder examples in contribution docs).
@geoffcline geoffcline requested a review from a team as a code owner November 14, 2025 05:13
@geoffcline geoffcline merged commit edaefc3 into awsdocs:mainline Nov 14, 2025
1 check was pending
tucktuck9 pushed a commit that referenced this pull request Dec 3, 2025
…les (#1167)

This script analyzes all .adoc files in latest/ug/ to find broken xrefs.
It processes files in parallel and detects both xref: and <<>> syntax forms,
as well as multiple section ID formats including [[id]], [#id], and
auto-generated IDs from section headers.

The script reports:
- Broken cross-references with file paths and line numbers
- Duplicate section IDs across files
- Summary statistics

Results: Analyzed 394 files, found 3,878 section IDs and 2,241 xrefs,
with only 2 broken xrefs (both placeholder examples in contribution docs).

Co-authored-by: Claude <noreply@anthropic.com>
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.

2 participants