imagecheck

command
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2026 License: AGPL-3.0 Imports: 13 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Command imagecheck fails when an image of the documentation site is broken. It reads every Markdown page under the given directory (docs by default), except the files that exclude_docs of the site's configuration (-config, mkdocs.yml by default) leaves out, collects the images outside code — `![alt](path)` and `<img src alt>` — and prints one line per problem, naming the page, the line and the image: a relative path that does not resolve to a file under the directory, an image without alternative text, and an image whose source is another site (http:, https: or //), which a reader's browser would load from that site. After reading every page it names each PNG under assets/screenshots/ that no page references, the output of make docs-screenshots that a page stopped using. It exits with 1 on a problem; make docs-check runs it before the build. A reference-style image — ![alt][ref], ![alt][] or ![ref], whose path a [ref]: definition gives — fails too, asking for an inline image, which the check can follow. References are matched line by line: an image whose alternative text wraps onto the next line and an <img> tag over several lines are not read.

Jump to

Keyboard shortcuts

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