Sample Astro Starlight docs site with Encatch page feedback in the footer.
pnpm installOption A — Install the form: use the button above if you need the feedback form created in Encatch.
Option B — Wire this site: Copy .env.example → .env and set your Encatch publishable key and combined form slug / question slugs.
Publishable key: admin.encatch.com → Settings → Publishable key.
pnpm devDocs at http://localhost:3000/
This example uses the same pattern as the Fumadocs examples:
.env— publishable key + combined form slug and question slugs (from.env.example).src/components/encatch.ts— SDK init, env, and form helpers.src/components/DocsPageFeedback.tsx— footer UI (React island).src/components/EncatchPageFrame.astro— mounts<EncatchInit locale={...} />.src/components/EncatchFooter.astro— renders<DocsPageFeedback />on doc pages.
Environment variables use Astro’s PUBLIC_ENCATCH_* prefix.