Contribute#

This part is for people who change HydroModPy itself. If you only write TOML files, the user guide and the Reference are for you.

I want to#

Task

Start here

Set up an environment and run my first test

Quick start

Open an issue, branch, commit, open a pull request

Contributor handbook

Add a config field

Add a config field

Add a solver, a process or a data source

Add a solver, Add a process, Add a data source

Add a figure, an exporter or a hmp command

Add a figure, Add an exporter, Add a CLI command

Add a test, or read a failing check

Add a test, Reading a failing check

Fix an import the architecture gate refuses

Fix a failing architecture gate

Cut a release

Cut a release

Change this documentation

Documentation

Understand how the code is organized

Mental model and design choices

The four blocks#

  • Recipes (Recipes): one page per extension, with the files to touch, the contract to honor and the test to add.

  • Architecture (Architecture): the layers and their allowed imports, the packages, the storage layout and the subsystems.

  • Documentation (Documentation): how this site is built, and how to write a field or a theory page.

  • Project (Project): CI, tests, the release contract, the environment variables and the roadmap.