docsgenfiltercheck

command
v2.39.2 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2026 License: AGPL-3.0 Imports: 12 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 docsgenfiltercheck fails when the docs-gen paths filter in the CI workflow drifts from the files make gen writes.

CI skips the gen job for pull requests whose changed files all match the docs filter and none match the docs-gen filter. That is only safe while docs-gen matches every generated file that docs matches. The generated files are the arguments plus every tracked Markdown file the docs filter matches whose body opens with docgenenv.GeneratedContentBanner, which covers pages GEN_FILES doesn't list, such as the nested CLI and REST API reference pages. The check fails when a generated file matches docs but not docs-gen, and when a docs-gen pattern matches no tracked file, so stale entries don't accumulate.

Usage:

docsgenfiltercheck [-workflow path] generated-file ...

Jump to

Keyboard shortcuts

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