Skip to content
This repository has been archived by the owner on Mar 25, 2018. It is now read-only.

build: use doc-tool module #84

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ website: $(website_dirs) $(website_files)

out/doc/%.html: doc/%.md
mkdir -p $(shell dirname $@)
node tools/doc/generate.js --format=html --template=doc/website.html $< > $@
node-doc-generator --format=html --template=doc/website.html $< > $@

$(website_dirs):
mkdir -p $@
Expand Down Expand Up @@ -89,6 +89,7 @@ docclean:
-rm -rf out/doc

predeploycheck:
@npm i
ifneq ($(REMOTE_SHA),$(LOCAL_SHA))
@echo "remote repository and local repository not up to date... please pull latest master"
exit 1
Expand Down
18 changes: 0 additions & 18 deletions tools/doc/LICENSE

This file was deleted.

96 changes: 0 additions & 96 deletions tools/doc/README.md

This file was deleted.

94 changes: 0 additions & 94 deletions tools/doc/addon-verify.js

This file was deleted.

126 changes: 0 additions & 126 deletions tools/doc/generate.js

This file was deleted.

Loading