Skip to content

Commit a3ac113

Browse files
committed
Add check-published-links tool (v0.1.38)
New tool that wraps linkchecker to validate links on published HTML documentation with: - URL rewriting for misresolved paths on documentation platforms - Smart false positive handling (host:port placeholders, Maven Central 403s) - Configuration file support with [settings], [ignore-patterns], and [rewrite-rules] sections - Single URL and bulk validation modes - Detailed reports with error categorization - Configurable timeout and reports directory Requires linkchecker to be installed separately.
1 parent 704035a commit a3ac113

File tree

5 files changed

+1467
-5
lines changed

5 files changed

+1467
-5
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,8 @@ doc-utils --version # Show version
6161

6262
| Tool | Description | Usage |
6363
|------|-------------|-------|
64-
| **`validate-links`** | Validates all links in documentation, with URL transposition for preview environments | `validate-links --transpose "https://prod--https://preview"` |
64+
| **`validate-links`** | Validates links in AsciiDoc source files, with URL transposition for preview environments | `validate-links --transpose "https://prod--https://preview"` |
65+
| **`check-published-links`** | Validates links on published HTML docs using linkchecker, with URL rewriting for misresolved paths | `check-published-links https://docs.example.com/guide/` |
6566
| **`extract-link-attributes`** | Extracts link/xref macros with attributes into reusable definitions | `extract-link-attributes --dry-run` |
6667
| **`replace-link-attributes`** | Resolves Vale LinkAttribute issues by replacing attributes in link URLs | `replace-link-attributes --dry-run` |
6768
| **`format-asciidoc-spacing`** | Standardizes spacing after headings and around includes | `format-asciidoc-spacing --dry-run modules/` |

0 commit comments

Comments
 (0)