Skip to content

Commit

Permalink
workflow for docs dev, add terminology page
Browse files Browse the repository at this point in the history
  • Loading branch information
jsta committed Apr 3, 2024
1 parent 4da7847 commit 0b98446
Show file tree
Hide file tree
Showing 5 changed files with 33 additions and 1 deletion.
9 changes: 9 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
.PHONY: docs clean

docs: docs/build/html/index.html

docs/build/html/index.html:
cd docs && sphinx-build -M html source build

clean:
rm docs/build/html/index.html
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,14 @@ python hydropop/dev/end_to_end_new.py

For installation instructions and descriptions of outputs, see the [docs](https://lanl.github.io/hydropop/).

### Development

```shell
# build docs
pip install -r docs/requirements.txt
cd docs && sphinx-build -M html source build
```

### License

This repo is released with a [BSD-3 License](https://github.com/lanl/hydropop/blob/main/LICENSE).
3 changes: 2 additions & 1 deletion docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
furo==2021.11.16
furo
sphinx_rtd_theme
sphinx>=5.0.0
1 change: 1 addition & 0 deletions docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ Welcome to hpdocs's documentation!

pages/installation
pages/hpdata
pages/terminology


.. Indices and tables
Expand Down
13 changes: 13 additions & 0 deletions docs/source/pages/terminology.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
.. _hpdata:
.. role:: raw-html(raw)
:format: html

=============
Hydropop Terminology
=============

- hthi: hydrotopo hab index - a combination of four indicators of water availability likelihood (distance to persistent waterbody, topographic wetness, height above nearest drainage, human created habitat)

- mhi: mosquito habitat indicator

- pop: population density

0 comments on commit 0b98446

Please sign in to comment.