API reference (generated) 0.9.0
Markdown reference generated from source — Web Components, tokens, utilities, CLI, and scanner rules stay in sync with the codebase.
Generate locally
npm run docs:generate
npx velinstyle docs generate
npx velinstyle docs generate --scope components
npx velinstyle docs generate --scope tokens
Scopes: all, components, tokens, utilities, cli, rules, a11y.
Output sections
| Section | Source |
|---|---|
| Web Components | components/velin-*.js |
| Design tokens | src/tokens/*.css |
| Utilities | src/utilities/*.css |
| CLI | cli/cli-manifest.json |
| Scanner rules | cli/scanner-rules-data.js |
| A11y CSS | src/a11y/*.css |
| HTML attributes | core/attributes/ |
| WCAG 2.2 AAA matrix | docs/generated/a11y/wcag22-aaa-matrix.md |
| HTML attributes | core/attributes/ |
| WCAG 2.2 AAA matrix | docs/generated/a11y/wcag22-aaa-matrix.md |
| HTML attributes | core/attributes/ |
| WCAG 2.2 AAA matrix | docs/generated/a11y/wcag22-aaa-matrix.md |
| HTML attributes | core/attributes/ |
| WCAG 2.2 AAA matrix | docs/generated/a11y/wcag22-aaa-matrix.md |
| HTML attributes | core/attributes/ |
| WCAG 2.2 AAA matrix | docs/generated/a11y/wcag22-aaa-matrix.md |
Files are written to docs/generated/ in the framework repo and deployed on GitHub Pages.
CI
CI runs npm run docs:generate and fails if docs/generated/ is out of date. Commit snapshots after API changes.