Skip to content

Commit dd07bba

Browse files
authored
Docs update (#70)
1 parent a6bd8af commit dd07bba

5 files changed

Lines changed: 34 additions & 21 deletions

File tree

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,15 @@ Python 3.13 is the recommended and supported version.
1010

1111
## Documentation
1212

13-
Documentation available at https://emod-hub.github.io/emodpy/.
13+
Documentation available at https://emod.idmod.org/emodpy/
1414

1515
To build the documentation locally, do the following:
1616

1717
1. Create and activate a venv.
1818
2. Navigate to the root directory of the repo.
1919
```
2020
python -m pip install .[docs]
21+
mkdocs serve
2122
```
2223
2324
## Running tests

docs/bib.md

Lines changed: 16 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,17 @@
1-
[emod-api]: https://emod-hub.github.io/emod-api/
2-
[emod-generic]: https://docs.idmod.org/projects/emod-generic/en/latest/parameter-overview.html
3-
[emodpy]: https://emod-hub.github.io/emodpy/
4-
[emodpy-hiv]: https://docs.idmod.org/projects/emodpy-hiv/
5-
[emodpy-malaria]: https://docs.idmod.org/projects/emodpy-malaria/
1+
[emod]: https://emod.idmod.org/EMOD/
2+
[emod-generic]: https://emod.idmod.org/EMOD-Generic/
3+
[emod-generic-scripts]: https://emod.idmod.org/EMOD-Generic-Scripts/
4+
[emod-api]: https://emod.idmod.org/emod-api/
5+
[emodpy]: https://emod.idmod.org/emodpy/
6+
[emodpy-hiv]: https://emod.idmod.org/emodpy-hiv/
7+
[emodpy-hiv_tutorial]: https://github.com/EMOD-Hub/emodpy-hiv/tree/main/tutorials
8+
[emodpy-malaria]: https://emod.idmod.org/emodpy-malaria/
9+
[emodpy-malaria_tutorial]: https://github.com/EMOD-Hub/emodpy-malaria/blob/main/getting_started.md
10+
[emodpy-workflow]: https://emod.idmod.org/emodpy-workflow/
611
[idmod]: https://www.idmod.org/
7-
[idmtools]: https://docs.idmod.org/projects/idmtools/
8-
[idmtools_cli]: https://docs.idmod.org/projects/idmtools/en/latest/cli/cli_index.html
9-
[idmtools_config]: https://docs.idmod.org/projects/idmtools/en/latest/configuration.html
10-
[idm_pypi]: https://packages.idmod.org/
12+
[idmtools]: https://institutefordiseasemodeling.github.io/idmtools/
13+
[idmtools_cli]: https://institutefordiseasemodeling.github.io/idmtools/cli/
14+
[idmtools_config]: https://institutefordiseasemodeling.github.io/idmtools/getting-started/configuration
15+
[idmtools_container]: https://institutefordiseasemodeling.github.io/idmtools/platforms/container/
16+
[idmtools_calibra]: https://institutefordiseasemodeling.github.io/idmtools-calibra/
17+
[pypi]: https://pypi.org/

docs/index.md

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,20 @@ title: Home
66

77
The emodpy package is a collection of Python scripts for using EMOD. It integrates the configuring of EMOD with idmtools ability to run a model on different platforms. Typical use of emodpy is as part of a disease specific package like [emodpy-malaria][emodpy-malaria] or [emodpy-hiv][emodpy-hiv].
88

9-
10-
See [idmtools documentation][idmtools] for a diagram showing how idmtools and each of the related packages are used in an end-to-end workflow using EMOD as the disease transmission model.
9+
See the [idmtools documentation][idmtools] for a diagram showing how idmtools and each of the related packages are used in an end-to-end workflow using EMOD as the disease transmission model.
1110

1211
## Installation
1312

14-
The emodpy package is currently available on a [Python package index server][idm_pypi] managed by the [Institute for Disease Modeling][idmod].
13+
### Python Version
14+
15+
Python 3.13 is the recommended and supported version.
16+
17+
### Installing the Package
18+
19+
The emodpy package is currently available on the [Python package index][pypi].
1520

1621
Typically, emodpy is installed as part of [emodpy-malaria][emodpy-malaria] or [emodpy-hiv.][emodpy-hiv]. It can be installed independently as below:
1722

1823
```
19-
pip install emodpy --extra-index-url=https://packages.idmod.org/api/pypi/pypi-production/simple
24+
pip install emodpy
2025
```

mkdocs.yml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
site_name: emodpy
2-
site_url: https://emod-hub.github.io/emodpy/
2+
site_url: https://emod.idmod.org/emodpy/
33
repo_name: EMOD-Hub/emodpy
44
repo_url: https://github.com/EMOD-Hub/emodpy/
55

@@ -31,16 +31,14 @@ theme:
3131
nav:
3232
- Home: index.md
3333
- API reference: autoapi/
34-
- Related projects:
35-
- emod-api: https://emod-hub.github.io/emod-api/
36-
- EMOD-Generic: https://docs.idmod.org/projects/emod-generic
37-
- idmtools: https://docs.idmod.org/projects/idmtools/
34+
- Related projects: https://emod.idmod.org/
3835

3936
plugins:
4037
- search:
4138
- autorefs:
4239
- include-markdown:
4340
- glightbox:
41+
- table-reader:
4442
- mkdocs-autoapi:
4543
autoapi_ignore:
4644
- .github/**/*
@@ -62,6 +60,9 @@ markdown_extensions:
6260
- pymdownx.blocks.details: # allows nesting of collapsible code
6361
- pymdownx.caret: # superscripts
6462
- pymdownx.details: # collapsible elements
63+
- pymdownx.emoji: # emojis and icons
64+
emoji_index: !!python/name:material.extensions.emoji.twemoji
65+
emoji_generator: !!python/name:material.extensions.emoji.to_svg
6566
- pymdownx.highlight: # syntax highlighting for code blocks
6667
linenums: true # adds line numbers to code blocks automatically
6768
anchor_linenums: true # adds HTML anchors (#L1, #L2, etc.) to each line so you can link to specific ones.
@@ -98,8 +99,6 @@ extra:
9899
link: http://www.youtube.com/@institutefordiseasemodelin1987
99100
- icon: fontawesome/brands/linkedin
100101
link: https://linkedin.com/company/institute-disease-modeling
101-
- icon: fontawesome/brands/slack
102-
link: https://gatesfoundation.enterprise.slack.com/
103102
analytics:
104103
provider: custom
105104
property: GTM-NK4K647

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ docs = [
4040
"mkdocstrings-python",
4141
"mkdocs-autoapi",
4242
"mkdocs-glightbox",
43+
"mkdocs-table-reader-plugin",
4344
]
4445
lint = [
4546
"flake8",

0 commit comments

Comments
 (0)