A static HTML template showcasing Coveo Atomic search interface components. This repo serves as the base CodeSandbox demo embedded in Coveo's documentation — each branch corresponds to a specific Atomic library version.
- Provide a live, runnable example of Coveo Atomic for documentation pages
- Automatically generate versioned branches when new Atomic releases are published (via
repository_dispatch) - Serve as the CodeSandbox template linked from docs.coveo.com
.
├── index.html # Main demo page with Atomic components
├── package.json # Static server config (serve)
├── sandbox.config.json # CodeSandbox template config
├── catalog-info.yaml # Backstage service catalog entry
├── renovate.json5 # Renovate dependency update config
├── CODEOWNERS # Ownership: @coveo/dev-writers
└── .github/
├── scripts/
│ └── update_package.rb # Ruby script to update CDN URLs per version
└── workflows/
├── createNewAtomicSandBoxDemo.yml # Creates versioned branch on new Atomic release
└── dependency-review.yml # Dependency review on PRs
- The Coveo Atomic library publishes a new release.
- A
repository_dispatchevent (atomic_docs_generated) triggers thecreateNewAtomicSandBoxDemoworkflow. - The workflow runs
update_package.rbwhich updates the CDN script/stylesheet URLs inindex.htmlto point to the new version. - A new branch named after the version is pushed (e.g.,
v2.35). - Documentation pages embed the CodeSandbox for the relevant branch.
# Install dependencies
npm install
# Start a local static server
npm startThen open http://localhost:3000 in your browser.
There is no build step — this is a static HTML template served as-is.
- Node.js (for
servedev dependency) - Ruby 4.0+ with
nokogirigem (only needed for the CI version-update script)
Maintained by @coveo/dev-writers (see CODEOWNERS).
MIT