Files
GDevelop/scripts/GenerateAllDocs.bat
T

24 lines
863 B
Batchfile

@echo off
rem Script launching the generation of the documentations of all modules
rem Install globally doxgen and jsdoc before starting it.
echo Generating all docs...
cd ..
cd Core\docs
doxygen > ..\..\scripts\logs\CoreDoxygenLog.txt 2> ..\..\scripts\logs\CoreDoxygenWarningLog.txt
IF NOT ERRORLEVEL 0 echo "Error during doc generation"
cd ..\..
cd GDJS\docs
doxygen > ..\..\scripts\logs\GDJSDoxygenLog.txt 2> ..\..\scripts\logs\GDJSDoxygenWarningLog.txt
IF NOT ERRORLEVEL 0 echo "Error during doc generation"
cd ..\..
cd GDCpp\docs
doxygen > ..\..\scripts\logs\GDCppDoxygenLog.txt 2> ..\..\scripts\logs\GDCppDoxygenWarningLog.txt
IF NOT ERRORLEVEL 0 echo "Error during doc generation"
cd ..\..
cd GDJS
npm install
jsdoc -c docs/jsdoc.conf.json -t docs/jaguarjs-jsdoc docs/DocMainPage.md
IF NOT ERRORLEVEL 0 echo "Error during doc generation"
cd ..
cd scripts