Appearance
Versioning
Embed package
Examples and live previews load the latest @chartbuddy.io/embed from unpkg. Check the running version at runtime:
js
import { version } from '@chartbuddy.io/embed';
console.log(version);Docs site versions (not wired yet)
This docs site is single-version today — it documents the current embed.
Versioning later is straightforward:
| Approach | When |
|---|---|
| Latest only (current) | One embed version published at a time |
Path versions /docs/1.7/ + /docs/latest/ | Keep older pages after breaking chartData changes |
| Multi-version build / separate deploys | A version switcher in the nav |
When you need historical docs, add a versions/ build or deploy dist per tag to /docs/<version>/.