Skip to content

Starlight

WARNING

Canary Cloud is in active development. Not ready for production use yet.

Everything is the same as local search with Starlight, execpt for two things:

  1. Disable pagefind in astro.config.mjs
js
// https://starlight.astro.build/reference/configuration/#pagefind
export default defineConfig({
  integrations: [
    starlight({
      ...
      pagefind: false
      ...
    }),
  ],
});
  1. Swap canary-provider-pagefind with canary-provider-cloud
html
...
<canary-root framework="starlight">
  <canary-provider-pagefind>
    <canary-provider-cloud api-key="KEY" api-base="https://cloud.getcanary.dev">
      <!-- Rest of the code -->
    </canary-provider-cloud>
  </canary-provider-pagefind>
</canary-root>
...