pip install hf-doc-builder==0.4.0 watchdog --upgradedoc-builder preview endpoints docs/source/ --not_python_moduledoc-builder build endpoints docs/source/ --build_dir build/ --not_python_moduleAdding images/assets is only possible through https:// links meaning you need to use https://raw.githubusercontent.com/huggingface/hf-endpoints-documentation/main/assets/ prefix.
The homepage hero illustration is generated from illustration.svelte (source of truth for geometry/animation). Engine logos are vendored under assets/logos/ (copied from the Inference Endpoints site) so the illustration does not depend on external URLs.
After editing geometry or animation, regenerate committed SVGs:
node scripts/generate-illustration.mjsTo refresh logos from production (if icons change upstream):
curl -sL -o assets/logos/FILE.svg https://endpoints.huggingface.co/logos/FILE.svgThis writes animated SVGs plus -static variants (frozen route segments, no SMIL). The docs page layers both and hides the animated <object> when SMIL is unavailable (e.g. Safari), falling back to the static <img>. Logo <image> tags use paths relative to the illustration SVG (logos/*.svg).
example
<img src="https://raw.githubusercontent.com/huggingface/hf-endpoints-documentation/main/assets/0_login.png" alt="Login" />- Copy openapi spec from
https://api.endpoints.huggingface.cloud/api-doc/openapi.json - create markdown
widdershins --environment env.json openapi.json -o myOutput.md - copy into
api_reference.mdx