Skip to content

Commit

Permalink
Merge pull request #47 from firedrakeproject/dolci/contribute_guide
Browse files Browse the repository at this point in the history
guidelines for how to contribute and report a bug
  • Loading branch information
Ig-dolci authored Oct 6, 2023
2 parents 72e4fa6 + 57dbbde commit cb6f8b8
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 2 deletions.
14 changes: 13 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,21 @@ pip install checkpoint-schedules
The usage guide of *checkpoint_schedules* is available [here](https://nbviewer.org/github/firedrakeproject/checkpoint_schedules/blob/main/docs/notebooks/tutorial.ipynb).


## Contributing
We welcome contributions to *checkpoint_schedules*!
To contribute please consider the following steps:
1. Fork the repository.
2. Make your changes.
3. Make sure that the tests pass by running `pytest test` and `pytest --nbval-lax docs/notebooks/`
4. Add tests for your changes (if applicable).
5. Add documentation for your changes that follows the [Sphinx](https://sphinx-rtd-tutorial.readthedocs.io/en/latest/docstrings.html) format.
6. Submit your pull request.

## Bug reports
Please report bugs on the [issue tracker](https://github.com/firedrakeproject/checkpoint_schedules/issues).

## Documentation
The complete documentation for checkpoint_schedules is available at [Firedrake project website](https://www.firedrakeproject.org/checkpoint_schedules/).


## License
*checkpoint_schedules* is licensed under the GNU LGPL version 3. See the LICENSE file for details.
21 changes: 20 additions & 1 deletion docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ If you want to quickly get up and running with *checkpoint_schedules* your adjoi
$ pip install checkpoint-schedules

* Familiarise with *checkpoint_schedules* by acessing the :ref:`introduction <introduction>`.
* Go through to an `illustrative example <https://nbviewer.org/github/firedrakeproject/checkpoint_schedules/blob/main/docs/notebooks/tutorial.ipynb>`__ that explains the usage of *checkpoint_schedules* for step-based incremental checkpointing of the adjoints.
* Go through to an `illustrative example <https://nbviewer.org/github/firedrakeproject/checkpoint_schedules/blob/main/docs/notebooks/tutorial.ipynb>`_ that explains the usage of *checkpoint_schedules* for step-based incremental checkpointing of the adjoints.

API documentation
=================
Expand All @@ -28,4 +28,23 @@ The complete list of all the classes and methods in *checkpoint_schedules* is av
<checkpoint_schedules-api-reference>`.


Contributing
============
We welcome contributions to *checkpoint_schedules*!
To contribute please consider the following steps:

1. Fork the repository.

2. Make your changes.

3. Make sure that the tests pass by running `pytest test` and `pytest --nbval-lax docs/notebooks/`.

4. Add tests for your changes (if applicable).

5. Add documentation for your changes that follows the `Sphinx <https://sphinx-rtd-tutorial.readthedocs.io/en/latest/docstrings.html>`_ format.

6. Submit a pull request.

Bug reports
===========
Please report bugs on the `issue tracker <https://github.com/firedrakeproject/checkpoint_schedules/issues>`_.

0 comments on commit cb6f8b8

Please sign in to comment.