Skip to content

feat: migrate to MkDocs Material #3

feat: migrate to MkDocs Material

feat: migrate to MkDocs Material #3

Workflow file for this run

name: CI
on:
pull_request:
branches: [main]
permissions:
contents: read
jobs:
build-check:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: "3.12"
cache: pip
- name: Install dependencies
run: pip install -r requirements.txt
- name: Build MkDocs (strict)
run: mkdocs build --strict
- name: Validate output
run: |
HTML_COUNT=$(find site -name "*.html" | wc -l)
echo "Generated $HTML_COUNT HTML files"
if [ "$HTML_COUNT" -eq 0 ]; then
echo "::error::No HTML files generated"
exit 1
fi