Skip to content

Commit 7a5e9e2

Browse files
committed
add back apilinks generation
Signed-off-by: flakey5 <73616808+flakey5@users.noreply.github.com>
1 parent f846a1f commit 7a5e9e2

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
@@ -811,7 +811,7 @@ doc-only: tools/doc/node_modules \
811811
@if [ "$(shell $(node_use_openssl_and_icu))" != "true" ]; then \
812812
echo "Skipping doc-only (no crypto or no icu)"; \
813813
else \
814-
$(MAKE) out/doc/api/all.html out/doc/api/all.json; \
814+
$(MAKE) out/doc/api/all.html out/doc/api/all.json out/doc/apilinks.json; \
815815
fi
816816

817817
.PHONY: doc
@@ -867,6 +867,17 @@ out/doc/api/all.json: $(apidocs_json) | out/doc/api
867867
--type-map doc/type-map.json \
868868
) \
869869

870+
out/doc/apilinks.json: $(wildcard lib/*.js) | out/doc
871+
$(call available-node, \
872+
$(DOC_KIT) generate \
873+
-t api-links \
874+
-i lib/*.js \
875+
-o $(@D) \
876+
-c ./CHANGELOG.md \
877+
-v $(VERSION) \
878+
--type-map doc/type-map.json \
879+
) \
880+
870881
.PHONY: docopen
871882
docopen: doc-only ## Open the documentation in a web browser.
872883
@$(PYTHON) -mwebbrowser file://$(abspath $<)

0 commit comments

Comments
 (0)