Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ab956b1

Browse files
committed
FIX travis now builds docs with new makefile
1 parent ed05541 commit ab956b1

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ script:
168168
fi
169169
else
170170
cd doc
171-
python make.py html -n 2
171+
make html-small-plots -j 2
172172
# We don't build the LaTeX docs here, so linkchecker will complain
173173
touch build/html/Matplotlib.pdf
174174
# Linkchecker only works with python 2.7 for the time being

doc/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,12 +54,12 @@ clean:
5454
rm -rf users/installing.rst
5555
rm -rf _templates/gallery.html
5656

57-
html:
57+
html: prepare
5858
$(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html -W
5959
@echo
6060
@echo "Build finished. The HTML pages are in $(BUILDDIR)/html."
6161

62-
html-small-plots:
62+
html-small-plots: prepare
6363
$(SPHINXBUILD) -D plot_formats=png:80 -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html -W
6464
@echo
6565
@echo "Build finished. The HTML pages are in $(BUILDDIR)/html."

0 commit comments

Comments
 (0)