Feat/docs seo discoverability#871
Merged
Merged
Conversation
- json-ld: render via dangerouslySetInnerHTML with < escaped so structured data survives in the DOM (React was HTML-escaping the <script> children, breaking every breadcrumb/article/org block) - sitemap: add blog posts, learn steps, showcase entries, and the /learn /blog /showcase /stack /community /evals routes (was docs-only) - robots: allow /api/og so OG preview images are crawlable - not-found: noindex 404 to keep soft-404s out of the index
- public/<key>.txt: IndexNow verification key - scripts/ping-indexnow.mjs: read live sitemap, submit URLs to IndexNow (Bing/Yandex/DuckDuckGo/Ecosia), batched at 10k - scripts/ping-google.mjs: notify Google Indexing API per URL via service-account JWT; no-ops without GOOGLE_INDEXING_SA secret - .github/workflows/indexnow.yml: triggers on successful production deployment_status (Vercel), plus manual dispatch Secrets to set: INDEXNOW_KEY (matches key file), optional GOOGLE_INDEXING_SA (service-account JSON).
GSC "Not found (404)" export (2026-05-19) listed 226 crawled URLs that 404 after repeated docs IA churn. Partitioned: - 124 → exact target verified in the live sitemap (tool pages moved under /integrations, recipes under /reference/recipes, .md API suffix stripped, flat UI pages under /ui, etc.) - 74 → nearest live ancestor section (dead content; recovers crawl budget, avoids soft-404 chains) - 28 → intentionally left to 404 (code-snippet file paths leaked as links, unbuilt /es /zh locales, parsed garbage like /$ /&) legacy-404-redirects.mjs is prepended to next.config redirects so first-match wins over the broad wildcard rules that previously chained these into still-dead targets. Validated: 198 unique sources, no self-loops, no intra-list chains, config loads clean.
iam.disableServiceAccountKeyCreation prevents creating the JSON key the script needed. Google recrawls the sitemap on its own after the GSC sitemap submit + "Validate fix", so IndexNow alone is enough. Removes ping-google.mjs and its workflow step.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
Lighthouse
Run by |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Why
How
Type of change
RFC / ADR reference
Checklist
pnpm testpasses)pnpm lint)pnpm size— when configured)pnpm changeset) — for any user-facing changeany)Screenshots / demo