Skip to content

chore: update docs css #3

chore: update docs css

chore: update docs css #3

Workflow file for this run

name: Deploy docs to GitHub Pages
on:
push:
branches:
- main
workflow_dispatch:
env:
UV_VERSION: "0.7.13"
PYTHON_VERSION: "3.11"
DISABLE_MKDOCS_2_WARNING: "true"
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: pages
cancel-in-progress: false
jobs:
build:
name: Build site
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v6
with:
# Required by mkdocs-git-revision-date-localized-plugin so it can
# walk the full history when computing per-page modification dates.
fetch-depth: 0
- name: Install Python
uses: actions/setup-python@v6
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Install uv
uses: astral-sh/setup-uv@v6
with:
version: ${{ env.UV_VERSION }}
enable-cache: true
python-version: ${{ env.PYTHON_VERSION }}
cache-dependency-glob: |
pyproject.toml
uv.lock
- name: Install docs dependencies
run: uv sync --group docs
- name: Build site (strict)
run: uv run mkdocs build --strict
- name: Upload Pages artifact
uses: actions/upload-pages-artifact@v3
with:
path: site
deploy:
name: Deploy to GitHub Pages
needs: build
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Deploy
id: deployment
uses: actions/deploy-pages@v4