Skip to content

Solve deprecation warning from numpy (#55) #120

Solve deprecation warning from numpy (#55)

Solve deprecation warning from numpy (#55) #120

name: Build documentation
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install .[docs]
- name: Generate documentation
run: |
sphinx-build docs docs_out/
sphinx-build -b doctest docs docs_out/
- name: Publish docs
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh-pages
folder: docs_out