File tree Expand file tree Collapse file tree 8 files changed +1178
-9
lines changed
Expand file tree Collapse file tree 8 files changed +1178
-9
lines changed Original file line number Diff line number Diff line change 1+ name : " docs"
2+
3+ on :
4+ pull_request :
5+ paths : &monitored_paths
6+ - " .github/workflows/docs.yaml"
7+ - " package-lock.json"
8+ - " package.json"
9+ - " src/**/*.ts"
10+ - " taskfile.yaml"
11+ - " taskfiles/docs.yaml"
12+ - " typedoc.json"
13+ push :
14+ paths : *monitored_paths
15+ schedule :
16+ # Run daily at 00:15 UTC (the 15 is to avoid periods of high load)
17+ - cron : " 15 0 * * *"
18+ workflow_dispatch :
19+
20+ permissions : {}
21+
22+ concurrency :
23+ group : " ${{github.workflow}}-${{github.ref}}"
24+ # Cancel in-progress jobs for efficiency
25+ cancel-in-progress : true
26+
27+ jobs :
28+ build :
29+ name : " build"
30+ permissions :
31+ contents : " read"
32+ strategy :
33+ matrix :
34+ os : ["macos-latest", "ubuntu-24.04"]
35+ runs-on : " ${{matrix.os}}"
36+ steps :
37+ - uses : " actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd" # v6.0.2
38+ with :
39+ submodules : " recursive"
40+
41+ - name : " Install task"
42+ run : " npm install -g @go-task/cli@3.48.0"
43+
44+ - if : " matrix.os == 'macos-latest'"
45+ name : " Install coreutils (for md5sum)"
46+ run : " brew install coreutils"
47+
48+ - name : " Build docs"
49+ run : " task docs:site"
Original file line number Diff line number Diff line change @@ -28,7 +28,22 @@ To clean the build:
2828task clean
2929```
3030
31- # Contributing
31+ ## Docs
32+ To build the TypeDoc documentation:
33+
34+ ``` shell
35+ task docs:site
36+ ```
37+
38+ The generated site is written to ` build/docs ` .
39+
40+ To serve the generated documentation locally:
41+
42+ ``` shell
43+ task docs:serve
44+ ```
45+
46+ # Contributing
3247Follow the steps below to develop and contribute to the project.
3348
3449## Set up
You can’t perform that action at this time.
0 commit comments