diff options
author | Takafumi Arakaki <aka.tkf@gmail.com> | 2012-07-04 18:42:13 +0200 |
---|---|---|
committer | Charles Harris <charlesr.harris@gmail.com> | 2013-03-02 14:06:51 -0700 |
commit | b73eaab2fe875b0fdca1176cbdb55a4b8fcdc098 (patch) | |
tree | 1e7f6c4a9247173e6551477880c8102d034e8ffb | |
parent | 6f23bce1530d032012dbd60929fb9def84c36467 (diff) | |
download | numpy-b73eaab2fe875b0fdca1176cbdb55a4b8fcdc098.tar.gz |
Add texinfo build target for document
-rw-r--r-- | doc/Makefile | 13 | ||||
-rw-r--r-- | doc/source/conf.py | 12 |
2 files changed, 25 insertions, 0 deletions
diff --git a/doc/Makefile b/doc/Makefile index 03b327079..52dd1ef06 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -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." diff --git a/doc/source/conf.py b/doc/source/conf.py index ec72bf0d1..f22505f97 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -200,6 +200,18 @@ latex_use_modindex = False # ----------------------------------------------------------------------------- +# 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} |