summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMarek Łabuz <mareklabuz@Mareks-MacBook-Pro-2.local>2019-10-12 15:00:42 +0200
committerAnna Henningsen <anna@addaleax.net>2019-11-30 18:17:56 +0100
commit62c61b754d7ade2d806fe9017818eb252c54353c (patch)
tree601323a20172ffa6e4129bfc53a1a2a9d4a754d4 /Makefile
parent79faa875026a275b3e5eca019b3c50e1cbe2e34e (diff)
downloadnode-new-62c61b754d7ade2d806fe9017818eb252c54353c.tar.gz
tools: add unified plugin changing links for html docs
This commit introduces additional stage in the process of generating html docs from markdown files. Plugin transforms links to *.md files in the respository to links to *.html files in the online documentation. Fixes: https://github.com/nodejs/node/issues/28689 PR-URL: https://github.com/nodejs/node/pull/29946 Reviewed-By: Anna Henningsen <anna@addaleax.net>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index d46b4a0c18..21ab5de0b9 100644
--- a/Makefile
+++ b/Makefile
@@ -745,7 +745,7 @@ $(LINK_DATA): $(wildcard lib/*.js) tools/doc/apilinks.js
$(call available-node, $(gen-apilink))
out/doc/api/%.json out/doc/api/%.html: doc/api/%.md tools/doc/generate.js \
- tools/doc/html.js tools/doc/json.js tools/doc/apilinks.js | $(LINK_DATA)
+ tools/doc/markdown.js tools/doc/html.js tools/doc/json.js tools/doc/apilinks.js | $(LINK_DATA)
$(call available-node, $(gen-api))
out/doc/api/all.html: $(apidocs_html) tools/doc/allhtml.js \