We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 58d5a89 commit e6021fbCopy full SHA for e6021fb
Makefile
@@ -1,12 +1,17 @@
1
-GUIDES = $(notdir $(wildcard guides/*.md))
2
-HTML_GUIDES = $(addprefix build/html/,$(GUIDES:.md=.html))
+GUIDES = $(notdir $(wildcard guide/*.md))
+HTML_GUIDES = $(addprefix public/,$(GUIDES:.md=.html))
3
4
html: $(HTML_GUIDES)
5
6
-build/html/%.html : guides/%.md
7
- @mkdir -p build/html
8
- pandoc -s --toc $< -o $@
+public/%.html : guide/%.md
+ pandoc \
+ -5 \
9
+ -c css/screen.css \
10
+ -B template/header.html \
11
+ -A template/footer.html \
12
+ --toc \
13
+ $< \
14
+ -o $@
15
16
clean:
- rm -rf build
-
17
+ rm -vf public/*.html
0 commit comments