Documentation
¶
Overview ¶
highlight-gen produces the build-time shiki cache (CREATE_1TO1_PLAN 2f): it crawls every sitemap URL of a running docs server (which must have the node shiki service and HIGHLIGHT_DUMP=1), so every page renders once and fills the in-memory highlight cache, then fetches the hashed dump from /debug/highlight-cache and writes it gzipped. The production image loads that file instead of running the node service.
Click to show internal directories.
Click to hide internal directories.