Closed a-hariti closed 2 weeks ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
sentry-docs | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | May 16, 2024 1:12pm |
Changes will increase total bundle size by 77 bytes :arrow_up:
Bundle name | Size | Change |
---|---|---|
sentry-docs-client | 6.16MB | 4 bytes :arrow_down: |
sentry-docs-server | 7.38MB | 84 bytes :arrow_up: |
sentry-docs-edge-server | 458.69kB | 3 bytes :arrow_down: |
Introduce a script to index the static docs HTML files generated by Next.js into Algolia.
It's a migration from the Gatsby solution, which relied on the
gatsby-plugin-algolia
hereThe record generation logic is reused as is, with two notable changes:
Required environment variables before the merge (repo secrets):
ALGOLIA_APP_ID=OOK48W9UCL
ALGOLIA_API_KEY
: The write API keyALGOLIA_INDEX_PREFIX
: (sentry-
), which will show up assentry-docs
(index name) on AlgoliaNEXT_PUBLIC_ALGOLIA_APP_ID=OOK48W9UCL
NEXT_PUBLIC_ALGOLIA_SEARCH_KEY=ca98597f559459c216891b75989832f8
ALGOLIA_INDEX_PREFIX
can be set to a different string until we make sure this works as expected before setting it tosentry-
Closes #9869 Closes #9876 Closes #9778 Closes #6978