Files
GDevelop/scripts/GenerateAllDocs.bat
Florian Rival 2c4fa1d1c2 Switch the game engine documentation to TypeDoc (#3593)
* This adds link between types, a more readable rendering, a better search and, more generally, makes the [game engine documentation](https://docs.gdevelop-app.com/GDJS%20Runtime%20Documentation/index.html) much easier to browse.
2022-02-03 13:58:44 +01:00

20 lines
625 B
Batchfile

@echo off
rem Script launching the generation of the documentations of all modules
rem Install globally doxgen 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 GDJS
npm install
npm run generate-doc
IF NOT ERRORLEVEL 0 echo "Error during doc generation"
cd ..
cd scripts