diff --git a/docs/api/equivalence/patterns/compare/stix2.equivalence.patterns.compare.comparison.rst b/docs/api/equivalence/patterns/compare/stix2.equivalence.patterns.compare.comparison.rst new file mode 100644 index 0000000..8e53da7 --- /dev/null +++ b/docs/api/equivalence/patterns/compare/stix2.equivalence.patterns.compare.comparison.rst @@ -0,0 +1,5 @@ +comparison +============== + +.. automodule:: stix2.equivalence.patterns.compare.comparison + :members: diff --git a/docs/api/equivalence/patterns/compare/stix2.equivalence.patterns.compare.observation.rst b/docs/api/equivalence/patterns/compare/stix2.equivalence.patterns.compare.observation.rst new file mode 100644 index 0000000..1abd64e --- /dev/null +++ b/docs/api/equivalence/patterns/compare/stix2.equivalence.patterns.compare.observation.rst @@ -0,0 +1,5 @@ +observation +============== + +.. automodule:: stix2.equivalence.patterns.compare.observation + :members: diff --git a/docs/api/equivalence/patterns/transform/stix2.equivalence.patterns.transform.comparison.rst b/docs/api/equivalence/patterns/transform/stix2.equivalence.patterns.transform.comparison.rst new file mode 100644 index 0000000..2cf8388 --- /dev/null +++ b/docs/api/equivalence/patterns/transform/stix2.equivalence.patterns.transform.comparison.rst @@ -0,0 +1,5 @@ +comparison +============== + +.. automodule:: stix2.equivalence.patterns.transform.comparison + :members: diff --git a/docs/api/equivalence/patterns/transform/stix2.equivalence.patterns.transform.observation.rst b/docs/api/equivalence/patterns/transform/stix2.equivalence.patterns.transform.observation.rst new file mode 100644 index 0000000..1815e7e --- /dev/null +++ b/docs/api/equivalence/patterns/transform/stix2.equivalence.patterns.transform.observation.rst @@ -0,0 +1,5 @@ +observation +============== + +.. automodule:: stix2.equivalence.patterns.transform.observation + :members: diff --git a/docs/api/equivalence/patterns/transform/stix2.equivalence.patterns.transform.specials.rst b/docs/api/equivalence/patterns/transform/stix2.equivalence.patterns.transform.specials.rst new file mode 100644 index 0000000..7930ae2 --- /dev/null +++ b/docs/api/equivalence/patterns/transform/stix2.equivalence.patterns.transform.specials.rst @@ -0,0 +1,5 @@ +specials +============== + +.. automodule:: stix2.equivalence.patterns.transform.specials + :members: diff --git a/docs/api/equivalence/stix2.equivalence.patterns.rst b/docs/api/equivalence/stix2.equivalence.patterns.rst new file mode 100644 index 0000000..32377f1 --- /dev/null +++ b/docs/api/equivalence/stix2.equivalence.patterns.rst @@ -0,0 +1,5 @@ +patterns +============== + +.. automodule:: stix2.equivalence.patterns + :members: diff --git a/docs/api/stix2.equivalence.rst b/docs/api/stix2.equivalence.rst new file mode 100644 index 0000000..b886fc7 --- /dev/null +++ b/docs/api/stix2.equivalence.rst @@ -0,0 +1,5 @@ +equivalence +============== + +.. automodule:: stix2.equivalence + :members: diff --git a/stix2/__init__.py b/stix2/__init__.py index 97790aa..72fb29b 100644 --- a/stix2/__init__.py +++ b/stix2/__init__.py @@ -6,6 +6,7 @@ confidence datastore environment + equivalence exceptions markings parsing diff --git a/stix2/equivalence/__init__.py b/stix2/equivalence/__init__.py index e69de29..c67e649 100644 --- a/stix2/equivalence/__init__.py +++ b/stix2/equivalence/__init__.py @@ -0,0 +1,9 @@ +"""Python APIs for STIX 2 Semantic Equivalence. + +.. autosummary:: + :toctree: equivalence + + patterns + +| +""" diff --git a/stix2/equivalence/patterns/__init__.py b/stix2/equivalence/patterns/__init__.py index c792574..85ec9ab 100644 --- a/stix2/equivalence/patterns/__init__.py +++ b/stix2/equivalence/patterns/__init__.py @@ -1,3 +1,14 @@ +"""Python APIs for STIX 2 Pattern Semantic Equivalence. + +.. autosummary:: + :toctree: patterns + + compare + transform + +| +""" + import stix2 from stix2.equivalence.patterns.compare.observation import ( observation_expression_cmp, diff --git a/stix2/equivalence/patterns/compare/__init__.py b/stix2/equivalence/patterns/compare/__init__.py index e4bcc8f..e9d7ec9 100644 --- a/stix2/equivalence/patterns/compare/__init__.py +++ b/stix2/equivalence/patterns/compare/__init__.py @@ -1,5 +1,13 @@ """ Some generic comparison utility functions. + +.. autosummary:: + :toctree: compare + + comparison + observation + +| """ diff --git a/stix2/equivalence/patterns/transform/__init__.py b/stix2/equivalence/patterns/transform/__init__.py index 84a993c..6e2b116 100644 --- a/stix2/equivalence/patterns/transform/__init__.py +++ b/stix2/equivalence/patterns/transform/__init__.py @@ -1,5 +1,14 @@ """ Generic AST transformation classes. + +.. autosummary:: + :toctree: transform + + comparison + observation + specials + +| """