Skip to content

fix doc

fix doc #2

Workflow file for this run

name: documentation
on:
push:
branches: [master]
permissions:
contents: write
jobs:
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
- name: Install dependencies
run: |
pip install sphinx sphinx-book-theme
- name: Sphinx build
run: |
cd docs/
make html
- name: Deploy to Github Pages
uses: peaceiris/actions-gh-pages@v4
with:
public_branch: gh-pages
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: docs/_build/
force_orphan: true