-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTaskfile.docs.yml
More file actions
65 lines (56 loc) · 1.08 KB
/
Taskfile.docs.yml
File metadata and controls
65 lines (56 loc) · 1.08 KB
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
version: "3"
run: once
tasks:
deps:
desc: Install documentation site dependencies (pnpm)
dir: docs
run: once
cmds:
- pnpm install --frozen-lockfile
build:
desc: Build the documentation site
dir: docs
deps: [deps]
cmds:
- pnpm build
preview:
desc: Preview the built documentation site locally
dir: docs
deps: [build]
cmds:
- pnpm preview
dev:
desc: Start docs in dev/watch mode
dir: docs
deps: [deps]
cmds:
- pnpm dev
check:
desc: Run docs linting and formatting checks
dir: docs
deps: [deps]
cmds:
- pnpm check
lint:
desc: Run docs lint checks (non-destructive)
dir: docs
deps: [check]
lint:fix:
desc: Apply safe lint fixes for docs
dir: docs
deps: [deps]
cmds:
- pnpm lint:fix
format:
desc: Format Markdown, MDX, and Astro sources
dir: docs
deps: [deps]
cmds:
- pnpm format
clean:
desc: Remove docs build artifacts
dir: docs
cmds:
- rm -rf node_modules
- rm -rf .astro
- rm -rf dist