| 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`.
Kevin Deldycke
| 2026-09-14 | 7.15.1.dev0 |