Bump and pin nbsphinx version

stix2.0
Chris Lenk 2018-04-09 09:55:29 -04:00
parent f5d64279e0
commit 1d06e642a4
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
bumpversion bumpversion
ipython ipython
nbsphinx>=0.3.0 nbsphinx==0.3.2
pre-commit pre-commit
pytest pytest
pytest-cov pytest-cov

View File

@ -131,7 +131,7 @@ def _setup_workbench():
for obj_type in STIX_OBJS: for obj_type in STIX_OBJS:
new_class_dict = { new_class_dict = {
'__new__': _constructor_wrapper(obj_type), '__new__': _constructor_wrapper(obj_type),
'__doc__': 'Workbench wrapper around the `{0} <stix2.v20.sdo.html#stix2.v20.sdo.{0}>`__ object. {1}'.format(obj_type.__name__, STIX_OBJ_DOCS) '__doc__': 'Workbench wrapper around the `{0} <stix2.v20.sdo.rst#stix2.v20.sdo.{0}>`__ object. {1}'.format(obj_type.__name__, STIX_OBJ_DOCS)
} }
new_class = type(obj_type.__name__, (), new_class_dict) new_class = type(obj_type.__name__, (), new_class_dict)