docusaurus-glossary
Use when working with docusaurus-plugin-glossary to configure, manage glossary terms, troubleshoot issues, and explain features
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use when working with docusaurus-plugin-glossary to configure, manage glossary terms, troubleshoot issues, and explain features
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | docusaurus-glossary |
| description | Use when working with docusaurus-plugin-glossary to configure, manage glossary terms, troubleshoot issues, and explain features |
Configure the plugin in docusaurus.config.js and create a glossary JSON file:
// docusaurus.config.js - Using the preset (recommended)
module.exports = {
presets: [
[
'docusaurus-plugin-glossary/preset',
{
glossary: {
glossaryPath: 'glossary/glossary.json',
routePath: '/glossary',
},
docs: {
/* your docs config */
},
},
],
],
};
glossary/glossary.json with terms array<GlossaryTerm term="API" /> for manual control in MDXCreate/update glossary/glossary.json with term objects containing term, definition, and optional abbreviation, relatedTerms
If terms aren't linking: verify glossaryPath exists, ensure using the preset (not just plugin), clear cache with npm run clear, restart dev server
For detailed documentation, see:
Helps develop and build Docusaurus plugins using this starter template
Use when working with docusaurus.config.js/ts files to validate or modify Docusaurus configuration
Use when creating Docusaurus plugins (remark, rehype, theme, content, lifecycle) to extend markdown, modify HTML, or add custom functionality
Use when swizzling Docusaurus theme components and editing theme elements