Skip to content

Commit e56fed8

Browse files
committed
fixup! build, doc: use new api doc tooling
1 parent 857906d commit e56fed8

2 files changed

Lines changed: 193 additions & 263 deletions

File tree

Makefile

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,8 @@ FIND ?= find
2626

2727
ifdef JOBS
2828
PARALLEL_ARGS = -j $(JOBS)
29-
30-
# Amount of worker threads to create for generating documentation files
31-
DOC_JOBS = $(JOBS)
3229
else
3330
PARALLEL_ARGS =
34-
DOC_JOBS = 12
3531
endif
3632

3733
ifdef ENABLE_V8_TAP
@@ -397,7 +393,13 @@ test/addons/.docbuildstamp: $(DOCBUILDSTAMP_PREREQS) tools/doc/node_modules
397393
echo "Skipping .docbuildstamp (no crypto and/or no ICU)"; \
398394
else \
399395
$(RM) -r test/addons/??_*/; \
400-
$(call available-node, $(DOC_KIT) generate -t addon-verify -i doc/api/addons.md -o test/addons/ --type-map doc/type-map.json) \
396+
$(call available-node, \
397+
$(DOC_KIT) generate \
398+
-t addon-verify \
399+
-i doc/api/addons.md \
400+
-o test/addons/ \
401+
--type-map doc/type-map.json
402+
) \
401403
[ $$? -eq 0 ] && touch $@; \
402404
fi
403405

0 commit comments

Comments
 (0)