From b6085ca02a610ee4015daa73d92ae0ce009e9ba8 Mon Sep 17 00:00:00 2001 From: Aviv Keller Date: Sat, 28 Feb 2026 18:18:24 -0500 Subject: [PATCH] build, doc: move to redesign --- Makefile | 8 ++++---- vcbuild.bat | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index c50a5c26da16f5..d447ef6ee368a3 100644 --- a/Makefile +++ b/Makefile @@ -819,7 +819,7 @@ VERSION=v$(RAWVER) .PHONY: doc-only .NOTPARALLEL: doc-only -doc-only: $(apidoc_dirs) $(apidocs_html) $(apidocs_json) out/doc/api/all.html out/doc/api/all.json out/doc/apilinks.json ## Builds the docs with the local or the global Node.js binary. +doc-only: $(apidoc_dirs) $(apidocs_html) $(apidocs_json) out/doc/api/all.json out/doc/apilinks.json ## Builds the docs with the local or the global Node.js binary. .PHONY: doc doc: $(NODE_EXE) doc-only ## Build Node.js, and then build the documentation with the new binary. @@ -838,16 +838,16 @@ out/doc/api: doc/api # Using grouped targets (&:) so Make knows one command produces all outputs ifeq ($(OSTYPE),aix) # TODO(@nodejs/web-infra): AIX is currently hanging during HTML minification -$(apidocs_html) $(apidocs_json) out/doc/api/all.html out/doc/api/all.json: +$(apidocs_html) $(apidocs_json) out/doc/api/all.json: @echo "Skipping $@ (not currently supported by $(OSTYPE) machines)" else -$(apidocs_html) $(apidocs_json) out/doc/api/all.html out/doc/api/all.json &: $(apidoc_sources) tools/doc/node_modules | out/doc/api +$(apidocs_html) $(apidocs_json) out/doc/api/all.json &: $(apidoc_sources) tools/doc/node_modules | out/doc/api @if [ "$(shell $(node_use_openssl_and_icu))" != "true" ]; then \ echo "Skipping $@ (no crypto and/or no ICU)"; \ else \ $(call available-node, \ $(DOC_KIT) generate \ - -t legacy-html-all \ + -t web \ -t legacy-json-all \ -i doc/api/*.md \ --ignore $(skip_apidoc_files) \ diff --git a/vcbuild.bat b/vcbuild.bat index 9b37892ba6f53d..ae80aa18eb5760 100644 --- a/vcbuild.bat +++ b/vcbuild.bat @@ -648,7 +648,7 @@ robocopy /e doc\api %config%\doc\api %doc_kit_exe% ^ generate ^ - -t legacy-html-all legacy-json-all api-links ^ + -t web legacy-json-all api-links ^ -i doc/api/*.md ^ -i lib/*.js ^ -o %config%/doc/api/ ^