Skip to content

Compress the logo for faster website loading! #422

Compress the logo for faster website loading!

Compress the logo for faster website loading! #422

Workflow file for this run

name: Test website generation
on:
workflow_dispatch:
pull_request:
paths-ignore:
- "tests/**"
- "examples/**"
- "**.json"
- "**.csv"
- "**.html"
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
test-website:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.11"
- uses: hynek/setup-cached-uv@v1
- run: uv pip install -e .[docs] --system
- run: uv pip freeze
- name: Regenerate examples and docs
run: python scripts/regenerate.py --download-typeshed
- name: Check the generated files with pre-commit
uses: pre-commit/action@v3.0.1
- name: Build docs
run: mkdocs build --strict
- name: Upload docs
uses: actions/upload-artifact@v4
with:
name: doc-html
path: site