Migrate to using taskfiles

This commit is contained in:
Andras Schmelczer 2026-01-12 22:42:09 +00:00
parent 0e1849061b
commit 6ea7d53a49
21 changed files with 564 additions and 391 deletions

35
taskfiles/docs.yml Normal file
View file

@ -0,0 +1,35 @@
version: "3"
tasks:
install:
desc: Install docs dependencies
run: once
cmds:
- npm ci
build:
desc: Build documentation
deps: [install]
cmds:
- npm run build
lint:
desc: Check formatting and spelling
deps: [install]
cmds:
- npm run format:check
- npm run spell:check
check:
desc: Run all documentation checks
cmds:
- task: :check-node
- task: install
- task: lint
- task: build
dev:
desc: Start documentation dev server
deps: [install]
cmds:
- npm run dev