Commit 573807b316f for nodejs
commit 573807b316fe6c7d09fec24af1e49c2f32ed6cc3
Author: Antoine du Hamel <duhamelantoine1995@gmail.com>
Date: Mon Oct 26 12:02:19 2026 +0100
Revert "build: toggle doc-kit verbosity based on V"
This reverts commit 37d5c80f97cd8104b5dafc35f6e1646cc8d39673.
PR-URL: https://github.com/nodejs/node/pull/67015
Refs: https://github.com/nodejs/node/issues/66571
Reviewed-By: Claudio Wunder <cwunder@gnome.org>
Reviewed-By: Filip Skokan <panva.ip@gmail.com>
Reviewed-By: Aviv Keller <me@aviv.sh>
diff --git a/Makefile b/Makefile
index 361fed3df4c..4892cf7f579 100644
--- a/Makefile
+++ b/Makefile
@@ -403,11 +403,6 @@ DOCBUILDSTAMP_PREREQS := $(DOCBUILDSTAMP_PREREQS) out/$(BUILDTYPE)/node.exp
endif
DOC_KIT ?= tools/doc/node_modules/@doc-kit/cli/bin/cli.mjs
-ifeq ($(V),1)
-DOC_KIT_LOG_LEVEL ?= debug
-else
-DOC_KIT_LOG_LEVEL ?= info
-endif
node_use_openssl_and_icu = $(call available-node,"-p" \
"process.versions.openssl != undefined && process.versions.icu != undefined")
@@ -913,7 +908,7 @@ $(apidocs_html) $(apidocs_json) out/doc/api/all.html out/doc/api/all.json &: $(a
else \
$(call available-node, \
$(DOC_KIT) generate \
- --log-level $(DOC_KIT_LOG_LEVEL) \
+ --log-level debug \
--config-file tools/doc/web.doc-kit.config.mjs \
-v $(VERSION) \
$(if $(JOBS),-p $(JOBS)) \
@@ -927,7 +922,6 @@ out/doc/llms.txt: $(apidoc_sources) tools/doc/node_modules | out/doc
else \
$(call available-node, \
$(DOC_KIT) generate \
- --log-level $(DOC_KIT_LOG_LEVEL) \
--config-file tools/doc/web.doc-kit.config.mjs \
-t llms-txt \
-o $(@D) \
@@ -941,7 +935,6 @@ out/doc/apilinks.json: $(wildcard lib/*.js) tools/doc/node_modules | out/doc
else \
$(call available-node, \
$(DOC_KIT) generate \
- --log-level $(DOC_KIT_LOG_LEVEL) \
--config-file tools/doc/api-links.doc-kit.config.mjs \
-o $(@D) \
-v $(VERSION) \
@@ -958,7 +951,6 @@ node.1: doc/api/cli.md tools/doc/node_modules
else \
$(call available-node, \
$(DOC_KIT) generate \
- --log-level $(DOC_KIT_LOG_LEVEL) \
-v $(VERSION) \
--config-file tools/doc/man-page.doc-kit.config.mjs \
-o doc \
@@ -1502,7 +1494,6 @@ tools/.manpagelintstamp: doc/node.1 doc/api/cli.md tools/doc/node_modules
$(RM) -r tools/doc/.manpagecheck && \
$(call available-node, \
$(DOC_KIT) generate \
- --log-level $(DOC_KIT_LOG_LEVEL) \
-v $(VERSION) \
--config-file tools/doc/man-page.doc-kit.config.mjs \
) \