Skip to content

feat: add mathlib and toolchains cache commands (#11) #55

feat: add mathlib and toolchains cache commands (#11)

feat: add mathlib and toolchains cache commands (#11) #55

Workflow file for this run

name: Documentation
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.11'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -e ".[dev]"
- name: Build documentation
run: |
# Ensure docs directory exists
mkdir -p docs/getting-started
# Build MkDocs site
mkdocs build
- name: Deploy to GitHub Pages
if: github.ref == 'refs/heads/main'
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./site