From 0a4572d6a7b9cc3cb1e7383624d77acbe25808b2 Mon Sep 17 00:00:00 2001 From: RafaelGSS Date: Thu, 6 Feb 2025 14:26:39 -0300 Subject: [PATCH] build: add skip_apidoc_files and include QUIC PR-URL: https://github.com/nodejs/node/pull/56941 Reviewed-By: James M Snell Reviewed-By: Michael Dawson --- Makefile | 4 +++- doc/api/cli.md | 9 --------- doc/contributing/internal-api.md | 4 ++++ src/node_options.cc | 2 +- test/doctool/test-make-doc.mjs | 2 ++ test/parallel/test-cli-node-options-docs.js | 3 ++- .../test-process-env-allowed-flags-are-documented.js | 2 ++ 7 files changed, 14 insertions(+), 12 deletions(-) diff --git a/Makefile b/Makefile index 648f684d74a..fa1162787a3 100644 --- a/Makefile +++ b/Makefile @@ -780,7 +780,9 @@ test-v8 test-v8-intl test-v8-benchmarks test-v8-all: endif apidoc_dirs = out/doc out/doc/api out/doc/api/assets -apidoc_sources = $(wildcard doc/api/*.md) +skip_apidoc_files = doc/api/quic.md + +apidoc_sources = $(filter-out $(skip_apidoc_files), $(wildcard doc/api/*.md)) apidocs_html = $(addprefix out/,$(apidoc_sources:.md=.html)) apidocs_json = $(addprefix out/,$(apidoc_sources:.md=.json)) diff --git a/doc/api/cli.md b/doc/api/cli.md index befab1aef58..91151e7cea0 100644 --- a/doc/api/cli.md +++ b/doc/api/cli.md @@ -993,14 +993,6 @@ If the ES module being `require()`'d contains top-level `await`, this flag allows Node.js to evaluate the module, try to locate the top-level awaits, and print their location to help users find them. -### `--experimental-quic` - - - -Enables the experimental `node:quic` built-in module. - ### `--experimental-require-module`