Permalink
Browse files

Add texinfo build target for document

  • Loading branch information...
1 parent e15d0bd commit 824866f9ae8da357151c79d821f566b738cd900f @tkf tkf committed Jul 4, 2012
Showing with 25 additions and 0 deletions.
  1. +13 −0 doc/Makefile
  2. +12 −0 doc/source/conf.py
View
@@ -166,3 +166,16 @@ linkcheck: generate
@echo
@echo "Link check complete; look for any errors in the above output " \
"or in build/linkcheck/output.txt."
+
+texinfo:
+ $(SPHINXBUILD) -b texinfo $(ALLSPHINXOPTS) build/texinfo
+ @echo
+ @echo "Build finished. The Texinfo files are in build/texinfo."
+ @echo "Run \`make' in that directory to run these through makeinfo" \
+ "(use \`make info' here to do that automatically)."
+
+info:
+ $(SPHINXBUILD) -b texinfo $(ALLSPHINXOPTS) build/texinfo
+ @echo "Running Texinfo files through makeinfo..."
+ make -C build/texinfo info
+ @echo "makeinfo finished; the Info files are in build/texinfo."
View
@@ -215,6 +215,18 @@
# -----------------------------------------------------------------------------
+# Texinfo output
+# -----------------------------------------------------------------------------
+
+texinfo_documents = [
+ ("contents", 'numpy', 'Numpy Documentation', _stdauthor, 'Numpy',
+ "NumPy: array processing for numbers, strings, records, and objects.",
+ 'Programming',
+ 1),
+]
+
+
+# -----------------------------------------------------------------------------
# Intersphinx configuration
# -----------------------------------------------------------------------------
intersphinx_mapping = {'http://docs.python.org/dev': None}

0 comments on commit 824866f

Please sign in to comment.