Sanity Docs: New blueprints and search docs, smarter search with learn content, and personalized code snippets

In addition to all the product updates from across Sanity, the documentation surface continues to grow with updated Next.js articles, a new guide for search, and additional guidance on organizing your blueprints. The platform also received a variety of fixes, along with some exciting personalizing and search improvements.

New and updated docs

Next.js updates

next-sanity 13 was released, and with it comes updates to many of the Sanity + Next.js articles. There’s a new guide on how to use Sanity Live with cache components.

GROQ search patterns

We’ve added a new guide on the different ways to implement search with GROQ. This includes patterns for both traditional search using BM25 (the industry standard ranking algorithm) as well as embeddings-based semantic similarity searching.

Everyday Content Agent prompts and workflows

Our content operations team put together an operator-focused guide filled with practical tips and prompts for making the most of Content Agent.

Managing Blueprints and Functions in a monorepo

The new Project layout and monorepos guide takes you through different ways to add Blueprints and Functions to your project, along with our recommended organization patterns. If you haven’t tried Blueprints yet, this is a great time to start.

Platform improvements

Better search

Sanity Learn now shows up in docs search. The Cmd-K palette gained a dedicated Learn group that surfaces public Learn courses and lessons alongside your regular docs results. It’s powered by a live GROQ full-text search (BM25 ranking plus semantic similarity), so conceptual or slightly-misspelled queries still find the right course.

Personalized content

Logged-in Sanity users now have the ability to see dynamic code snippets with their own customizable project and dataset details. Any time you see a PROJECT_ID or DATASET_NAME placeholder, click to populate with your own values.

Better for AI agents

Changelog history is now part of the Markdown and LLM output. When an agent or LLM fetches a doc’s .md twin (for example /docs/ai/mcp-server.md), it now gets a Related changelog entries section listing the versioned changes that reference that document, matching the live changelog tab one-to-one. This works for articles and HTTP/OpenAPI reference pages, while the raw JSON and YAML spec output stays clean.

The API reference site is now discoverable by agents. sanity.io/llms.txt now links out to reference.sanity.io/llms.txt. Compliant agents (Cursor, Claude Code, Aider, Continue, and others) follow that link to reach the per-package descriptions and Markdown twins on the reference site. This closes a gap where agents searching for SDK hooks bounced off /docs and never found the canonical reference.

Platform and dependencies

The docs app moved to Next.js 16.2.6, React 19.2.6, and the latest next-sanity (cache-components line), alongside routine Sanity client and dependency bumps.

Fixes

Search results for headings whose IDs start with a number now land on the correct anchor instead of jumping to the top of the page.

Deep links to a heading inside a non-default tab now activate that tab and scroll to the heading, instead of silently doing nothing.

The Astro, Nuxt, and React Router quickstart cards on the docs homepage navigate reliably again after hydration, now guarded by a regression test.