diff --git a/doc/source/conf.py b/doc/source/conf.py index 3948bcb6..ff3782ef 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -13,10 +13,12 @@ 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('.')) +sys.path.insert(0, os.path.abspath('../..')) +import myhdl # -- General configuration ----------------------------------------------------- @@ -49,9 +51,9 @@ copyright = u'2014, Jan Decaluwe' # built documents. # # The short X.Y version. -version = '0.8' +# version = myhdl.__version__ # The full version, including alpha/beta/rc tags. -release = '0.8' +release = myhdl.__version__ # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages.