Updated GNU Wget binary to v1.18 (2016-06-09) with HTTPS support.
[LameXP.git] / etc / Deployment / _mkdocs.bat
blobcf617c692f1672a13fee60469923e11be197549c
1 @echo off
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 :: ------------------------------------------
9 :: Setup Paths
10 :: ------------------------------------------
12 call "%~dp0\_paths.bat"
14 :: ------------------------------------------
15 :: Create Documents
16 :: ------------------------------------------
18 for %%i in ("%~dp0\..\..\doc\*.md") do (
19         echo PANDOC: %%~nxi
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"
23                 pause && exit
24         )
27 echo.