Skip to content

Commit 984f6d8

Browse files
committed
Add custom plugin for MCP metadata
Signed-off-by: Dan Barr <[email protected]>
1 parent 01f0950 commit 984f6d8

File tree

11 files changed

+551
-25
lines changed

11 files changed

+551
-25
lines changed

docusaurus.config.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,12 @@ const config: Config = {
1919
debug: false,
2020
},
2121
],
22+
[
23+
'./plugins/mcp-metadata-plugin',
24+
{
25+
thvCommand: 'thv', // Can be customized if thv is in a different path
26+
},
27+
],
2228
],
2329

2430
// Set the production url of your site here

eslint.config.mjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ export default [
3535
// Add global components from src/theme/MDXComponents.tsx here
3636
//Columns: 'readonly',
3737
//Column: 'readonly',
38+
MCPMetadata: 'readonly',
3839
},
3940
},
4041
},

package-lock.json

Lines changed: 1 addition & 25 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
"@mdx-js/react": "^3.1.0",
3131
"clsx": "^2.1.1",
3232
"docusaurus-json-schema-plugin": "1.15.0",
33+
"glob": "^10.3.10",
3334
"prism-react-renderer": "^2.4.1",
3435
"react": "^19.1.1",
3536
"react-dom": "^19.1.1",

0 commit comments

Comments
 (0)