use stix2 version to update documentation

master
Emmanuelle Vargas-Gonzalez 2018-11-28 09:20:26 -05:00
parent 8d24015186
commit 7aad97307e
2 changed files with 3 additions and 4 deletions

View File

@ -6,6 +6,7 @@ from six import class_types
from sphinx.ext.autodoc import ClassDocumenter
from stix2.base import _STIXBase
from stix2.version import __version__
sys.path.insert(0, os.path.abspath('..'))
@ -34,8 +35,8 @@ project = 'stix2'
copyright = '2017, OASIS Open'
author = 'OASIS Open'
version = '1.1.0'
release = '1.1.0'
version = __version__
release = __version__
language = None
exclude_patterns = ['_build', '_templates', 'Thumbs.db', '.DS_Store', 'guide/.ipynb_checkpoints']

View File

@ -5,8 +5,6 @@ tag = True
[bumpversion:file:stix2/version.py]
[bumpversion:file:docs/conf.py]
[metadata]
license_file = LICENSE