Skip to content

Update documentation #10

Update documentation

Update documentation #10

Workflow file for this run

name: Update documentation
on: workflow_dispatch
jobs:
update:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v1
with:
python-version: 3.11
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install pdoc
- name: Run pdoc
run: |
PYTHONWARNINGS='error::UserWarning' pdoc --output-dir docs grilops '!grilops.(fastz3|quadtree)'
- name: Update gh-pages
uses: JamesIves/[email protected]
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages
FOLDER: docs
CLEAN: true