docsdiff

command
v0.70.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 28, 2026 License: MIT Imports: 12 Imported by: 0

Documentation

Overview

Command docsdiff renders row-aligned PNG diffs for docs-preview screenshots.

It preserves the old workflow helper contracts:

docsdiff <base.png> <head.png> <out.png>
docsdiff <pages.json> <baseDir> <headDir> <outDir>

The three-argument form exits 0 after writing a diff PNG, 3 when the renders are identical or only differ by denoised jitter, and 2 for usage errors. The four-argument form is the docs-preview batch driver: it writes a flat image directory plus manifest.json and prints a compact count summary.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL