mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Fix #2408: dummy builder not available in Makefile and make.bat
This commit is contained in:
parent
0c33d7df78
commit
5e0b542e62
1
CHANGES
1
CHANGES
@ -17,6 +17,7 @@ Bugs fixed
|
|||||||
* C++, type declarations are now using the prefixes ``typedef``, ``using``, and ``type``,
|
* C++, type declarations are now using the prefixes ``typedef``, ``using``, and ``type``,
|
||||||
depending on the style of declaration.
|
depending on the style of declaration.
|
||||||
* #2394: Fix Sphinx crashes when html_last_updated_fmt is invalid
|
* #2394: Fix Sphinx crashes when html_last_updated_fmt is invalid
|
||||||
|
* #2408: dummy builder not available in Makefile and make.bat
|
||||||
|
|
||||||
|
|
||||||
Release 1.4 (released Mar 28, 2016)
|
Release 1.4 (released Mar 28, 2016)
|
||||||
|
@ -520,6 +520,7 @@ help:
|
|||||||
\t@echo " doctest to run all doctests embedded in the documentation \
|
\t@echo " doctest to run all doctests embedded in the documentation \
|
||||||
(if enabled)"
|
(if enabled)"
|
||||||
\t@echo " coverage to run coverage check of the documentation (if enabled)"
|
\t@echo " coverage to run coverage check of the documentation (if enabled)"
|
||||||
|
\t@echo " dummy to check syntax errors of document sources"
|
||||||
|
|
||||||
.PHONY: clean
|
.PHONY: clean
|
||||||
clean:
|
clean:
|
||||||
@ -695,6 +696,12 @@ pseudoxml:
|
|||||||
\t$(SPHINXBUILD) -b pseudoxml $(ALLSPHINXOPTS) $(BUILDDIR)/pseudoxml
|
\t$(SPHINXBUILD) -b pseudoxml $(ALLSPHINXOPTS) $(BUILDDIR)/pseudoxml
|
||||||
\t@echo
|
\t@echo
|
||||||
\t@echo "Build finished. The pseudo-XML files are in $(BUILDDIR)/pseudoxml."
|
\t@echo "Build finished. The pseudo-XML files are in $(BUILDDIR)/pseudoxml."
|
||||||
|
|
||||||
|
.PHONY: dummy
|
||||||
|
dummy:
|
||||||
|
\t$(SPHINXBUILD) -b dummy $(ALLSPHINXOPTS) $(BUILDDIR)/dummy
|
||||||
|
\t@echo
|
||||||
|
\t@echo "Build finished. Dummy builder generates no files."
|
||||||
'''
|
'''
|
||||||
|
|
||||||
BATCHFILE = u'''\
|
BATCHFILE = u'''\
|
||||||
@ -739,6 +746,7 @@ if "%%1" == "help" (
|
|||||||
\techo. linkcheck to check all external links for integrity
|
\techo. linkcheck to check all external links for integrity
|
||||||
\techo. doctest to run all doctests embedded in the documentation if enabled
|
\techo. doctest to run all doctests embedded in the documentation if enabled
|
||||||
\techo. coverage to run coverage check of the documentation if enabled
|
\techo. coverage to run coverage check of the documentation if enabled
|
||||||
|
\techo. dummy to check syntax errors of document sources
|
||||||
\tgoto end
|
\tgoto end
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -969,6 +977,14 @@ if "%%1" == "pseudoxml" (
|
|||||||
\tgoto end
|
\tgoto end
|
||||||
)
|
)
|
||||||
|
|
||||||
|
if "%%1" == "dummy" (
|
||||||
|
\t%%SPHINXBUILD%% -b dummy %%ALLSPHINXOPTS%% %%BUILDDIR%%/dummy
|
||||||
|
\tif errorlevel 1 exit /b 1
|
||||||
|
\techo.
|
||||||
|
\techo.Build finished. Dummy builder generates no files.
|
||||||
|
\tgoto end
|
||||||
|
)
|
||||||
|
|
||||||
:end
|
:end
|
||||||
'''
|
'''
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user