The full docs are available at: https://codeforboston.github.io/police-data-trust/
The docs were made with Material for MkDocs.
There are a lot of extensions included in this documentation in addition to Material:
- Most of the extensions come from PyMdown Extensions.
- We use a tool called Mermaid for our flow charts.
All of these tools are added and configured inside mkdocs.yml
. Note you need to pip install them for them to work when you deploy; see deployment script below.
If you have write permission to the upstream repository (i.e. you are a project manager), run the following:
cd docs
mkdocs gh-deploy --remote-name upstream
If you do not have write permission to the upstream repository, you can do one of the following:
- (Preferred) Ask a project manager to refresh the pages after you've made changes to the docs.
- Run
mkdocs gh-deploy
on your own fork, and then do a pull request tocodeforboston:gh-pages
:
mkdocs gh-deploy
git checkout gh-pages
git push origin gh-pages