Skip to content
Snippets Groups Projects
Commit 0e1d7905 authored by Loïc Correnson's avatar Loïc Correnson Committed by Michele Alberti
Browse files

[ivette/doc] cleanup doc directory

parent 663ce82a
No related branches found
No related tags found
No related merge requests found
......@@ -34,10 +34,11 @@ VERSION=$(shell echo "console.log(require('./package.json').version)" | node -)
NODEBIN= ./node_modules/.bin
doc: $(NODEBIN)/typedoc
@echo "[Ivette] documentation"
@echo "\n[Ivette] documentation"
@rm -fr doc/html
@yarn run typedoc
@mkdir -p doc/html/guides
@echo "[Ivette] guides"
@echo "\n[Ivette] guides"
@find $(GUIDES) -name "*.md" -exec cp -f {} doc/html/guides/ \;
@find doc/html/guides -name "*.md" -print -exec pandoc \
--standalone --toc --toc-depth=2 --to html \
......@@ -47,7 +48,7 @@ doc: $(NODEBIN)/typedoc
--metadata-file=doc/pandoc/index.json \
--lua-filter doc/pandoc/href.lua \
{} -o {}.html \; -delete
@echo "[Ivette] main page"
@echo "\n[Ivette] main page"
@echo " file://$(PWD)/doc/html/index.html"
# For searching the doc
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment