REPOMATIC-UPDATE-DOCS(1) REPOMATIC-UPDATE-DOCS(1)

repomatic update-docs - Regenerate Sphinx API docs and dynamic content

repomatic update-docs [OPTIONS]

Regenerate Sphinx autodoc stubs and run the project's update script.

Orchestrates four phases:

1. Run `sphinx-apidoc` to generate RST stubs for all modules. 2. If MyST-Parser is detected, convert the RST stubs to MyST markdown with {eval-rst} blocks. 3. Run the project-specific `docs/docs_update.py` script (if present) to generate dynamic content. 4. Refresh self-updating blocks ({matrix} compatibility tables and `python:render` `:mirror:` regions) found in `docs/` pages and `readme.md`, via `click-extra refresh-directives`.

With --check, phases 1-2 are skipped and phases 3-4 run in their own check modes to report drift without writing (the update script must accept a --check flag to participate).

Configuration is read from `[tool.repomatic]` in `pyproject.toml`.

Report out-of-date self-updating content and exit non-zero, without writing anything. For CI drift detection.
Show this message and exit.

Report out-of-date self-updating content and exit non-zero, without writing anything. For CI drift detection.
Show this message and exit.

0
Success.
1
A runtime error, an aborted prompt (Ctrl-D), or a declined confirmation.
2
A usage error: unknown option, invalid value, missing operand, or an unparsable configuration file.
130
Interrupted with Ctrl-C: the process ends by SIGINT, reported as 130.

Kevin Deldycke

2026-10-13 7.18.1.dev0