Please enjoy the AguaClara textbook!
If you are interested in helping out by writing, begin by reading this page!
If you are interested in helping out by editing existing sections, begin by reading this page!
To publish, first ensure all of your changes have been merged into master by following the Pull Request best practices here. Then follow these steps:
git checkout master
git pull
git tag <tagname>
- To get
<tagname>
, check the latest release and increment by 1, following semantic versioning. For Example, if the current version werev0.0.76
and there were only small edits the next would bev0.0.77
. If there were more significant changes it would bev0.1.0
, and for extremely large changes (maybe a whole new chapter?),v1.0.0
.
- To get
git push origin <tagname>
Pushing a tag will kick off the automated release workflow which builds the PDF and HTML documentation.
We are using sphinx_ext_substitution to replace keywords. This enables accessing the last part of the map to find a specific variable. For example, $..lfom.rowN, will find all of the variables where the map ends with lfom.rowN. If more than one option is available sphinx_ext_substitution will throw an error. The solution is to add more detail to the map name and perhaps specify the entrance tank or filter.
Each plant’s technical report will live in its own repository in the AguaClara Reach github. The plant repository main branch will contain all of the data needed to create the technical report.
- plant.yml
- index.rst The gh-pages branch will have the html files and folder structure
Create a readme in the plant
We use act to run the workflow locally. After installing act, run act --container-architecture linux/amd64
in the root directory to see a list of workflows that can be run locally.