Skip to content

Commit 8fae22d

Browse files
authored
Merge pull request #72 from ggurioli/branch_conf
Import meta in conf.py
2 parents c740a8d + 7ac4259 commit 8fae22d

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

docs/source/conf.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
# add these directories to sys.path here. If the directory is relative to the
2424
# documentation root, use os.path.abspath to make it absolute, like shown here.
2525
sys.path.insert(0, os.path.abspath('../..'))
26+
import bladex.meta as meta
2627

2728
# -- General configuration ------------------------------------------------
2829

@@ -70,8 +71,8 @@
7071

7172
# General information about the project.
7273
project = u'BladeX'
73-
copyright = u'2018-2019, BladeX contributors'
74-
author = u'BladeX contributors'
74+
copyright = meta.__copyright__
75+
author = meta.__author__
7576

7677
# autoclass
7778
autoclass_content = 'both'
@@ -81,7 +82,7 @@
8182
# built documents.
8283
#
8384
# The short X.Y version.
84-
version = '0.1'
85+
version = meta.__version__
8586
# The full version, including alpha/beta/rc tags.
8687
release = version
8788

0 commit comments

Comments
 (0)