Skip to content

Commit 1053571

Browse files
authored
Merge pull request #33 from pganssle/doc_reorg
Reorganize documentation, add inspect
2 parents 7df0f19 + ec40913 commit 1053571

File tree

6 files changed

+29
-0
lines changed

6 files changed

+29
-0
lines changed

changelog.d/33.doc.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Added section for API documentation, including documentation for the inspect submodule.

docs/api/index.rst

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
==========================
2+
Variants API Documentation
3+
==========================
4+
5+
.. toctree::
6+
:maxdepth: 2
7+
8+
variants
9+
variants.inspect <inspect>
10+

docs/api/inspect.rst

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

docs/api/variants.rst

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

docs/index.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,11 @@ Contents:
2121
authors
2222
changelog
2323

24+
.. toctree::
25+
:maxdepth: 2
26+
27+
API Documentation <api/index.rst>
28+
2429
Indices and tables
2530
==================
2631

docs/usage.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,5 @@ decorator, which will add the ``variant`` method to your original function.
77

88
.. module:: variants
99
.. autofunction:: variants.primary
10+
:noindex:
1011

0 commit comments

Comments
 (0)