Skip to content

use myst-nb instead of nbsphinx #2

use myst-nb instead of nbsphinx

use myst-nb instead of nbsphinx #2

Workflow file for this run

name: Build Docs
on:
push:
branches: [ master ]
workflow_dispatch:
jobs:
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
cache: 'pip'
cache-dependency-path: setup.py
- name: Install dependencies
run: |
python3 -m pip install --upgrade pip
python3 -m pip install '.[complete]'
- name: Sphinx Build HTML docs
working-directory: docs
run: make html
- name: Deploy
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs/_build/html