diff --git a/docs/conf.py b/docs/conf.py index fe3f65e..760f97f 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -18,7 +18,9 @@ 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('..')) + +from channels import __version__ # noqa # -- General configuration ------------------------------------------------ @@ -51,9 +53,9 @@ copyright = u'2015, Andrew Godwin' # built documents. # # The short X.Y version. -version = '1.0' +version = __version__ # The full version, including alpha/beta/rc tags. -release = '1.0' +release = __version__ # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages.