PatBall1 / detectree2

Python package for automatic tree crown delineation based on the Detectron2 implementation of Mask R-CNN
https://patball1.github.io/detectree2/
MIT License
149 stars 35 forks source link

Sphinx documentation #4

Closed ma595 closed 1 year ago

ma595 commented 2 years ago

Sphinx

Commenting Type hinting Docstrings

ma595 commented 2 years ago

Initial attempt at Sphinx docs that rebuilds on push using github actions. Hosted using github pages using Sphinx Alabaster theme. API docs are auto-generated with:

sphinx-apidoc -o ./docs/source/ detectree2/

This requires building detectree2 (CPU only), which takes ~5mins in github actions. The pip install will be replaced once conda/poetry packaging is complete.

ma595 commented 2 years ago

https://coderefinery.github.io/documentation/gh_workflow/

ma595 commented 2 years ago

https://ma595.github.io/detectree2/ Hosted using my fork: https://github.com/ma595/detectree2

https://coderefinery.github.io/documentation/gh_workflow/ github.com/patball1/detectree2/settings/pages https://docs.github.com/en/pages/getting-started-with-github-pages/configuring-a-publishing-source-for-your-github-pages-site