Contributing
We'd love you to contribute to OWA!
Issues¶
Questions, feature requests and bug reports are all welcome as discussions or issues. However, to report a security vulnerability, please see our security policy.
Pull Requests¶
Feel free to create a Pull Request. Project maintainers will take a review quickly and give you a comments.
To make contributing as easy and fast as possible, you'll want to run tests and linting locally. Luckily, OWA has few dependencies, doesn't require compiling and tests don't need access to databases, etc. Because of this, setting up and running the tests should be very simple.
Run tests¶
We're utilizing pytest
for testing and ruff
for formatting. Make sure your PR pass all tests in Github Actions.
- Run
pytest
. - Run
ruff check
. - Run
ruff format
.
How to Test Documentation Changes¶
If you contribute to the documentation—such as by adding new markdown files under docs/data/
—please follow these steps to preview your changes locally before submitting a pull request:
-
Add your documentation:
Place your new markdown (.md
) file in thedocs/data/
directory. -
Update navigation:
Editmkdocs.yaml
to include your new file in the site's navigation (nav
section). -
Install documentation dependencies:
This will install all necessary packages for building and serving the documentation site.
At the root of the project, run:
-
Serve the documentation locally:
Start the local documentation server with:
-
Preview your changes:
Open http://localhost:8000 in your web browser to view the documentation and verify your additions appear as expected.
Following these steps will help ensure your documentation contributions are correctly displayed and formatted. Thank you for helping improve the OWA documentation!