ci(docs): 🔗 add docs link check - #53
Conversation
Add lychee-based docs link checking for both source MDX (internal links) and built HTML output (including external links), and wire both checks into the documentation workflow. Update docs commands in README accordingly. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Signed-off-by: Roberto Di Remigio Eikås <robertodr@users.noreply.github.com>
|
@matteoacrossi are you still interested in getting this merged? |
…d settings.json - Exclude `/benchmarks/*` paths from lychee (public/ assets served at runtime) - Fix `settings.json` relative link to proper GitHub URL Assisted-by: GitHubCopilotCodingAgent:claude-sonnet-5 Co-authored-by: robertodr <3708689+robertodr@users.noreply.github.com>
Remove source-level docs link checking from justfile and CI, and keep a single lychee pass on built docs HTML. Also simplify README docs commands to the standalone check-doc-links recipe. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Signed-off-by: Matteo AC Rossi <9745862+matteoacrossi@users.noreply.github.com>
|
@copilot the three errors raised by lychee in the CI are false positives, add them to the ignore list. |
… check - settings.json GitHub URL: 404 until this branch merges to main - localhost:3000: dev-server example URL, never reachable in CI - link.aps.org: APS journal blocks automated crawlers with 403 Assisted-by: GitHubCopilotCodingAgent:claude-sonnet-5 Co-authored-by: matteoacrossi <9745862+matteoacrossi@users.noreply.github.com>
🤖 AI text below 🤖 Done in the latest commit. Added all three to the
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #53 +/- ##
=======================================
Coverage 97.70% 97.70%
=======================================
Files 14 14
Lines 742 742
Branches 98 98
=======================================
Hits 725 725
Misses 12 12
Partials 5 5
Flags with carried forward coverage won't be shown. Click here to find out more. |
|
Docs preview: https://pr-53.monoprop-docs.pages.dev |
Updated accepted response codes to include 403 for better handling of websites that block crawlers. Signed-off-by: Matteo AC Rossi <9745862+matteoacrossi@users.noreply.github.com>
Signed-off-by: Matteo AC Rossi <9745862+matteoacrossi@users.noreply.github.com>
|



Why
Add a link checking step to the Documentation CI, using Lychee.
What changed
docs/out/**/*.html) with external links enabled.check-doc-linksrecipe injustfile.README.mddocs commands to match the one-check flow.Notes for reviewers
check-doc-linksexpectsdocs/outto already exist (for example afterjust build-docs).