add typedoc-plugin-mdn-links

Signed-off-by: Lorenzo Lewis <lorenzo_lewis@icloud.com>
This commit is contained in:
Lorenzo Lewis
2023-07-28 00:12:10 +01:00
parent bd9383a607
commit be238d0fae
3 changed files with 14 additions and 1 deletions

View File

@@ -18,6 +18,7 @@ if (existsSync('packages/tauri/tooling/api/node_modules')) {
hideGenerator: true,
outputFileStrategy: 'modules',
entryFileName: 'index.md',
plugin: ['typedoc-plugin-mdn-links'],
},
});
} else {

View File

@@ -17,6 +17,7 @@
"sharp": "^0.32.4",
"starlight-typedoc": "^0.3.0",
"typedoc": "^0.24.8",
"typedoc-plugin-markdown": "4.0.0-next.17"
"typedoc-plugin-markdown": "4.0.0-next.17",
"typedoc-plugin-mdn-links": "^3.0.3"
}
}

11
pnpm-lock.yaml generated
View File

@@ -26,6 +26,9 @@ importers:
typedoc-plugin-markdown:
specifier: 4.0.0-next.17
version: 4.0.0-next.17(prettier@2.8.8)(typedoc@0.24.8)
typedoc-plugin-mdn-links:
specifier: ^3.0.3
version: 3.0.3(typedoc@0.24.8)
packages/i18n-tracker:
devDependencies:
@@ -4312,6 +4315,14 @@ packages:
typedoc: 0.24.8(typescript@5.1.6)
dev: false
/typedoc-plugin-mdn-links@3.0.3(typedoc@0.24.8):
resolution: {integrity: sha512-NXhIpwQnsg7BcyMCHVqj3tUK+DL4g3Bt96JbFl4APzTGFkA+iM6GfZ/fn3TAqJ8O0CXG5R9BfWxolw1m1omNuQ==}
peerDependencies:
typedoc: '>= 0.23.14 || 0.24.x'
dependencies:
typedoc: 0.24.8(typescript@5.1.6)
dev: false
/typedoc@0.24.8(typescript@5.1.6):
resolution: {integrity: sha512-ahJ6Cpcvxwaxfu4KtjA8qZNqS43wYt6JL27wYiIgl1vd38WW/KWX11YuAeZhuz9v+ttrutSsgK+XO1CjL1kA3w==}
engines: {node: '>= 14.14'}