smalldocs 0.5.7

api check can hold only what the pages show

Author

Rahul Dave

Published

November 11, 2026

smalldocs api check has a new option, --shown. With it, check looks only at what the reference pages show:

So a private helper without a docstring is no longer a gap. A private name starts with _.

The setting check-shown: true in the api section of _smalldocs.yml does the same. A project can then use it in its tests or in CI with no change to the command.

The option does not change the files of the check globs, such as the tests. They have no pages, so check still looks at every name in them.

Without the option, check works as before. The pages do not change.