Commit 9bcb1f8
authored
fix(build): make docs build work with Docusaurus 3.10 (#77)
Docusaurus 3.10 requires `@docusaurus/faster` to be declared as an
explicit dependency whenever `future.v4` is enabled, and it also flips
`mdx1CompatDisabledByDefault` to `true`, which dropped support for HTML
comments in `.md` files.
Add `@docusaurus/faster` to the dependencies, and move the `markdown`
config to the top level of `Config` with the real `mdx1Compat` keys
(`comments`, `admonitions`, `headingIds`). The previous block was nested
inside `themeConfig` and used non-existent keys, so it had always been a
no-op; it only happened to work on 3.9 because the defaults matched.
Closes #76
Signed-off-by: Marco Nenciarini <marco.nenciarini@enterprisedb.com>1 parent 419b245 commit 9bcb1f8
3 files changed
Lines changed: 475 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
182 | 182 | | |
183 | 183 | | |
184 | 184 | | |
185 | | - | |
186 | | - | |
187 | | - | |
188 | | - | |
189 | | - | |
190 | | - | |
191 | | - | |
192 | | - | |
193 | | - | |
194 | 185 | | |
195 | 186 | | |
196 | 187 | | |
197 | 188 | | |
198 | 189 | | |
199 | 190 | | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
200 | 201 | | |
201 | 202 | | |
202 | 203 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
19 | 20 | | |
20 | 21 | | |
21 | 22 | | |
| |||
0 commit comments