mirror of
https://github.com/myhdl/myhdl.git
synced 2024-12-14 07:44:38 +08:00
docs: use version from myhdl.__version__
This commit is contained in:
parent
ebb1b12ff8
commit
3b78a68981
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user