-
Notifications
You must be signed in to change notification settings - Fork 72
Expand file tree
/
Copy pathjustfile
More file actions
32 lines (26 loc) · 822 Bytes
/
Copy pathjustfile
File metadata and controls
32 lines (26 loc) · 822 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Default recipe to display help information
default:
@just --list
# Install dependencies
install:
pnpm install
# Serve the Vocs site locally with hot reload
serve:
pnpm run docs:dev
# Build the static Vocs site
build: install
pnpm run docs:build
# Preview the built site locally
preview: install
pnpm run docs:preview
# Run all linting checks
lint:
@echo "Running spell check..."
find ./docs/pages -name "*.mdx" -print0 | xargs -0 pnpm exec cspell
@echo "Spell check complete!"
@echo ""
@echo "Running markdownlint..."
find ./docs/pages -path ./docs/pages/config -prune -o -name "*.mdx" -print0 | xargs -0 markdownlint-cli2
# Objective MDX structure checks (non-strict by default; see content-model.mdx)
validate-content *args:
pnpm run validate:content -- {{args}}