-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathjustfile
More file actions
45 lines (34 loc) · 1.21 KB
/
Copy pathjustfile
File metadata and controls
45 lines (34 loc) · 1.21 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
# AutoFixture documentation tasks
# Install: https://github.com/casey/just#installation
# List available recipes
default:
@just --list
# Generate API markdown from configured packages
generate-api:
node api-gen/run.mjs generate
# Copy generated API markdown into site/public/api-markdown
sync-api:
node api-gen/run.mjs sync
# Generate API markdown and sync into site/public
prepare-api:
node api-gen/run.mjs prepare
# Rewrite API markdown links and emit toc.json (safe to re-run on existing out/)
postprocess-api:
node api-gen/run.mjs postprocess
# Install site dependencies
site-install:
npm install --prefix site
# Run the Nuxt dev server
site-dev:
npm run dev --prefix site
# Mirror guide markdown + write sitemap (also runs via npm pregenerate)
prepare-agent-assets:
npm run prepare-agent-assets --prefix site
# Statically generate the site (same as CI; run prepare-api first so API routes enter the sitemap)
site-generate: prepare-agent-assets
npm run generate --prefix site
# Prepare API docs and generate the static site (CI parity)
site-build: prepare-api site-install site-generate
# Remove generated markdown and cached NuGet packages
clean-api:
node api-gen/run.mjs clean