Update Documentation
- added screenshot - added doc export using pandoc to html and pdf
This commit is contained in:
31
make_doc.bat
Normal file
31
make_doc.bat
Normal file
@@ -0,0 +1,31 @@
|
||||
@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.
|
||||
|
||||
Reference in New Issue
Block a user