Skip to content

Commit 2dc8a97

Browse files
committed
Fix documentation links for v20
1 parent 60c3aa0 commit 2dc8a97

13 files changed

+34
-29
lines changed

docs/api/stix2.common.rst

Lines changed: 0 additions & 5 deletions
This file was deleted.

docs/api/stix2.observables.rst

Lines changed: 0 additions & 5 deletions
This file was deleted.

docs/api/stix2.sdo.rst

Lines changed: 0 additions & 5 deletions
This file was deleted.

docs/api/stix2.sro.rst

Lines changed: 0 additions & 5 deletions
This file was deleted.

docs/api/stix2.v20.common.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
common
2+
================
3+
4+
.. automodule:: stix2.v20.common
5+
:members:

docs/api/stix2.v20.observables.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
observables
2+
=====================
3+
4+
.. automodule:: stix2.v20.observables
5+
:members:

docs/api/stix2.v20.sdo.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
sdo
2+
=============
3+
4+
.. automodule:: stix2.v20.sdo
5+
:members:

docs/api/stix2.v20.sro.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
sro
2+
=============
3+
4+
.. automodule:: stix2.v20.sro
5+
:members:

docs/api_ref.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,9 @@ API Reference
44
This section of documentation contains information on all of the classes and
55
functions in the ``stix2`` API, as given by the package's docstrings.
66

7+
.. note::
8+
All the classes and functions detailed in the pages below are importable
9+
directly from `stix2`. See also:
10+
:ref:`How imports will work <guide/ts_support.ipynb#How-imports-will-work>`.
11+
712
.. automodule:: stix2

docs/guide/creating.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -502,7 +502,7 @@
502502
"source": [
503503
"As with indicators, the ``type``, ``id``, ``created``, and ``modified`` properties will be set automatically if not provided. For Malware objects, the ``labels`` and ``name`` properties must be provided.\n",
504504
"\n",
505-
"You can see the full list of SDO classes [here](../api/stix2.sdo.rst)."
505+
"You can see the full list of SDO classes [here](../api/stix2.v20.sdo.rst)."
506506
]
507507
},
508508
{

0 commit comments

Comments
 (0)