Skip to content

Commit 641fa02

Browse files
committed
MAINT: rm reference docs for doctests; html-only
Remove the reference docs for the doctests, because they pick up lots of failed doctests that are anyway tested in the test suite. Add html-only target.
1 parent f797e1d commit 641fa02

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

doc/Makefile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,12 +43,14 @@ api-stamp:
4343
@echo "Build API docs...done."
4444
@touch $@
4545

46-
html: api-stamp
46+
html-only:
4747
mkdir -p $(BUILDROOT)/html $(BUILDROOT)/doctrees
4848
$(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(BUILDROOT)/html
4949
@echo
5050
@echo "Build finished. The HTML pages are in $(BUILDROOT)/html."
5151

52+
html: api-stamp html-only
53+
5254
pickle:
5355
mkdir -p $(BUILDROOT)/pickle $(BUILDROOT)/doctrees
5456
$(SPHINXBUILD) -b pickle $(ALLSPHINXOPTS) $(BUILDROOT)/pickle
@@ -87,7 +89,7 @@ linkcheck:
8789
@echo "Link check complete; look for any errors in the above output " \
8890
"or in $(BUILDROOT)/linkcheck/output.txt."
8991

90-
doctest:
92+
doctest: api-clean
9193
$(SPHINXBUILD) -b doctest $(ALLSPHINXOPTS) $(BUILDROOT)/doctest
9294
@echo "Testing of doctests in the sources finished, look at the " \
9395
"results in _build/doctest/output.txt."

0 commit comments

Comments
 (0)