Sign inSign up

pt9912/d-check

By pt9912

•Updated 1 day ago

Deterministic, network-free reference gate for Markdown repos: links, anchors, IDs, quotes.

Image
Developer tools
1

2.2K

pt9912/d-check repository overview

⁠d-check

A deterministic, network-free reference gate for Markdown repositories. d-check checks whether a documentation's references hold: local links and images, heading anchors, identifier link obligations, permitted reference directions, paths in inline code, verbatim quotes against their source — and reports what does not hold. It repairs nothing and never writes into the checked repository.

⁠Usage

docker run --rm -v "$PWD:/repo:ro" pt9912/d-check:v0.86.1

The mounted directory is checked as /repo; CLI options are appended. The process runs as non-root, and a read-only mount is sufficient.

docker run --rm -v "$PWD:/repo:ro" pt9912/d-check:v0.86.1 --enable ids --disable external

⁠Exit codes

CodeMeaning
0no findings
1findings reported
2usage or configuration error (including: nothing mounted at /repo)

⁠Reproducible runs

For CI, pin to the digest rather than to a moving tag. This image is a mirror of ghcr.io/pt9912/d-check — the same image, not a second build: the index digest is identical on both registries, and the release pipeline verifies it after the push — a digest pin taken from GHCR resolves here too.

Every tag is a multi-platform image for linux/amd64 and linux/arm64; Docker picks the variant for your machine, so Apple Silicon and arm64 Linux run it without emulation.

docker run --rm -v "$PWD:/repo:ro" pt9912/d-check@sha256:<digest>

The digest for every version is listed in the release notes⁠.

:latest moves for stable releases only; pre-releases never receive it.

⁠Modules

21 rule modules, most of them opt-in: links, anchors, ids, matrix, external, sources, codepaths, spans, hostpaths, diagrams, versions, pins, immutable, vcs, commits, planning, tracked, targets, citations, structure, workflows. Two of them reach the network (external, sources) and are never active by default.

⁠Documentation

Source and issues: https://github.com/pt9912/d-check⁠ · Licence: MIT

Tag summary

Content type

Image

Digest

sha256:3e0b9779a…

Size

4.8 MB

Last updated

1 day ago

docker pull pt9912/d-check