diff --git a/docs/conf.py b/docs/conf.py index bd11c644688ecce0ee376b1eb859038b3ece8c04..a58e51a96d657a64a95d11abb9926719aaf701bc 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -16,9 +16,9 @@ import sys, os # If extensions (or modules to document with autodoc) are in another directory, # add these directories to sys.path here. If the directory is relative to the # documentation root, use os.path.abspath to make it absolute, like shown here. -sys.path.insert(0, os.path.abspath(os.path.join('..', '..'))) sys.path.insert(0, os.path.abspath('..')) +import pulsar # -- General configuration ----------------------------------------------------- @@ -50,9 +50,9 @@ copyright = u'2014, Galaxy Project' # built documents. # # The short X.Y version. -version = '0.2.0' +version = pulsar.__version__ # The full version, including alpha/beta/rc tags. -release = '0.2.0' +release = pulsar.__version__ # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages.