-
#1186
5598f92Thanks @btea! - Fix template value replacement treating$sequences (such as$$in Makefile snippets) as special replacement patterns, which corrupted the rendered output. -
#1179
b8d7b77Thanks @ovflowd! - Builds use less memory, most of all with few threads: each worker's young generation is limited to 96MB, a single thread processes one chunk at a time and lets go of the pages' code before rendering them, and Vite's native bundler gets as many threads as doc-kit and returns the memory it frees. On the Node.js API docs,--threads 1now builds with Node.js's--max-old-space-size=512, and no longer crashes whenlegacy-htmlis built alongside other targets. -
Updated dependencies [
e49eb52,b8d7b77,92efbbe,9e21017,854a944,0321911]:- @doc-kit/[email protected]
- #1169
dc73c34Thanks @araujogui! -legacy-htmlbuilds about 30% faster: Shiki no longer parses its themes again for every code block.
- #1156
6d5f9d1Thanks @ovflowd! - Builds take about half the memory and a third of the time (measured on the Node.js API docs): Shiki registers each language once code in it is highlighted, highlighted code reaches pages as static markup rather than a tree per token,all.htmlis rendered by the worker pool, output is no longer minified by default (serve it compressed instead), idle workers end after 250ms, and each worker's heap is limited to 512MB, which Node.js's--max-old-space-sizeraises.
- #1157
a4c9684Thanks @ovflowd! - Add amarkdownoption to add remark, rehype, and recma plugins to the generators processing Markdown, or configure the ones they use, such as Shiki. The@doc-kit/coremodules the generators' pipelines replace are removed (utils/remark.mjs,utils/remark-shiki.mjs, andutils/highlighter.mjs), andutils/type-annotationsmoves toplugins/type-annotations - Updated dependencies [
6d5f9d1,c50e75f,a4c9684]:- @doc-kit/[email protected]
- Updated dependencies [
615aabe]:- @doc-kit/[email protected]
- #1079
c4ec767Thanks @avivkeller! - feat: thejsonandjson-allgenerators - Updated dependencies [
c4ec767,2a356c3]:- @doc-kit/[email protected]
- #1087
40c4397Thanks @OmerDavidson! - Show a focus outline on the code block copy button - Updated dependencies [
0a9dc37,da5d8e6]:- @doc-kit/[email protected]
- Updated dependencies [
27a412a,4a22c85,8cc1fd0]:- @doc-kit/[email protected]
- #960
c734403Thanks @avivkeller! - The legacy-format generators (legacy-html,legacy-html-all,legacy-json, andlegacy-json-all) now live in the new@node-core/doc-kit-legacypackage and are loaded via import specifiers such as@node-core/doc-kit-legacy/legacy-html. The corresponding@doc-kit/core/*package exports have been removed. The CLI shorthand names are unchanged.