Skip to content

Latest commit

 

History

History
41 lines (30 loc) · 775 Bytes

CONTRIBUTING.md

File metadata and controls

41 lines (30 loc) · 775 Bytes

Contributing

Issues and pull requests are more than welcome.

Development install

git clone https://github.com/stac-utils/stac-fastapi-pgstac
cd stac-fastapi-pgstac
make install

This repo is set to use pre-commit to run isort, flake8, pydocstring, black ("uncompromising Python code formatter") and mypy when committing new code.

pre-commit install

Docs

git clone https://github.com/stac-utils/stac-fastapi-pgstac
cd stac-fastapi-pgstac
pip install -e .[docs]

Hot-reloading docs:

mkdocs serve

To manually deploy docs (note you should never need to do this because GitHub Actions deploys automatically for new commits.):

# Create API documentations
make docs
# deploy
mkdocs gh-deploy