2 setlocal EnableDelayedExpansion
4 "%~dp0\..\Utilities\CEcho.exe" cyan "\n==========================================================================="
5 "%~dp0\..\Utilities\CEcho.exe" cyan "Building software documentation..."
6 "%~dp0\..\Utilities\CEcho.exe" cyan "===========================================================================\n"
8 :: ------------------------------------------
10 :: ------------------------------------------
12 call "%~dp0\_paths.bat"
14 :: ------------------------------------------
16 :: ------------------------------------------
18 for %%i in ("%~dp0\..\..\doc\*.md") do (
20 "%PATH_PANDOC%\pandoc.exe" --from markdown_github+pandoc_title_block+header_attributes --to html5 --toc -N --standalone -H "%~dp0\..\Style\style.css" "%%~i" --output "%%~dpni.html"
21 if not "!ERRORLEVEL!"=="0" (
22 "%~dp0\..\Utilities\CEcho.exe" red "\nSomething went wrong^^!\n"