##// END OF EJS Templates
Add info make target that was missing in old Sphinx
Takafumi Arakaki -
Show More
@@ -23,6 +23,8 b' help:'
23 23 @echo " pickle to make pickle files (usable by e.g. sphinx-web)"
24 24 @echo " htmlhelp to make HTML files and a HTML help project"
25 25 @echo " latex to make LaTeX files, you can set PAPER=a4 or PAPER=letter"
26 @echo " texinfo to make Texinfo files"
27 @echo " info to make Texinfo files and run them through makeinfo"
26 28 @echo " changes to make an overview over all changed/added/deprecated items"
27 29 @echo " linkcheck to check all external links for integrity"
28 30 @echo
@@ -119,3 +121,18 b' nightly: dist'
119 121
120 122 gh-pages: clean html
121 123 python gh-pages.py
124
125 texinfo:
126 mkdir -p $(BUILDDIR)/texinfo
127 $(SPHINXBUILD) -b texinfo $(ALLSPHINXOPTS) $(BUILDDIR)/texinfo
128 @echo
129 @echo "Build finished. The Texinfo files are in $(BUILDDIR)/texinfo."
130 @echo "Run \`make' in that directory to run these through makeinfo" \
131 "(use \`make info' here to do that automatically)."
132
133 info:
134 mkdir -p $(BUILDDIR)/texinfo
135 $(SPHINXBUILD) -b texinfo $(ALLSPHINXOPTS) $(BUILDDIR)/texinfo
136 @echo "Running Texinfo files through makeinfo..."
137 make -C $(BUILDDIR)/texinfo info
138 @echo "makeinfo finished; the Info files are in $(BUILDDIR)/texinfo."
@@ -208,6 +208,19 b' latex_documents = ['
208 208 latex_use_modindex = True
209 209
210 210
211 # Options for texinfo output
212 # --------------------------
213
214 texinfo_documents = [
215 (master_doc, 'ipython', 'IPython Documentation',
216 'The IPython Development Team',
217 'IPython',
218 'IPython Documentation',
219 'Programming',
220 1),
221 ]
222
223
211 224 # Cleanup
212 225 # -------
213 226 # delete release info to avoid pickling errors from sphinx
General Comments 0
You need to be logged in to leave comments. Login now