Developer Guide¶
This guide covers contributing to awesIO, including code style, testing, documentation, and the release process.
Repository layout¶
Key folders:
src/awesio: validation logic and schema loadersrc/awesio/schemas: YAML schema filesdocs: Sphinx documentationexamples: example YAML inputsscripts: to test the schemas and validator when developingtests: unit tests for validation logic and schemas (NEED TO BE ADDED)
Local setup¶
Clone the repository and install dependencies:
pip install -e .
pip install -r docs/requirements.txt
Code style¶
Testing¶
NEED TO BE ADDED
Documentation¶
Documentation sources are in docs/ and docs/source/. Build locally:
cd docs
make html
The output is written to docs/_build/html.
Schema changes¶
When updating schemas:
Validate against existing examples.
Update example files if the schema requirements change.
Update the schema reference pages if fields or descriptions change.
Release process¶
Update version strings where relevant.
Update the changelog with the new version and date.
Tag a release following semantic versioning.