| REPOMATIC-BROKEN-LINKS(1) | REPOMATIC-BROKEN-LINKS(1) |
repomatic broken-links - Check links, and manage the broken links issue
repomatic broken-links [OPTIONS]
Check the documentation links, and manage the broken links issue.
Crawls the documentation files with lychee, then combines its report with the Sphinx linkcheck output into a single "Broken links" issue. Creates or updates the issue when a checker found broken links, and closes it when every checker that ran completed clean. A checker that did not complete leaves the issue as it is. So does a run where no checker ran. The repository name selects the labels the issue carries.
Requires the gh CLI to be authenticated. lychee reads $GITHUB_TOKEN to lift GitHub's rate limit on the links it checks there.
In GitHub Actions, most options are auto-detected: - --repo-name defaults to $GITHUB_REPOSITORY name component. - --output-json defaults to ./docs/_linkcheck/output.json if it exists. - --source-url is composed from $GITHUB_SERVER_URL, $GITHUB_REPOSITORY,
and $GITHUB_SHA when --output-json is set.
In GitHub Actions, with every default auto-detected
repomatic broken\-links
Report the Sphinx linkcheck output alone
repomatic broken\-links \-\-no\-lychee \-\-repo\-name "my\-repo"
Kevin Deldycke
| 2026-10-29 | 8.0.1.dev0 |