Skip to content

feat(docs): use doc-kit 1.3.0#11

Merged
ovflowd merged 1 commit intomainfrom
doc-kit-bump
Apr 2, 2026
Merged

feat(docs): use doc-kit 1.3.0#11
ovflowd merged 1 commit intomainfrom
doc-kit-bump

Conversation

@avivkeller
Copy link
Copy Markdown
Member

@avivkeller avivkeller commented Apr 2, 2026

Fixes: #6
Fixes: #5

Also replaces YAML with frontmatter, as this doc-kit version now supports that.

Copilot AI review requested due to automatic review settings April 2, 2026 15:38
@vercel
Copy link
Copy Markdown

vercel bot commented Apr 2, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
nodejs-learn Ready Ready Preview, Comment Apr 2, 2026 4:07pm

Request Review

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the documentation build pipeline to use @node-core/doc-kit v1.3.0 and migrates per-page metadata from HTML-comment YAML blocks to standard YAML frontmatter, aligning with the new doc-kit support and aiming to fix broken “active tab/section” behavior (Issue #6).

Changes:

  • Bump @node-core/doc-kit to 1.3.0 and add remark-frontmatter for linting/parsing.
  • Replace HTML-comment “YAML” blocks with --- frontmatter across docs pages.
  • Remove the legacy prebuild/config-generation scripts and switch to a custom #theme/Layout override.

Reviewed changes

Copilot reviewed 74 out of 76 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
scripts/utils.mjs Removed legacy markdown parsing and navigation/author utility helpers.
scripts/generate-component-config.mjs Removed prebuild script that generated components/config.json (top nav/side nav/authors).
scripts/constants.mjs Removed constants used by the deleted prebuild/config generation scripts.
pages/typescript/transpile.md Convert authors metadata to YAML frontmatter.
pages/typescript/run.md Convert authors metadata to YAML frontmatter.
pages/typescript/run-natively.md Convert authors metadata to YAML frontmatter.
pages/typescript/publishing-a-ts-package.md Convert authors metadata to YAML frontmatter.
pages/typescript/introduction.md Convert authors metadata to YAML frontmatter.
pages/testing/using-test-runner.md Convert authors metadata to YAML frontmatter.
pages/testing/mocking.md Convert authors metadata to YAML frontmatter.
pages/testing/introduction.md Convert authors metadata to YAML frontmatter.
pages/testing/collecting-code-coverage.md Convert authors metadata to YAML frontmatter.
pages/security/security-best-practices.md Convert authors metadata to YAML frontmatter.
pages/package-management/publishing-node-api-modules.md Remove empty legacy YAML comment block.
pages/package-management/publishing-a-package.md Convert authors metadata to YAML frontmatter.
pages/package-management/an-introduction-to-the-npm-package-manager.md Convert authors metadata to YAML frontmatter.
pages/package-management/abi-stability.md Remove empty legacy YAML comment block.
pages/index.md Convert authors metadata to YAML frontmatter.
pages/http/websocket.md Convert authors metadata to YAML frontmatter.
pages/http/fetch.md Convert authors metadata to YAML frontmatter.
pages/http/enterprise-network-configuration.md Convert authors metadata to YAML frontmatter.
pages/http/anatomy-of-an-http-transaction.md Remove empty legacy YAML comment block.
pages/getting-started/userland-migrations.md Convert authors metadata to YAML frontmatter.
pages/getting-started/the-v8-javascript-engine.md Convert authors metadata to YAML frontmatter.
pages/getting-started/nodejs-with-webassembly.md Convert authors metadata to YAML frontmatter.
pages/getting-started/nodejs-the-difference-between-development-and-production.md Convert authors metadata to YAML frontmatter.
pages/getting-started/introduction-to-nodejs.md Convert authors metadata to YAML frontmatter.
pages/getting-started/how-much-javascript-do-you-need-to-know-to-use-nodejs.md Convert authors metadata to YAML frontmatter.
pages/getting-started/ecmascript-2015-es6-and-beyond.md Convert authors metadata to YAML frontmatter.
pages/getting-started/differences-between-nodejs-and-the-browser.md Convert authors metadata to YAML frontmatter.
pages/file-system/writing-files-with-nodejs.md Convert authors metadata to YAML frontmatter.
pages/file-system/working-with-folders-in-nodejs.md Convert authors metadata to YAML frontmatter.
pages/file-system/working-with-file-descriptors-in-nodejs.md Convert authors metadata to YAML frontmatter.
pages/file-system/working-with-different-filesystems.md Remove empty legacy YAML comment block.
pages/file-system/reading-files-with-nodejs.md Convert authors metadata to YAML frontmatter.
pages/file-system/nodejs-file-stats.md Convert authors metadata to YAML frontmatter.
pages/file-system/nodejs-file-paths.md Convert authors metadata to YAML frontmatter.
pages/diagnostics/user-journey.md Remove empty legacy YAML comment block.
pages/diagnostics/profiling.md Remove empty legacy YAML comment block.
pages/diagnostics/poor-performance/using-linux-perf.md Remove empty legacy YAML comment block.
pages/diagnostics/poor-performance/index.md Remove empty legacy YAML comment block.
pages/diagnostics/memory/using-heap-snapshot.md Remove empty legacy YAML comment block.
pages/diagnostics/memory/using-heap-profiler.md Remove empty legacy YAML comment block.
pages/diagnostics/memory/using-gc-traces.md Remove empty legacy YAML comment block.
pages/diagnostics/memory/understanding-and-tuning-memory.md Convert authors metadata to YAML frontmatter.
pages/diagnostics/memory/index.md Remove empty legacy YAML comment block.
pages/diagnostics/live-debugging/using-inspector.md Remove empty legacy YAML comment block.
pages/diagnostics/live-debugging/index.md Remove empty legacy YAML comment block.
pages/diagnostics/flame-graphs.md Remove empty legacy YAML comment block.
pages/diagnostics/debugging.md Remove empty legacy YAML comment block.
pages/command-line/run-nodejs-scripts-from-the-command-line.md Convert authors metadata to YAML frontmatter.
pages/command-line/output-to-the-command-line-using-nodejs.md Convert authors metadata to YAML frontmatter.
pages/command-line/how-to-use-the-nodejs-repl.md Convert authors metadata to YAML frontmatter.
pages/command-line/how-to-read-environment-variables-from-nodejs.md Convert authors metadata to YAML frontmatter.
pages/command-line/accept-input-from-the-command-line-in-nodejs.md Convert authors metadata to YAML frontmatter.
pages/asynchronous-work/understanding-setimmediate.md Convert authors metadata to YAML frontmatter.
pages/asynchronous-work/understanding-processnexttick.md Convert authors metadata to YAML frontmatter.
pages/asynchronous-work/the-nodejs-event-emitter.md Convert authors metadata to YAML frontmatter.
pages/asynchronous-work/overview-of-blocking-vs-non-blocking.md Convert authors metadata to YAML frontmatter.
pages/asynchronous-work/javascript-asynchronous-programming-and-callbacks.md Convert authors metadata to YAML frontmatter.
pages/asynchronous-work/how-to-use-streams.md Convert authors metadata to YAML frontmatter.
pages/asynchronous-work/event-loop-timers-and-nexttick.md Remove empty legacy YAML comment block.
pages/asynchronous-work/dont-block-the-event-loop.md Remove empty legacy YAML comment block.
pages/asynchronous-work/discover-promises-in-nodejs.md Convert authors metadata to YAML frontmatter.
pages/asynchronous-work/discover-javascript-timers.md Convert authors metadata to YAML frontmatter.
pages/asynchronous-work/backpressuring-in-streams.md Remove empty legacy YAML comment block.
pages/asynchronous-work/asynchronous-flow-control.md Convert authors metadata to YAML frontmatter.
package.json Bump doc-kit to 1.3.0, add remark-frontmatter, remove prebuild hook.
package-lock.json Lockfile updates for doc-kit 1.3.0 and new remark-frontmatter dependency tree.
doc-kit.config.mjs Move pageURL/editURL under web, and override #theme/Layout only.
components/Sidebar/index.jsx Removed custom sidebar that depended on generated components/config.json.
components/Navigation/index.jsx Stop reading generated nav config; nav items now empty.
components/Metabar/index.jsx Derive authors/edit link from doc-kit metadata + #theme/config editURL.
components/Layout/index.jsx New custom layout composing doc-kit sidebar/footer with local nav/metabar.
.remarkrc.json Add remark-frontmatter plugin before @node-core/remark-lint.
.gitignore Stop ignoring components/config.json (file no longer generated/used).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@ovflowd ovflowd added this pull request to the merge queue Apr 2, 2026
Merged via the queue into main with commit ce9a5fb Apr 2, 2026
7 checks passed
@ovflowd ovflowd deleted the doc-kit-bump branch April 2, 2026 17:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Active Tabs / Section doesn't work Sidebar nav section order doesn't match nodejs.org

4 participants