Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Doc/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ check:
$(PYTHON) tools/rstlint.py -i tools -i $(VENVDIR) -i README.rst

serve:
$(PYTHON) ../Tools/scripts/serve.py build/html
$(PYTHON) -m http.server -d build/html

# Targets for daily automated doc build
# By default, Sphinx only rebuilds pages where the page content has changed.
Expand Down
2 changes: 1 addition & 1 deletion Doc/make.bat
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ cmd /S /C "%PYTHON% tools\rstlint.py -i tools"
goto end

:serve
cmd /S /C "%PYTHON% ..\Tools\scripts\serve.py "%BUILDDIR%\html""
cmd /S /C "%PYTHON% -m http.server -d "%BUILDDIR%\html""
goto end

:end
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
make serve uses :mod:`http.server` with ``-d`` parameter instead of
``Tools/scripts/server.py``. Contributed by Stéphane Wirtel