Commit 6ca3d24
committed
Point TypeDoc at docs/api instead of docs, and restore what it deleted
The two deleted files were not an editorial decision. typedoc.json set
"out": "docs", and TypeDoc empties its output directory before generating,
so running it locally wiped docs/cookbook/ and the deletions were picked up
as part of the diff.
That is a live bug on main, and it just got worse: #157 removed docs/ from
.gitignore, so the next person to run npx typedoc would have deleted
DUAL_NETWORK.md, backup-restore.md, event-reference.md and the cookbook, and
git would have staged all of it.
- typedoc.json: out -> docs/api, so generated and hand-written docs no longer
share a directory. Kept this PR's name, entryPointStrategy and
navigationLinks additions.
- Restored docs/cookbook/portfolio.md and dashboard-preview.jpg from main.
- Restored the npm run docs:openapi step the workflow rewrite dropped. Without
it the published site keeps a stale OpenAPI spec, and nothing else reads
that file so nothing would have flagged it.
- .gitignore ignores docs/openapi.json and docs/api/ specifically, rather than
docs/ wholesale — the generated artefacts, not the guides.
Kept from this PR: npm ci without the || npm install fallback (a lockfile
desync should fail rather than silently resolve differently),
peaceiris/actions-gh-pages@v4, and keep_files.
Verified by running npx typedoc: output lands in docs/api and every
hand-written doc is still there afterwards.1 parent c730ad5 commit 6ca3d24
5 files changed
Lines changed: 65 additions & 2 deletions
File tree
- .github/workflows
- docs/cookbook
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
31 | 40 | | |
32 | 41 | | |
33 | 42 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
| 4 | + | |
4 | 5 | | |
| 6 | + | |
5 | 7 | | |
6 | 8 | | |
7 | 9 | | |
| |||
Loading
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 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 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| |||
0 commit comments