Module

docs

Docs as a feature — serve markdown and auto-generated API reference.

Load markdown files at startup, render once via patitas, and serve through Kida templates with fragment navigation. Optionally introspect the frozen app to generate API reference pages (autodoc).

Basic usage::

from chirp.docs import DocsPlugin

app.mount("/docs", DocsPlugin(content_dir="./content/docs"))

Requirespatitas (pip install chirp[markdown]).