Skip to content

Commit

Permalink
Bind Functions Again, Write Presentation (#46)
Browse files Browse the repository at this point in the history
* [gha] move  into place

* [docs] add API documentation page

* [docs] summarize epiworldpy

* [docs] turn of recursive generation

* [doc] reintroduce epiworld summary

* [bind] bind those functions again

* [interactives] create, sequester

* [cleanup] misc cleanup tasks

* [presentation] polish
  • Loading branch information
IsaccBarker authored Oct 14, 2024
1 parent bf184a5 commit e6b0d9b
Show file tree
Hide file tree
Showing 39 changed files with 4,907 additions and 402 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/sphinx.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,16 @@ jobs:

# Building
- name: Render Quarto File
run: quarto render README.qmd --to rst && mv README.rst docs/index.rst
run: |
quarto render README.qmd --to rst
mv README.rst docs/index.rst
- name: Build HTML using Sphinx
run: sphinx-build -M html docs docs/build/

- name: Move Assets into Place
run: mv README_files docs/build/html

# Upload
- name: Upload artifacts
uses: actions/upload-pages-artifact@v3
Expand Down
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,7 @@ __pycache__/
compile_commands.json
*.html
*.ipynb
.nocheck/

*_files
!README_files
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
10 changes: 10 additions & 0 deletions docs/api.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
API
===

You can find the complete API documentation for `epiworldpy` below.

.. autosummary::
:toctree: generated
:recursive:

epiworldpy
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
Loading

0 comments on commit e6b0d9b

Please sign in to comment.