2 setlocal EnableDelayedExpansion
4 :: ------------------------------------------
6 :: ------------------------------------------
8 set "PATH_PANDOC=C:\Program Files (x86)\Pandoc"
9 set "PATH_DOXYGN=%~dp0\..\Prerequisites\Doxygen\doxygen.exe"
11 :: ------------------------------------------
13 :: ------------------------------------------
15 echo ===========================================================================
16 echo Building software documentation..."
17 echo ===========================================================================
22 for %%i in ("%~dp0\*.md") do (
24 "%PATH_PANDOC%\pandoc.exe" --from markdown_github+pandoc_title_block+header_attributes --to html5 --toc -N --standalone -H "%~dp0\etc\style\style.css" "%%~i" --output "%%~dpni.html"
25 if not "!ERRORLEVEL!"=="0" (
27 echo Something went wrong^^!
33 echo DOXYGEN: Doxyfile
34 "%PATH_DOXYGN%" "%~dp0\Doxyfile"
35 if not "!ERRORLEVEL!"=="0" (
37 echo Something went wrong^^!