Skip to content

Commit

Permalink
[docs] add API documentation page
Browse files Browse the repository at this point in the history
  • Loading branch information
IsaccBarker committed Sep 18, 2024
1 parent 4ea141c commit 66034a2
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ The `epiworld` module is already
- clone this repository
- `pip install ./epiworldpy`

# API

You can find API documentation on the [API page](/api.html).

# Examples

## Basic
Expand Down
5 changes: 5 additions & 0 deletions docs/api.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
API
===

.. autosummary::
:toctree: generated
1 change: 1 addition & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
extensions = [
'sphinx.ext.autodoc',
'sphinx.ext.intersphinx',
'sphinx.ext.autodoc',
'sphinx.ext.autosummary',
'sphinx.ext.napoleon',
]
Expand Down

0 comments on commit 66034a2

Please sign in to comment.