From 05677fb0c7db1d1fe87c7e49645c3def9c65f873 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zo=C3=AB=20Spriggs?= Date: Mon, 28 Sep 2026 10:23:03 -0600 Subject: [PATCH] chore: upgrade typedoc plugin and rm bug workaround --- package-lock.json | 20 ++++---------------- packages/docs/package.json | 2 +- packages/docs/typedoc-member-index.mjs | 20 -------------------- 3 files changed, 5 insertions(+), 37 deletions(-) diff --git a/package-lock.json b/package-lock.json index 3216d907793..881277d1de3 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10212,9 +10212,6 @@ "arm64" ], "dev": true, - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -10229,9 +10226,6 @@ "arm64" ], "dev": true, - "libc": [ - "musl" - ], "license": "MIT", "optional": true, "os": [ @@ -10246,9 +10240,6 @@ "x64" ], "dev": true, - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -10263,9 +10254,6 @@ "x64" ], "dev": true, - "libc": [ - "musl" - ], "license": "MIT", "optional": true, "os": [ @@ -33201,9 +33189,9 @@ } }, "node_modules/typedoc-plugin-markdown": { - "version": "4.13.0", - "resolved": "https://registry.npmjs.org/typedoc-plugin-markdown/-/typedoc-plugin-markdown-4.13.0.tgz", - "integrity": "sha512-OHaOLoMTS0wL2ud73WXvxv486mrUEtgXxW4iKiTOGJVipT/VBWY76rlVRMQGes7aVonoIf5roWRe1UvHbufLlQ==", + "version": "4.13.1", + "resolved": "https://registry.npmjs.org/typedoc-plugin-markdown/-/typedoc-plugin-markdown-4.13.1.tgz", + "integrity": "sha512-d3jchJ4CyIrV9w9uozTSkfMYG8IEM1RvvGOaybJ/3rRporzoX7p0lprffo95GOGUviQqP0phjHJE3bY8PQbilA==", "dev": true, "license": "MIT", "engines": { @@ -36145,7 +36133,7 @@ "typedoc": "^0.28.20", "typedoc-docusaurus-theme": "^1.4.3", "typedoc-plugin-frontmatter": "^1.3.2", - "typedoc-plugin-markdown": "^4.13.0" + "typedoc-plugin-markdown": "^4.13.1" }, "engines": { "node": ">=20.0.0" diff --git a/packages/docs/package.json b/packages/docs/package.json index ebf052d81b9..5b6dee862d6 100644 --- a/packages/docs/package.json +++ b/packages/docs/package.json @@ -45,7 +45,7 @@ "typedoc": "^0.28.20", "typedoc-docusaurus-theme": "^1.4.3", "typedoc-plugin-frontmatter": "^1.3.2", - "typedoc-plugin-markdown": "^4.13.0" + "typedoc-plugin-markdown": "^4.13.1" }, "browserslist": { "production": [ diff --git a/packages/docs/typedoc-member-index.mjs b/packages/docs/typedoc-member-index.mjs index 9d67cf7f944..37d0509f34f 100644 --- a/packages/docs/typedoc-member-index.mjs +++ b/packages/docs/typedoc-member-index.mjs @@ -108,27 +108,7 @@ class NamespaceDirRouter extends MemberRouter { } } -// The markdown plugin's locale files. Needed to register translations due to -// https://github.com/typedoc2md/typedoc-plugin-markdown/issues/900. -// Remove once that issue is fixed. -const pluginLocales = await import( - new URL( - './internationalization/locales/index.js', - import.meta.resolve('typedoc-plugin-markdown'), - ) -); -// Remove once -// https://github.com/typedoc2md/typedoc-plugin-markdown/issues/900 is fixed. -function registerPluginTranslations(app) { - const lang = app.options.getValue('lang'); - app.internationalization.addTranslations(lang, { - ...pluginLocales.en, - ...pluginLocales[lang], - }); -} - export function load(app) { - registerPluginTranslations(app); app.renderer.defineTheme('member-index', MemberIndexTheme); app.renderer.defineRouter('namespace-dirs', NamespaceDirRouter); }