Content
Data files consumed at build-time by @bearly/vitepress-enrich to power auto-linking, tooltips, and build-time validation on silvery.dev.
glossary.json
The public glossary for silvery.dev. Each entry becomes an auto-linked term and hover tooltip across the site.
Shape:
[
{ "term": "SelectList", "href": "/api/select-list", "tooltip": "Interactive list component" },
{ "term": "SGR", "tooltip": "Select Graphic Rendition — controls text styling" },
{ "term": "Termless", "href": "https://termless.dev", "tooltip": "Headless terminal testing", "external": true }
]term— the word that gets auto-linkedhref— destination URL (local/pathor absolutehttps://...)tooltip— hover textexternal— iftrue, link opens a new tab with an external-link icon
Edit here, not elsewhere. This file is the single source of truth — the VitePress config imports it directly (import siteGlossary from "../content/glossary.json"), and @bearly/vitepress-enrich auto-links matches across all markdown pages on build.
Sibling sites (termless.dev, terminfo.dev) maintain their own docs/content/glossary.json files with the same shape. Cross-site linking happens via loadEcosystemGlossary() in the VitePress config.
See @bearly/vitepress-enrich for the full glossary plugin docs.