An S3-agnostic hook that lets the asset-URL rewrite pass point a resolved,
docs-root-relative asset path at an externally-hosted URL (e.g. an S3/CDN
object). docgen-core owns the trait so it never depends on docgen-s3;
the S3 crate implements it. When no resolver is supplied, the pass emits the
usual base-absolute local URL.
Source-level directive pre/post pass. extract rewrites raw markdown,
replacing each directive with an HTML-comment sentinel and returning the
parsed instances; substitute swaps sentinels for rendered component HTML
after comrak has formatted the surrounding markdown.
Build-time KaTeX rendering. Each math expression in a document is rendered
to static HTML at build time via the katex crate (default quick-js
backend), so the generated site ships zero runtime JS for math.