Skip to content

Use Markdown link to target in notebook #18

Use Markdown link to target in notebook

Use Markdown link to target in notebook #18

Workflow file for this run

name: Sphinx
on:
workflow_dispatch:
push:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: '3.10'
cache: 'pip'
cache-dependency-path: pyproject.toml
- name: Install dependencies
run: |
python -m pip install -U pip
pip install -e .[doc]
- name: Build HTML
run: make html
working-directory: docs
- name: Upload artifacts
uses: actions/upload-pages-artifact@v2
with:
path: docs/_build/html/
deploy:
needs: build
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2