Skip to content

Revert "Merge branch 'dev' into hotfix/rsm-segmented-poly-bug" #72

Revert "Merge branch 'dev' into hotfix/rsm-segmented-poly-bug"

Revert "Merge branch 'dev' into hotfix/rsm-segmented-poly-bug" #72

Workflow file for this run

name: Docs
on: [push, pull_request, workflow_dispatch]
permissions:
contents: write
jobs:
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v3
- name: Install dependencies
run: |
pip install sphinx
python -m pip install sphinx-autoapi
python -m pip install sphinx_rtd_theme
python -m pip install tox tox-gh-actions
- name: Sphinx build
run: |
tox -e docs
- name: Deploy
uses: peaceiris/[email protected]
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
with:
publish_branch: gh-pages
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: .tox/docs/tmp/html/
force_orphan: true