X-Git-Url: https://svn.cri.ensmp.fr/git/linpy.git/blobdiff_plain/7b93cea1daf2889e9ee10ca9c22a1b5124404937..33d593f633df2de00010d668e3ef17f1b6152ac9:/doc/conf.py?ds=inline diff --git a/doc/conf.py b/doc/conf.py index 23a1b91..da25c6c 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -29,9 +29,7 @@ import os # Add any Sphinx extension module names here, as strings. They can be # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom # ones. -extensions = [ - 'sphinx.ext.mathjax', -] +extensions = [] # Add any paths that contain templates here, relative to this directory. templates_path = ['_templates'] @@ -54,9 +52,11 @@ copyright = '2014, MINES ParisTech' # built documents. # # The short X.Y version. -version = '' +with open('../linpy/_version.py') as file: + exec(file.read()) +version = __version__ # The full version, including alpha/beta/rc tags. -release = '' +release = __version__ # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. @@ -244,7 +244,7 @@ man_pages = [ # dir menu entry, description, category) texinfo_documents = [ ('index', 'LinPy', 'LinPy Documentation', - 'MINES ParisTech', 'LinPy', 'One line description of project.', + 'MINES ParisTech', 'LinPy', 'A polyheral library based on isl.', 'Miscellaneous'), ]