From 0fc0ccfa4d4c5f1d27e80e24b61738253804fc83 Mon Sep 17 00:00:00 2001 From: Takayuki Shimizukawa Date: Sat, 5 Jul 2014 09:30:11 +0900 Subject: [PATCH] * sync message text in Makefile/make.bat and make-mode. * update CHANGES for adding coverage targets. --- CHANGES | 2 ++ sphinx/quickstart.py | 8 ++++---- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/CHANGES b/CHANGES index a9641c966..19a0d25fe 100644 --- a/CHANGES +++ b/CHANGES @@ -152,6 +152,8 @@ Bugs fixed mixed-content error on HTTPS server. Thanks to sbrandtb and robo9k. * PR#157: autodoc remove spurious signatures from @property decorated attributes. Thanks to David Ham. +* PR#159: Add coverage targets to quickstart generated Makefile and make.bat. + Thanks to Matthias Troffaes. Documentation ------------- diff --git a/sphinx/quickstart.py b/sphinx/quickstart.py index 0e1702610..fdfb81062 100644 --- a/sphinx/quickstart.py +++ b/sphinx/quickstart.py @@ -487,7 +487,7 @@ help: \t@echo " linkcheck to check all external links for integrity" \t@echo " doctest to run all doctests embedded in the documentation \ (if enabled)" -\t@echo " coverage to check coverage of the documentation if enabled" +\t@echo " coverage to run coverage check of the documentation (if enabled)" clean: \trm -rf $(BUILDDIR)/* @@ -612,7 +612,7 @@ doctest: coverage: \t$(SPHINXBUILD) -b coverage $(ALLSPHINXOPTS) $(BUILDDIR)/coverage -\t@echo "Documentation coverage is finished, look at the " \\ +\t@echo "Testing of coverage in the sources finished, look at the " \\ \t "results in $(BUILDDIR)/coverage/python.txt." xml: @@ -666,7 +666,7 @@ if "%%1" == "help" ( \techo. pseudoxml to make pseudoxml-XML files for display purposes \techo. linkcheck to check all external links for integrity \techo. doctest to run all doctests embedded in the documentation if enabled -\techo. coverage to check coverage of the documentation if enabled +\techo. coverage to run coverage check of the documentation if enabled \tgoto end ) @@ -868,7 +868,7 @@ if "%%1" == "coverage" ( \t%%SPHINXBUILD%% -b coverage %%ALLSPHINXOPTS%% %%BUILDDIR%%/coverage \tif errorlevel 1 exit /b 1 \techo. -\techo.Documentation coverage is finished, look at the ^ +\techo.Testing of coverage in the sources finished, look at the ^ results in %%BUILDDIR%%/coverage/python.txt. \tgoto end )