From: Alfredo Deza Date: Mon, 21 Oct 2013 13:41:12 +0000 (-0400) Subject: generate version from ceph_deploy directly X-Git-Tag: v1.3~12^2~4 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=7f2ffd6a915333893fdcacce81afb416c324225e;p=ceph-deploy.git generate version from ceph_deploy directly Signed-off-by: Alfredo Deza --- diff --git a/docs/source/conf.py b/docs/source/conf.py index a256357..0b35b1f 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -18,7 +18,8 @@ import 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('.')) +sys.path.insert(0, os.path.abspath('..')) +import ceph_deploy # -- General configuration ------------------------------------------------ @@ -54,9 +55,9 @@ copyright = u'2013, Inktank' # built documents. # # The short X.Y version. -version = '1.3' +version = ceph_deploy.__version__ # The full version, including alpha/beta/rc tags. -release = '1.3' +release = ceph_deploy.__version__ # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. @@ -261,5 +262,6 @@ texinfo_documents = [ #texinfo_no_detailmenu = False +# XXX Uncomment when we are ready to link to ceph docs # Example configuration for intersphinx: refer to the Python standard library. -intersphinx_mapping = {'http://docs.python.org/': None} +#intersphinx_mapping = {'http://docs.python.org/': None}