Guide: Preview typst.app/docs (of your PR) on netlify

I’ve updated the build script with latest commits in the typst-jp repo. It’s simpler thanks to works in https://github.com/typst-jp/docs/issues/233.

However, I can’t edit my original post anymore. The script will live here:

Note that I’ve changed the base from /docs/ to /:

The URL of docs.json is not affected.

See also Best of Typst (TCDM) for alternative infrastructure of building the Typst documentation.

Update on 2025-10-03

The script now uses GitHub - typst-community/typst-docs-web: Build a website from the documentation JSON file generated by typst-docs.