Skip to content

Commit

Permalink
Add htmllive to make.bat (python#1373)
Browse files Browse the repository at this point in the history
* Add htmllive

* Fix typo

Co-authored-by: Hugo van Kemenade <[email protected]>

* Whitespace

---------

Co-authored-by: Hugo van Kemenade <[email protected]>
Co-authored-by: Adam Turner <[email protected]>
  • Loading branch information
3 people authored Sep 2, 2024
1 parent b28b066 commit b603868
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions make.bat
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ if not defined SPHINXBUILD (
)
set PYTHON=venv\Scripts\python
set SPHINXBUILD=venv\Scripts\sphinx-build
set SPHINXAUTOBUILD=venv\Scripts\sphinx-autobuild
)

if "%1" == "htmlview" (
Expand All @@ -80,6 +81,12 @@ if "%1" == "htmlview" (
goto end
)

if "%1" == "htmllive" (
%SPHINXAUTOBUILD% --re-ignore="/\.idea/|/venv/" --open-browser --delay 0 --port 55301 . %BUILDDIR%/html
if errorlevel 1 exit /b 1
goto end
)

%SPHINXBUILD% -M %1 "." %BUILDDIR% %_ALL_SPHINX_OPTS%
goto end

Expand Down

0 comments on commit b603868

Please sign in to comment.