Skip to content

Commit

Permalink
Refactor API docs into separate sections
Browse files Browse the repository at this point in the history
  • Loading branch information
taldcroft committed Nov 19, 2023
1 parent 44a63c6 commit 44c3bfe
Show file tree
Hide file tree
Showing 5 changed files with 59 additions and 38 deletions.
42 changes: 4 additions & 38 deletions docs/api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,41 +7,7 @@ Table of contents
.. toctree::
:maxdepth: 2


Event models
------------

.. automodule:: kadi.events.models
:members:

Event queries
-------------

.. automodule:: kadi.events.query
:members:

Commands
--------

.. automodule:: kadi.commands.commands
:members:

.. automodule:: kadi.commands.observations
:members:

.. automodule:: kadi.commands.utils
:members:

Command states
--------------

.. automodule:: kadi.commands.states
:members:
:show-inheritance:


Validation
----------

.. automodule:: kadi.commands.validate
:members:
api_events
api_commands
api_states
api_validation
21 changes: 21 additions & 0 deletions docs/api_commands.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
====================================
Commands API
====================================

Commands
--------

.. automodule:: kadi.commands.commands
:members:

Observations
------------

.. automodule:: kadi.commands.observations
:members:

Utils
-----

.. automodule:: kadi.commands.utils
:members:
15 changes: 15 additions & 0 deletions docs/api_events.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
====================================
Events API
====================================

Event models
------------

.. automodule:: kadi.events.models
:members:

Event queries
-------------

.. automodule:: kadi.events.query
:members:
10 changes: 10 additions & 0 deletions docs/api_states.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
====================================
States API
====================================

Command states
--------------

.. automodule:: kadi.commands.states
:members:
:show-inheritance:
9 changes: 9 additions & 0 deletions docs/api_validation.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
====================================
Validation API
====================================

Validation
----------

.. automodule:: kadi.commands.validate
:members:

0 comments on commit 44c3bfe

Please sign in to comment.