2 setlocal EnableDelayedExpansion
5 echo ----------------------------------------------------------------
6 echo Building software documentation
7 echo ----------------------------------------------------------------
10 :: ------------------------------------------
12 :: ------------------------------------------
14 call "%~dp0\_paths.bat"
16 :: ------------------------------------------
18 :: ------------------------------------------
20 for %%i in ("%~dp0\..\..\doc\*.md") do (
22 "%PATH_PANDOC%\pandoc.exe" --from markdown_github+pandoc_title_block --to html5 --toc -N --standalone -H "%~dp0\..\Style\style.css" "%%~i" --output "%%~dpni.html"
24 if "!ERRORLEVEL!"=="0" (
25 echo. && echo Creating the document has failed^^!
26 echo. && pause && exit