fork/static-web-server

git clone https://git.julia.blue/fork/static-web-server

Matthias Schoettlerefactor: format check support Markdown files via mdformat (#597)dd43d06

allow-symlink
754 B34 linesraw
1name: devel-project-docs
2on:
3  pull_request:
4    paths:
5      - .github/workflows/devel.project.docs.yml
6      - docs/**
7      - src/**
8      - tests/**
9      - ./*.md
10
11jobs:
12  docs-check:
13    name: Project docs check
14    runs-on: ubuntu-22.04
15
16    steps:
17    - name: Checkout repository
18      uses: actions/checkout@v4
19      with:
20        fetch-depth: 1
21
22    - name: Check typos
23      uses: crate-ci/typos@master
24      with:
25        config: ./.github/workflows/config/typos.toml
26
27    - name: Check Markdown formatting
28      run: |
29        pip install uv
30        uvx --python ">=3.13" --with mdformat-mkdocs mdformat --check ./*.md docs/
31
32    - name: Build docs
33      run: |
34        docker compose -f docs/docker-compose.yml run --rm server mkdocs build