Skip to content

Commit ab64c14

Browse files
committed
added dev command to makefile
1 parent 38ef9dc commit ab64c14

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
/manual/build/**
22
manual/index.html
3+
manual/tool/template/mdbookDEV.html

manual/tool/Makefile_include

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,20 @@ pdf:: metadata.yml *.md
2222
-V geometry:landscape
2323

2424

25+
dev:: metadata.yml *.md
26+
pandoc \
27+
metadata.yml $(shell echo *.md) \
28+
--output index.html \
29+
--template $(TOOL_DIR)/template/mdbookDEV.html \
30+
--from markdown \
31+
--listings \
32+
--table-of-contents \
33+
--toc-depth=3 \
34+
--katex \
35+
--dpi=300
36+
@echo "HTML file generated: index.html"
37+
@explorer.exe "H:\User Folders\Documents\3D Printer\Printers\Voron\PFA\MicronManual\manual\index.html"
38+
2539

2640
html:: metadata.yml *.md
2741
pandoc \

0 commit comments

Comments
 (0)