Contributing
Please follow these rules below before making a pull request in the Gammapy recipes Github repository.
copy any of the existing folders in
recipesand rename it as your own recipemodify the
env.ymlfile and specify your needed dependenciesremove the rest of the files other than
env.ymladd your notebook, used
.pngimages and any needed data not present inGAMMAPY_DATApaste
"tags": ["nbsphinx-thumbnail"]in the code cell metadata creating the thumbnailmake a pull request with your additions
wait for content integration pass
Maintainers
This repository is designed to be maintained in a minimal effort basis. Most changes should come from additions of recipes made as pull requests contributions, and passing CI tests deployed as Github actions. Maintainers should just accept and merge pull requests.
Specific commands
Rebuilding of the whole collection of recipes:
python scripts/process.pyRebuilding of a specific recipe:
python scripts/process.py --src recipes/folderBuilding of Sphinx documentation:
cd docs && python -m sphinx . _build/html -b html && cd ..
Renaming or removing existing recipes
In special cases when renaming or removing of a recipe is needed, please remove the old recipe folders and their content in the following places below.
docs/_static/notebooksdocs/notebooksrecipes