Skip to content

small changes to make deep dive docs more cohesive #49

small changes to make deep dive docs more cohesive

small changes to make deep dive docs more cohesive #49

Workflow file for this run

name: Build and Deploy Documentation
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build-docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.10"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install jupyter-book ghp-import
pip install -r docs/requirements.txt
- name: Build documentation
run: |
jupyter-book build docs/
- name: Deploy to GitHub Pages
if: github.ref == 'refs/heads/main' && github.event_name == 'push'
run: |
ghp-import -n -p -f docs/_build/html
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}