Update docs dependencies

Fixes issues with doc builds failing.
pull/3/head
Chris Lenk 2022-10-17 11:53:28 -04:00
parent 20bef319a2
commit 8c29b12fa1
28 changed files with 52 additions and 54 deletions

View File

@ -1,5 +1,5 @@
pattern pattern
============== =========================
.. automodule:: stix2.equivalence.pattern .. automodule:: stix2.equivalence.pattern
:members: :members:

View File

@ -1,4 +1,4 @@
confidence confidence
================ ================
.. automodule:: stix2.confidence .. automodule:: stix2.confidence

View File

@ -1,4 +1,4 @@
datastore datastore
=============== ===============
.. automodule:: stix2.datastore .. automodule:: stix2.datastore

View File

@ -1,4 +1,4 @@
environment environment
================= =================
.. automodule:: stix2.environment .. automodule:: stix2.environment

View File

@ -1,5 +1,5 @@
equivalence equivalence
============== =================
.. automodule:: stix2.equivalence .. automodule:: stix2.equivalence
:members: :members:

View File

@ -1,4 +1,4 @@
exceptions exceptions
================ ================
.. automodule:: stix2.exceptions .. automodule:: stix2.exceptions

View File

@ -1,4 +1,4 @@
markings markings
============== ==============
.. automodule:: stix2.markings .. automodule:: stix2.markings

View File

@ -1,5 +1,5 @@
parsing parsing
=============== =============
.. automodule:: stix2.parsing .. automodule:: stix2.parsing
:members: :members:

View File

@ -1,5 +1,5 @@
pattern_visitor pattern_visitor
================ =====================
.. automodule:: stix2.pattern_visitor .. automodule:: stix2.pattern_visitor
:members: :members:

View File

@ -1,4 +1,4 @@
patterns patterns
============== ==============
.. automodule:: stix2.patterns .. automodule:: stix2.patterns

View File

@ -1,4 +1,4 @@
properties properties
================ ================
.. automodule:: stix2.properties .. automodule:: stix2.properties

View File

@ -1,5 +1,5 @@
serialization serialization
================ ===================
.. automodule:: stix2.serialization .. automodule:: stix2.serialization
:members: :members:

View File

@ -1,4 +1,4 @@
utils utils
=========== ===========
.. automodule:: stix2.utils .. automodule:: stix2.utils

View File

@ -1,4 +1,4 @@
v20 v20
========= =========
.. automodule:: stix2.v20 .. automodule:: stix2.v20

View File

@ -1,4 +1,4 @@
v21 v21
========= =========
.. automodule:: stix2.v21 .. automodule:: stix2.v21

View File

@ -1,5 +1,5 @@
versioning versioning
=============== ================
.. automodule:: stix2.versioning .. automodule:: stix2.versioning
:members: :members:

View File

@ -1,4 +1,4 @@
workbench workbench
=============== ===============
.. automodule:: stix2.workbench .. automodule:: stix2.workbench

View File

@ -40,7 +40,6 @@ author = 'OASIS Open'
version = __version__ version = __version__
release = __version__ release = __version__
language = None
exclude_patterns = ['_build', '_templates', 'Thumbs.db', '.DS_Store', 'guide/.ipynb_checkpoints'] exclude_patterns = ['_build', '_templates', 'Thumbs.db', '.DS_Store', 'guide/.ipynb_checkpoints']
pygments_style = 'sphinx' pygments_style = 'sphinx'
todo_include_todos = False todo_include_todos = False
@ -102,8 +101,8 @@ class STIXPropertyDocumenter(ClassDocumenter):
issubclass(member, _STIXBase) and \ issubclass(member, _STIXBase) and \
hasattr(member, '_properties') hasattr(member, '_properties')
def add_content(self, more_content, no_docstring=False): def add_content(self, more_content):
ClassDocumenter.add_content(self, more_content, no_docstring) ClassDocumenter.add_content(self, more_content)
obj = self.object obj = self.object
self.add_line(':Properties:', '<stixattr>') self.add_line(':Properties:', '<stixattr>')

View File

@ -1,12 +1,12 @@
bumpversion bumpversion
ipython ipython
nbconvert<6 nbconvert
nbsphinx==0.8.6 nbsphinx==0.8.6
pre-commit pre-commit
pygments<3,>=2.4.1 pygments<3,>=2.4.1
pytest pytest
pytest-cov pytest-cov
sphinx<2 sphinx<6
sphinx-prompt sphinx-prompt
tox tox

View File

@ -119,7 +119,6 @@ class Environment(DataStoreMixin):
.. automethod:: get .. automethod:: get
.. automethod:: all_versions .. automethod:: all_versions
.. automethod:: query .. automethod:: query
.. automethod:: creator_of
.. automethod:: relationships .. automethod:: relationships
.. automethod:: related_to .. automethod:: related_to
.. automethod:: add .. automethod:: add

View File

@ -244,7 +244,7 @@ def partial_timestamp_based(t1, t2, tdelta):
def partial_list_based(l1, l2): def partial_list_based(l1, l2):
"""Performs a partial list matching via finding the intersection between """Performs a partial list matching via finding the intersection between
common values. Repeated values are counted only once. This method can be common values. Repeated values are counted only once. This method can be
used for *_refs equality checks when de-reference is not possible. used for _refs equality checks when de-reference is not possible.
Args: Args:
l1: A list of values. l1: A list of values.
@ -262,7 +262,7 @@ def partial_list_based(l1, l2):
def exact_match(val1, val2): def exact_match(val1, val2):
"""Performs an exact value match based on two values. This method can be """Performs an exact value match based on two values. This method can be
used for *_ref equality check when de-reference is not possible. used for _ref equality check when de-reference is not possible.
Args: Args:
val1: A value suitable for an equality test. val1: A value suitable for an equality test.