mirror of
https://github.com/static-web-server/static-web-server.git
synced 2026-01-25 05:06:33 +00:00
refactor: format check support Markdown files via mdformat (#597)
* chore: format Markdown files with mdformat * chore: switch to mdformat config file * chore: add missing trailing slash * docs: add section about formatting Markdown files
This commit is contained in:
committed by
GitHub
parent
ce3a51c6ac
commit
dd43d06551
5
.github/workflows/devel.project.docs.yml
vendored
5
.github/workflows/devel.project.docs.yml
vendored
@@ -24,6 +24,11 @@ jobs:
|
||||
with:
|
||||
config: ./.github/workflows/config/typos.toml
|
||||
|
||||
- name: Check Markdown formatting
|
||||
run: |
|
||||
pip install uv
|
||||
uvx --python ">=3.13" --with mdformat-mkdocs mdformat --check ./*.md docs/
|
||||
|
||||
- name: Build docs
|
||||
run: |
|
||||
docker compose -f docs/docker-compose.yml run --rm server mkdocs build
|
||||
|
||||
Reference in New Issue
Block a user