Skip to content

Commit 7e7c8e9

Browse files
flakey5ovflowd
authored andcommitted
add back apilinks generation
Signed-off-by: flakey5 <[email protected]>
1 parent fbea47d commit 7e7c8e9

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

Makefile

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -819,7 +819,7 @@ doc-only: tools/doc/node_modules \
819819
@if [ "$(shell $(node_use_openssl_and_icu))" != "true" ]; then \
820820
echo "Skipping doc-only (no crypto or no icu)"; \
821821
else \
822-
$(MAKE) out/doc/api/all.html out/doc/api/all.json; \
822+
$(MAKE) out/doc/api/all.html out/doc/api/all.json out/doc/apilinks.json; \
823823
fi
824824

825825
.PHONY: doc
@@ -875,6 +875,17 @@ out/doc/api/all.json: $(apidocs_json) | out/doc/api
875875
--type-map doc/type-map.json \
876876
) \
877877

878+
out/doc/apilinks.json: $(wildcard lib/*.js) | out/doc
879+
$(call available-node, \
880+
$(DOC_KIT) generate \
881+
-t api-links \
882+
-i lib/*.js \
883+
-o $(@D) \
884+
-c ./CHANGELOG.md \
885+
-v $(VERSION) \
886+
--type-map doc/type-map.json \
887+
) \
888+
878889
.PHONY: docopen
879890
docopen: doc-only ## Open the documentation in a web browser.
880891
@$(PYTHON) -mwebbrowser file://$(abspath $<)

0 commit comments

Comments
 (0)