8000 bpo-36329: Remove 'make -C Doc serve' in favour of 'make -C Doc htmlview' by hugovk · Pull Request #32354 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

bpo-36329: Remove 'make -C Doc serve' in favour of 'make -C Doc htmlview' #32354

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Apr 29, 2022
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
Prev Previous commit
Next Next commit
bpo-36329: Keep serve target but tell to use htmlview instead
  • Loading branch information
hugovk committed Apr 8, 2022
commit 5ed07588130ea6d156d0167ba430e7b3f62a95a2
5 changes: 4 additions & 1 deletion Doc/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ ALLSPHINXOPTS = -b $(BUILDER) -d build/doctrees $(PAPEROPT_$(PAPER)) \
$(SPHINXOPTS) $(SPHINXERRORHANDLING) . build/$(BUILDER) $(SOURCES)

.PHONY: help build html htmlhelp latex text texinfo changes linkcheck \
suspicious coverage doctest pydoc-topics htmlview clean dist check \
suspicious coverage doctest pydoc-topics htmlview clean dist check serve \
autobuild-dev autobuild-stable venv

help:
Expand Down Expand Up @@ -216,6 +216,9 @@ check:
$(SPHINXLINT) -i tools -i $(VENVDIR) -i README.rst
$(SPHINXLINT) ../Misc/NEWS.d/next/

serve:
@echo "The serve target was removed, use htmlview instead (see bpo-36329)"

# Targets for daily automated doc build
# By default, Sphinx only rebuilds pages where the page content has changed.
# This means it doesn't always pick up changes to preferred link targets, etc
Expand Down
5 changes: 5 additions & 0 deletions Doc/make.bat
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ rem Targets that don't require sphinx-build
if "%1" EQU "" goto help
if "%1" EQU "help" goto help
if "%1" EQU "check" goto check
if "%1" EQU "serve" goto serve
if "%1" == "clean" (
rmdir /q /s "%BUILDDIR%"
goto end
Expand Down Expand Up @@ -182,5 +183,9 @@ goto end
cmd /S /C "%SPHINXLINT% -i tools"
goto end

:serve
echo.The serve target was removed, use htmlview instead (see bpo-36329)
goto end

:end
popd
0