@@ -19,6 +19,19 @@ ALLSPHINXOPTS = -d $(BUILDDIR)/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) .
19
19
# the i18n builder cannot share the environment and doctrees with the others
20
20
I18NSPHINXOPTS = $(PAPEROPT_$(PAPER ) ) $(SPHINXOPTS ) .
21
21
22
+ all : jupyter html more-sagemath-tutorials
23
+
24
+ more-sagemath-tutorials ::
25
+ rsync -av _build/html/ more-sagemath-tutorials/ --delete --exclude ' .ipynb_checkpoints' --exclude ' .doctrees' --exclude ' *.zip' --exclude ' sagebook*.pdf'
26
+
27
+ install :
28
+ zip -r more-sagemath-tutorials/more-sagemath-tutorials.zip more-sagemath-tutorials
29
+ rsync -ravz --delete -P more-sagemath-tutorials/ Nicolas.Thiery.name:www/more-sagemath-tutorials/
30
+
31
+ serve :
32
+ cd more-sagemath-tutorials && python -m http.server
33
+
34
+
22
35
.PHONY : help
23
36
help :
24
37
@echo " Please use \` make <target>' where <target> is one of"
@@ -256,7 +269,7 @@ automodules: $(PYRST)
256
269
257
270
% .rst : % .py
258
271
module=` echo $* | tr / .` ; \
259
- echo " .. automodule :: $$ module" > $@
272
+ echo " .. _ $$ module:\n\nautomodule :: $$ module" > $@
260
273
261
274
distclean :
262
275
rm $(PYRST )
0 commit comments