refactor: format markdown files using prettier, fix spelling concerns, reduce Taskfile bloat
This commit is contained in:
608 files changed
+63317
-10219
No files matched your search
@@ -1,48 +0,0 @@
|
||||
name: docs
|
||||
|
||||
# Verification only. Deployment happens from the Ansible control node
|
||||
# (vectislabs.automation docs_site role against nebula), so there is nothing
|
||||
# for CI to publish. What CI is for here is catching a docs change that will
|
||||
# not build before it reaches a deploy.
|
||||
on:
|
||||
push:
|
||||
branches: [main]
|
||||
paths:
|
||||
- "docs/**"
|
||||
- "mkdocs.yml"
|
||||
- ".github/workflows/docs.yml"
|
||||
pull_request:
|
||||
paths:
|
||||
- "docs/**"
|
||||
- "mkdocs.yml"
|
||||
workflow_dispatch:
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
concurrency:
|
||||
group: docs-${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
|
||||
# No `cache: pip` here: this repository is Go and has no
|
||||
# requirements.txt or pyproject.toml for setup-python to hash. Asking for
|
||||
# a pip cache makes the step fail outright with "No file ... matched to
|
||||
# [**/requirements.txt or **/pyproject.toml]", so every docs-touching PR
|
||||
# failed before `mkdocs build --strict` ever ran -- which also meant the
|
||||
# strict link/config check silently stopped guarding anything.
|
||||
- uses: actions/setup-python@v6
|
||||
with:
|
||||
python-version: "3.13"
|
||||
|
||||
- run: pip install mkdocs-material
|
||||
|
||||
# --strict fails on a broken internal link or an unknown config key. A
|
||||
# docs site that silently ships dead links is worse than one that refuses
|
||||
# to ship.
|
||||
- run: mkdocs build --strict
|
||||
Reference in new issue
Block a user