Commit 05f727b
* feat(docs): add markdown-link-check to docs CI (#259)
Adds a broken-link checker that validates internal cross-references and
external URLs across all Markdown sources at PR time, preventing silent
link rot in documentation that also serves as agent context.
* fix(ci): use correct actions/setup-node SHA (v6.4.0)
* fix(docs): correct broken anchor in WORKFLOWS.md
The link #domain--requiresrepo was missing the underscore; the heading
renders as #domain--requires_repo.
* fix(docs): address PR review — harden link-check and wire into drift-prevention
Remove dedicated link-check CI job from docs.yml and wire it into the
existing drift-prevention task so it runs as part of every build. Harden
the script with pipefail, temp-file approach, min-file-count assertion,
and xargs -r. Fix dead aws-cdk link in ADR-002, narrow npmjs ignore to
package paths only, drop 3xx from aliveStatusCodes, and document the
^link$ ignore pattern.
* fix(docs): regenerate Starlight mirror for ADR-002 link update
* fix(docs): correct link-check CI description to reflect drift-prevention
The check runs on every PR via the build's drift-prevention step, not
only on PRs that touch documentation.
* chore(docs): address non-blocking review suggestions
- Remove dead replacementPatterns block ({{BASEURL}} was never defined)
- Use find -print0 + xargs -0 for space-safe path handling
- Add scope comment to link-check task documenting what is/isn't scanned
- Broaden drift-prevention description to cover documentation links
* fix(docs): use npm command instead of mise in link-check script
Extract link-check logic into docs/scripts/link-check.sh and have both
package.json and mise.toml delegate to it, removing the circular mise
dependency from the npm script.
* fix(docs): scope link-check to internal links only
External http(s) URLs are now ignored so network/bot-block flakiness
cannot fail an unrelated PR, since the gate runs on every build via
drift-prevention. Removes aliveStatusCodes and the now-dead external
retry/header options, and updates the Developer Guide to match.
* fix(docs): align Workflows.md mirror anchor with sync output
---------
Co-authored-by: bgagent <bgagent@noreply.github.com>
Co-authored-by: Alain Krok <alkrok@amazon.com>
Co-authored-by: ayushtr-aws <ayushtr@amazon.com>
Co-authored-by: Sphia Sadek <isadeks@gmail.com>
1 parent 6edfe87 commit 05f727b
12 files changed
Lines changed: 276 additions & 12 deletions
File tree
- docs
- decisions
- design
- guides
- scripts
- src/content/docs
- architecture
- decisions
- developer-guide
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
71 | | - | |
| 71 | + | |
72 | 72 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
478 | 478 | | |
479 | 479 | | |
480 | 480 | | |
481 | | - | |
| 481 | + | |
482 | 482 | | |
483 | 483 | | |
484 | 484 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
373 | 373 | | |
374 | 374 | | |
375 | 375 | | |
| 376 | + | |
| 377 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
482 | 482 | | |
483 | 483 | | |
484 | 484 | | |
485 | | - | |
| 485 | + | |
486 | 486 | | |
487 | 487 | | |
488 | 488 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
75 | | - | |
| 75 | + | |
76 | 76 | | |
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments