forked from test_framework/pytest-bdd
use version from setup.py, closes #41
This commit is contained in:
parent
f153aad8d8
commit
a10770336c
13
docs/conf.py
13
docs/conf.py
|
@ -11,12 +11,15 @@
|
|||
# All configuration values have a default; values that are commented out
|
||||
# serve to show the default.
|
||||
|
||||
import pytest_bdd
|
||||
|
||||
# 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('.'))
|
||||
|
||||
import sys, os
|
||||
|
||||
sys.path.insert(0, os.path.abspath('..'))
|
||||
|
||||
import setup
|
||||
|
||||
# -- General configuration -----------------------------------------------------
|
||||
|
||||
|
@ -48,9 +51,9 @@ copyright = u'2013, Oleg Pidsadnyi'
|
|||
# built documents.
|
||||
#
|
||||
# The short X.Y version.
|
||||
version = pytest_bdd.__version__
|
||||
version = setup.version
|
||||
# The full version, including alpha/beta/rc tags.
|
||||
release = pytest_bdd.__version__
|
||||
release = setup.version
|
||||
|
||||
# The language for content autogenerated by Sphinx. Refer to documentation
|
||||
# for a list of supported languages.
|
||||
|
|
Loading…
Reference in New Issue