Repository navigation
doc: move to redesign - #66713
doc: move to redesign#66713avivkeller wants to merge 6 commits into
Conversation
|
Review requested:
|
bmuenzenmeyer
left a comment
There was a problem hiding this comment.
I think we need to do better, align on fallback strategy here, or at least affirm that #66613 or this test is enough (not both) . If canBundle ever returns false, we don't get HTML docs at all, which we identified as a production issue worthy of an expensive new release.
Could we add this check to the release process too? Is CI enough? Perhaps
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #66713 +/- ##
==========================================
- Coverage 90.69% 90.68% -0.02%
==========================================
Files 797 797
Lines 278787 278874 +87
Branches 53607 53626 +19
==========================================
+ Hits 252858 252908 +50
- Misses 16292 16325 +33
- Partials 9637 9641 +4 🚀 New features to boost your workflow:
|
We know that lightningcss resolves on release machines, so I assume Rolldown will as well, but I 100% want to double-check that on a release-ci after regular CI passes (a regular CI is not enough). |
Co-authored-by: Brian Muenzenmeyer <brian.muenzenmeyer@gmail.com> Signed-off-by: avivkeller <me@aviv.sh>
This comment was marked as outdated.
This comment was marked as outdated.
Pass `skip_apidoc_files` from the Makefile to doc-kit with `--ignore` instead of duplicating the list in the config file, and read the list in test-make-doc.mjs synchronously (the callback `fs.open` was being awaited, which threw ERR_INVALID_ARG_TYPE). Assisted-by: Claude Fable 5.1
ovflowd
left a comment
There was a problem hiding this comment.
SgTm (Sorcerer Got Temu Merchandise)
Generate llms.txt from the web config instead of a separate doc-kit call with `-t llms-txt`. The single call already passes the config, so `llms-txt` joins its targets, with its output pinned to out/doc where it lived before, and out/doc/llms.txt becomes one more output of the stamp rule. The outputs are now listed once, in apidoc_outputs, and the comment above them says what the stamp is for. The built docs are identical to before, llms.txt included. Assisted-by: Claude Opus 5.5 <noreply@anthropic.com>
Quote the config's top-level keys: 'llms-txt' needs quotes, and the quote-props rule wants the other keys at that level quoted to match. Assisted-by: Claude Opus 5.5 <noreply@anthropic.com>
|
Adding to the TSC agenda for visibility that this is ready, so they can give their input |
This PR shouldn't change much from it's current form. Most changes will go in
doc-kit.test-make-docwas removed, since our new generator minifies the output HTML (so it's format is structurally inconsistent) and can't be easily parsed with the existing regular expressions.Furthermore, such tests are not needed due to our tests in doc-kit.
Preview: https://beta.docs.nodejs.org
Notable Change:
Node.js is thrilled to announce a brand new redesign of our documentation experience! The updated documentation now features HTML structure and styling that are much more closely aligned with the main Node.js website UI, creating a more consistent experience across the brand. You can check out the redesigned documentation today at
https://nodejs.org/api(Striked out since this isn't correct until this PR lands).