diff options
author | Jan Tojnar <jtojnar@gmail.com> | 2020-12-05 13:47:29 +0100 |
---|---|---|
committer | Jan Tojnar <jtojnar@gmail.com> | 2020-12-09 05:26:55 +0100 |
commit | ba11a966532d93aa7dea667fb1f07de9e781e55c (patch) | |
tree | 98b19204f3f6f4254f4b4ad04d34251a7404a848 /doc/Makefile | |
parent | 9a31966f14545ac2fa99014284a49acc225b9826 (diff) |
doc: Add staging workflow diagram
Diffstat (limited to 'doc/Makefile')
-rw-r--r-- | doc/Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/Makefile b/doc/Makefile index 570a5d075b31..4f520779f5b2 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -39,6 +39,7 @@ out/html/index.html: doc-support/result manual-full.xml style.css highlightjs mkdir -p out/html/highlightjs/ cp -r highlightjs out/html/ + cp -r media out/html/ cp ./overrides.css out/html/ cp ./style.css out/html/style.css @@ -53,6 +54,7 @@ out/epub/manual.epub: manual-full.xml doc-support/result/epub.xsl \ ./manual-full.xml + cp -r media out/epub/scratch/OEBPS cp ./overrides.css out/epub/scratch/OEBPS cp ./style.css out/epub/scratch/OEBPS mkdir -p out/epub/scratch/OEBPS/images/callouts/ @@ -88,11 +90,15 @@ functions/library/generated: doc-support/result %.section.xml: %.section.md pandoc $^ -t docbook \ + --extract-media=media \ + --lua-filter=$(PANDOC_LUA_FILTERS_DIR)/diagram-generator.lua \ -f markdown+smart \ | cat > $@ %.chapter.xml: %.chapter.md pandoc $^ -t docbook \ --top-level-division=chapter \ + --extract-media=media \ + --lua-filter=$(PANDOC_LUA_FILTERS_DIR)/diagram-generator.lua \ -f markdown+smart \ | cat > $@ |