Skip to content

Dcs

Dcs #64

Workflow file for this run

name: documentation
on: [push, pull_request, workflow_dispatch]
permissions:
contents: write
jobs:
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
- uses: astral-sh/setup-uv@v3
- name: Install Python dependencies
run: uv run pip install sphinx sphinx-rtd-theme myst_parser
- name: Sphinx build
run: sphinx-build docs docs/_build
- name: Deploy to GitHub Page
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: docs/_build/html