Skip to content

Commit 20a8a40

Browse files
committed
Upgrade Docusaurus to 3.10.2 and declare undeclared build dependencies
- Disable the unused blog plugin; 3.10+ emits an empty /blog/ page and lists it in sitemap.xml when the preset has no explicit blog: false - Declare remark-gfm and @tailwindcss/forms, previously resolved only through npm hoisting
1 parent 24f86fc commit 20a8a40

3 files changed

Lines changed: 1366 additions & 1455 deletions

File tree

‎docusaurus.config.js‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,10 @@ export default {
7979
breadcrumbs: true,
8080
exclude: inactiveDocExcludes,
8181
},
82+
// No blog on this site. Without an explicit `false`, preset-classic
83+
// enables the blog plugin on defaults; Docusaurus 3.10+ then emits an
84+
// empty /blog/ listing page and adds it to sitemap.xml.
85+
blog: false,
8286
theme: {
8387
customCss: normalizeDriveLetter(require.resolve('./src/css/custom.css')),
8488
},

0 commit comments

Comments
 (0)