Skip to content

Commit 68bfa4a

Browse files
Merge pull request #264 from EcoExtreML/fix_263
Improve documentation using mkdocs
2 parents 5bd8d1b + 2acb922 commit 68bfa4a

19 files changed

Lines changed: 988 additions & 592 deletions

.github/workflows/doc_deploy.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# Deploy documentation when push to main
2+
3+
name: Deploy docs
4+
5+
on:
6+
push:
7+
branches: [ "main" ]
8+
9+
jobs:
10+
build:
11+
name: Deploy docs
12+
runs-on: ubuntu-latest
13+
steps:
14+
- name: Checkout main
15+
uses: actions/checkout@v3
16+
with:
17+
fetch-depth: 0
18+
- name: Set up Python 3.11
19+
uses: actions/setup-python@v2
20+
with:
21+
python-version: "3.11"
22+
- name: Install dependencies
23+
run: |
24+
python -m pip install --upgrade pip
25+
python -m pip install -r docs/requirements.txt
26+
- name: Deploy docs
27+
run: mkdocs gh-deploy --force

CHANGELOG.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Unreleased
22

3+
**Added:**
4+
5+
- Documentation using mkdocs and a github action workflow to publish the
6+
documentation in [#264](https://github.com/EcoExtreML/STEMMUS_SCOPE/pull/264)
7+
38
**Changed:**
49

510
<a name="1.6.1"></a>
@@ -50,7 +55,7 @@ as well as various bugfixes.
5055
- Defining the indices of the first four layers discussed in
5156
[#237](https://github.com/EcoExtreML/STEMMUS_SCOPE/issues/237) and fixed in
5257
[#238](https://github.com/EcoExtreML/STEMMUS_SCOPE/pull/238)
53-
58+
5459
<a name="1.5.0"></a>
5560
# [1.5.0](https://github.com/EcoExtreML/STEMMUS_SCOPE/releases/tag/1.5.0) - 3 Jan 2024
5661

CONTRIBUTING.md

Lines changed: 0 additions & 208 deletions
This file was deleted.

README.md

Lines changed: 5 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -3,44 +3,21 @@
33
Integrated code of SCOPE and STEMMUS.
44

55
SCOPE is a radiative transfer and energy balance model, and STEMMUS model is a two-phase mass and heat transfer model. For more information about the coupling between these two models, please check [this reference](https://gmd.copernicus.org/articles/14/1379/2021/). Before running the model, you need to prepare input data and a configuration file. This can be done using the python package
6-
[PyStemmusScope](https://pystemmusscope.readthedocs.io).
6+
[PyStemmusScope](https://pystemmusscope.readthedocs.io).
77

88
![img](https://raw.githubusercontent.com/EcoExtreML/STEMMUS_SCOPE/main/docs/assets/imgs/coupling_scheme.png)
99
(by Zeng & Su, 2021)
1010

11-
## Running STEMMUS_SCOPE
12-
13-
```mermaid
14-
flowchart LR
15-
subgraph Platform
16-
direction RL
17-
b[Snellius]
18-
c[CRIB]
19-
d[Your own machine]
20-
end
21-
A(Data)
22-
Platform --> A
23-
B(Config file)
24-
A --> B
25-
C{{Run model}}
26-
B --> C
27-
click b "https://github.com/EcoExtreML/STEMMUS_SCOPE/tree/main/docs/STEMMUS_SCOPE_on_Snellius.md" "Run STEMMUS_SCOPE on Snellius" _blank
28-
click c "https://github.com/EcoExtreML/STEMMUS_SCOPE/tree/main/docs/STEMMUS_SCOPE_on_CRIB.md" "Run STEMMUS_SCOPE on CRIB" _blank
29-
click d "https://github.com/EcoExtreML/STEMMUS_SCOPE/tree/main/docs/STEMMUS_SCOPE_on_local_device.md" "Run STEMMUS_SCOPE on your own machine" _blank
30-
```
31-
About how to run `STEMMUS_SCOPE` on Snellius, check [./docs/STEMMUS_SCOPE_on_Snellius.md](https://github.com/EcoExtreML/STEMMUS_SCOPE/blob/main/docs/STEMMUS_SCOPE_on_Snellius.md).
32-
33-
If you want to run `STEMMUS_SCOPE` on CRIB, check [./docs/STEMMUS_SCOPE_on_CRIB.md](https://github.com/EcoExtreML/STEMMUS_SCOPE/blob/main/docs/STEMMUS_SCOPE_on_CRIB.md).
34-
35-
If you want to run `STEMMUS_SCOPE` on your own machine, check [./docs/STEMMUS_SCOPE_on_local_device.md](https://github.com/EcoExtreML/STEMMUS_SCOPE/blob/main/docs/STEMMUS_SCOPE_on_local_device.md).
36-
37-
`STEMMUS_SCOPE` scope also has a Basic Model Interface (BMI) mode implemented. The full BMI is implemented in Python in [PyStemmusScope](https://github.com/EcoExtreML/STEMMUS_SCOPE_Processing/). For more information, check [./docs/STEMMUS_SCOPE_BMI.md](https://github.com/EcoExtreML/STEMMUS_SCOPE/blob/main/docs/STEMMUS_SCOPE_BMI.md).
11+
## Documentation
12+
13+
The documentation of the STEMMUS_SCOPE model can be found [here](https://ecoextreml.github.io/STEMMUS_SCOPE/).
3814

3915
## Contributing
4016

4117
If you want to contribute to the development of `STEMMUS_SCOPE`,
4218
have a look at the [contribution guidelines](https://github.com/EcoExtreML/STEMMUS_SCOPE/blob/main/CONTRIBUTING.md).
4319

4420
## How to cite us
21+
4522
[![RSD](https://img.shields.io/badge/rsd-ecoextreml-00a3e3.svg)](https://research-software-directory.org/projects/ecoextreml)
4623
<!-- [![DOI](https://zenodo.org/badge/DOI/<replace-with-created-DOI>.svg)](https://doi.org/<replace-with-created-DOI>) -->

0 commit comments

Comments
 (0)