server

FastAPI server for autoredocs — live documentation build & serve.

📄 /home/runner/work/autoredocs/autoredocs/src/autoredocs/server.py

Functions

def
def create_app(source: str | Path = '.', output: str | Path = './docs', fmt: str = 'html', webhook_secret: str = '')
Create and return a FastAPI application. Lazy import to avoid requiring fastapi as a hard dependency.
📍 Line 17
def
def _run_build(source: Path, output: Path, fmt: str) -> dict
Run the documentation build pipeline and return stats.
📍 Line 111