Skip to content

fix line length

fix line length #37

Workflow file for this run

name: Deploy Sphinx Docs to GitHub Pages
on:
push:
branches: ["docs"]
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: "pages"
cancel-in-progress: false
jobs:
docs:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4
with:
submodules: "true"
- name: Install uv and set the Python version
uses: astral-sh/setup-uv@v5
with:
python-version: "3.12"
- name: Install the project dependencies
run: uv sync --all-extras --group=docs --dev
- name: Install pandoc
run: |
sudo apt update
sudo apt install -y pandoc
- name: Build Sphinx Documentation
run: |
cd docs
uv run make html
- name: Upload documentation artifact
uses: actions/upload-pages-artifact@v3
with:
path: docs/build/html # Path where Sphinx outputs HTML files
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: docs
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4