Commit 39eb4f4
authored
fix(website): unbreak docusaurus build on 3.10.x (#1062)
The "Test docs deployment" CI workflow has been failing since Docusaurus
3.10 was released. Two distinct issues, fixed together so every commit
on this branch keeps CI green:
1. `future.v4: true` in `docusaurus.config.ts` now routes through the
rspack bundler path, which hard-requires `@docusaurus/faster` to be a
direct dependency. Add it and bump all `@docusaurus/*` packages from
`^3.9.2` to `^3.10.1`. Refresh other website deps within their existing
ranges (no major-version jumps).
2. Docusaurus 3.10's MDX loader is stricter and rejects HTML comments
(`<!-- ... -->`) in `.md` files. The git-cliff-generated patch notes
contain these comments. Keep them in `cliff.toml`/`CHANGELOG.md` (so
GitHub-rendered output stays clean) but transform `<!--`/`-->` to
`{/*`/`*/}` in the workflow's copy step that produces
`docs/developers/patch-notes.md`. Apply the same transform to the
already-checked-in `patch-notes.md` and `release-notes/0.12.md`.1 parent 8db108d commit 39eb4f4
5 files changed
Lines changed: 2518 additions & 1562 deletions
File tree
- .github/workflows
- docs/developers
- release-notes
- website
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
32 | 35 | | |
33 | 36 | | |
34 | 37 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | | - | |
| 4 | + | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
1899 | 1899 | | |
1900 | 1900 | | |
1901 | 1901 | | |
1902 | | - | |
| 1902 | + | |
1903 | 1903 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
361 | 361 | | |
362 | 362 | | |
363 | 363 | | |
364 | | - | |
| 364 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
23 | 24 | | |
24 | 25 | | |
25 | 26 | | |
26 | | - | |
27 | | - | |
| 27 | + | |
| 28 | + | |
28 | 29 | | |
29 | 30 | | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
34 | 35 | | |
35 | | - | |
| 36 | + | |
36 | 37 | | |
37 | 38 | | |
38 | 39 | | |
| |||
0 commit comments