Skip to content

Commit bb56a5f

Browse files
author
Anne Hartebrodt
committed
update documentation
1 parent cece161 commit bb56a5f

3 files changed

Lines changed: 13 additions & 9 deletions

File tree

.github/workflows/static.yaml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,11 @@ jobs:
2020

2121
- name: Install dependencies
2222
run: |
23-
pip install sphinx sphinx-rtd-theme
24-
pip install . # This installs your package so Sphinx can import it
25-
23+
python -m pip install --upgrade pip
24+
pip install sphinx sphinx-rtd-theme sphinx-autodoc-typehints
25+
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
26+
pip install . # Install the local package to make it importable
27+
2628
- name: Build Sphinx Documentation
2729
run: |
2830
sphinx-build -b html docs/source docs/build/html

docs/source/index.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,5 @@ documentation for details.
1515
:maxdepth: 2
1616
:caption: Contents:
1717

18+
modules
19+

docs/source/modules.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
netmap
2-
======
1+
API Reference
2+
=============
33

4-
.. toctree::
5-
:maxdepth: 4
6-
7-
netmap
4+
.. automodule:: netmap
5+
:members:
6+
:undoc-members:
7+
:show-inheritance:

0 commit comments

Comments
 (0)