Files
QLC_Plus_configuration/make_doc.bat
Dustin Brunner 423de19775 Update Documentation
- added screenshot
- added doc export using pandoc to html and pdf
2025-12-21 17:33:03 +01:00

32 lines
683 B
Batchfile

@echo off
setlocal enabledelayedexpansion
REM Check dependencies
where pandoc >nul 2>&1
if errorlevel 1 (
echo ERROR: Pandoc not found in PATH.
exit /b 1
)
echo Generating PDF ...
pandoc README.md ^
--lua-filter="./doc/tools/noexport-subtrees.lua" ^
--template="./doc/tools/eisvogel.latex" ^
--toc ^
--number-sections ^
--pdf-engine=xelatex ^
-o "./doc/build/Documentation.pdf"
echo Generating HTML ...
pandoc README.md ^
--lua-filter="./doc/tools/noexport-subtrees.lua" ^
--template="./doc/tools/bootstrap_menu.html" ^
--toc ^
--toc-depth=6 ^
--standalone ^
--embed-resources ^
-o "./doc/build/index.html"
echo Done.