mirror of
https://github.com/cosinekitty/astronomy.git
synced 2026-05-24 08:45:55 -04:00
Fixed Windows build issue in makedoc.bat.
This issue affected maintainers (mostly me) only. Developers who are using Astronomy Engine do not need to worry about this. Running the source generator on Windows was broken because I forgot to copy a step over from the Linux build that prevents building tutorial pages in the master branch. I didn't notice this until now because makedoc.bat also had a bug where it detected an error but did not stop execution... it just kept going and made it hard to notice something was wrong.
This commit is contained in:
@@ -126,13 +126,16 @@ if errorlevel 1 (exit /b 1)
|
||||
check_internal_links.py ..\source\js\README.md
|
||||
if errorlevel 1 (exit /b 1)
|
||||
|
||||
echo.Making documentation in HTML format for local viewing.
|
||||
if exist html (
|
||||
rd /s/q html
|
||||
)
|
||||
call npm run docs:html
|
||||
if errorlevel 1 (
|
||||
echo.FATAL: error in jsdoc
|
||||
if exist ..\tutorials (
|
||||
echo.Making documentation in HTML format for local viewing.
|
||||
if exist html (
|
||||
rd /s/q html
|
||||
)
|
||||
call npm run docs:html
|
||||
if errorlevel 1 (
|
||||
echo.FATAL: error in jsdoc
|
||||
exit /b 1
|
||||
)
|
||||
)
|
||||
|
||||
if exist disable_generate_c_docs (
|
||||
|
||||
Reference in New Issue
Block a user