File tree Expand file tree Collapse file tree 1 file changed +26
-1
lines changed Expand file tree Collapse file tree 1 file changed +26
-1
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ I18NSPHINXOPTS = $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) .
21
21
22
22
.PHONY : help clean html dirhtml singlehtml pickle json htmlhelp qthelp devhelp epub latex latexpdf text man changes linkcheck doctest gettext
23
23
24
- all : html
24
+ all : prepare html
25
25
26
26
help :
27
27
@echo " Please use \` make <target>' where <target> is one of"
@@ -50,12 +50,21 @@ help:
50
50
51
51
clean :
52
52
rm -rf $(BUILDDIR ) /*
53
+ rm -rf examples
54
+ rm -rf users/installing.rst
55
+ rm -rf _templates/gallery.html
53
56
54
57
html :
55
58
$(SPHINXBUILD ) -b html $(ALLSPHINXOPTS ) $(BUILDDIR ) /html -W
56
59
@echo
57
60
@echo " Build finished. The HTML pages are in $( BUILDDIR) /html."
58
61
62
+ html-small-plots :
63
+ $(SPHINXBUILD ) -D plot_formats=png:80 -b html $(ALLSPHINXOPTS ) $(BUILDDIR ) /html -W
64
+ @echo
65
+ @echo " Build finished. The HTML pages are in $( BUILDDIR) /html."
66
+
67
+
59
68
dirhtml :
60
69
$(SPHINXBUILD ) -b dirhtml $(ALLSPHINXOPTS ) $(BUILDDIR ) /dirhtml
61
70
@echo
@@ -177,3 +186,19 @@ pseudoxml:
177
186
$(SPHINXBUILD ) -b pseudoxml $(ALLSPHINXOPTS ) $(BUILDDIR ) /pseudoxml
178
187
@echo
179
188
@echo " Build finished. The pseudo-XML files are in $( BUILDDIR) /pseudoxml."
189
+
190
+
191
+ prepare : mpl_examples mpl_toolkits/axes_grid1/examples \
192
+ mpl_toolkits/axisartist/examples users/installing.rst
193
+
194
+ mpl_examples : ../examples
195
+ ln -s $< $@
196
+
197
+ mpl_toolkits/axes_grid1/examples :
198
+ ln -s ../../../examples/axes_grid1/ $@
199
+
200
+ mpl_toolkits/axisartist/examples :
201
+ ln -s ../../../examples/axisartist/ $@
202
+
203
+ users/installing.rst : ../INSTALL
204
+ cp $< $@
You can’t perform that action at this time.
0 commit comments