Skip to content

change path

change path #2

Workflow file for this run

name: API Docs
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install UV
uses: astral-sh/setup-uv@v5
with:
python-version: '3.10'
- name: Generate documentation
run: |
uv run pdoc --math ./src/arianna -o ./docs --docformat numpy
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: docs/
publish_branch: gh-pages