You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 8436900
Browse filesBrowse the repository at this point in the historyBrowse files
chore: remove the legacy-html and legacy-html-all generators
Node.js builds its API docs with the redesigned `html` generator since
nodejs/node#62045, so nothing uses the legacy HTML generators anymore.
This also removes what only they used in `@doc-kit/core`: the
`shiki.config.mjs` and `utils/remark-shiki.mjs` exports, the default
export of `utils/highlighter.mjs`, and the `hastscript` and `shiki`
dependencies.
Assisted-by: Claude Opus 5.5 <[email protected]>
Remove the `legacy-html` and `legacy-html-all` generators, now that Node.js builds its API docs with the redesigned `html` generator. The `@doc-kit/core` exports only they used are removed too: `shiki.config.mjs`, `utils/remark-shiki.mjs`, and the default export of `utils/highlighter.mjs`
-p, --threads <number> Number of threads to use (minimum: 1)
@@ -93,11 +91,10 @@ Options:
93
91
94
92
### Legacy
95
93
96
-
To generate a 1:1 match with the [legacy tooling](https://github.com/nodejs/node/tree/main/tools/doc), use the `legacy-html`, `legacy-json`, `legacy-html-all`, and `legacy-json-all` generators.
94
+
To generate a 1:1 match with the JSON of the [legacy tooling](https://github.com/nodejs/node/tree/main/tools/doc), use the `legacy-json` and `legacy-json-all` generators.
Copy file name to clipboardExpand all lines: docs/getting-started.md
+1-3Lines changed: 1 addition & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -50,9 +50,7 @@ static server will do the trick; for example:
50
50
npx serve out -p 3000
51
51
```
52
52
53
-
Then open the printed URL (usually <http://localhost:3000>). The
54
-
`legacy-html-all` output from earlier has no such requirement — `out/all.html`
55
-
opens straight from disk.
53
+
Then open the printed URL (usually <http://localhost:3000>).
0 commit comments