Published · 7 min read
Documentation analytics for developer docs
Docs analytics show traffic, searches, and AI visits, but not which pages broke when a release merged. Learn why developer docs teams need both views.
Published · 10 min read
Learn what AI-native documentation means, separate authoring from agent access, and evaluate source fidelity, versions, permissions, freshness, and citations.
A developer asks an editor assistant how to upgrade your SDK. Your documentation has a migration guide, but the assistant returns an older example without its version warning. The page exists and the writing is clear. The missing piece is a dependable path from the reader's question to the applicable source.
AI-native documentation means designing the documentation system for people and AI clients together: maintained content, explicit versions, usable representations, supported retrieval, and traceable sources. We use the term as a practical design approach. It is not a certification or a checklist of file extensions every site must implement.
The useful question is whether your readers' actual clients can find the right material, preserve its meaning, and show where an answer came from. A writing assistant, chat widget, or new endpoint can help with part of that job. None proves the whole path works.
Teams use “AI documentation” for several different capabilities. Name the job before choosing the implementation.
| Capability | What it helps someone do | What to evaluate |
|---|---|---|
| AI-assisted authoring | Draft or revise documentation | Factual accuracy, reviewer effort, and preservation of important details |
| Reader chat | Ask questions through a documentation site's interface | Retrieved passages, citations, version handling, and answers the docs cannot support |
| Agent access | Read documentation from an editor, assistant, or other client | Client compatibility, complete content, permissions, and source identity |
| Documentation maintenance | Find and review changes needed after a product change | Affected pages, evidence, missed changes, and release timing |
These capabilities can share a source and still fail independently. A model can write a correct page that a retrieval system never finds. A search tool can return every word of a page that no longer describes the product. A chat interface may have external integrations, but its presence alone does not establish that an editor can use them.

If you are selecting software, the AI documentation tools comparison separates those capabilities across platforms. This guide focuses on the system you need to evaluate.
Start with the content people rely on: explanations, prerequisites, examples, API descriptions, and release-specific limitations. Give each page a stable identity and an owner. Record which product version it applies to and what evidence supports its important claims.
Publish the representations your readers need from that reviewed source. A browser page may emphasize navigation and layout. A Markdown representation may omit that navigation. Structured JSON can expose headings and code blocks as fields. Those outputs can differ in presentation while preserving the instructions, warnings, and applicability.
The architecture below is a suggested design, not a required protocol layout. A compatible client reads a human page or a data representation. Discovery and retrieval help it locate that content. The result still needs a version and source check before someone relies on it.

Keep publication and verification dates separate. An edit date says that the page changed. A verification date records a review against the applicable product or source. Neither automatically proves that a downstream search index or cached copy contains that revision.
When a release changes behavior, identify the affected guides, review their updates, and refresh the outputs and indexes that depend on them. Our guide to keeping docs in sync with code covers that maintenance workflow.
Semantic HTML remains useful documentation. Clear headings, complete code blocks, descriptive links, and readable text serve people and clients that fetch pages. A site does not need to replace these with a separate machine-only narrative.
Each additional interface has a narrower purpose:
llms.txt is a proposal for a curated overview with links and context. It can help clients that choose to read it. It does not provide access control or require every assistant to follow its links.Supporting the same URL through content negotiation is one option. Separate linked representations can also work. What matters is that the client can discover the supported route and obtain equivalent, version-appropriate content. For interface selection and retrieval checks, use the existing llms.txt vs MCP guide.
Choose a real question from support or an onboarding task. Write down the expected source page, applicable version, and facts needed to finish. Use a client your readers actually have, with its connection and access settings recorded.
For example, a team could evaluate an SDK upgrade question against its old and new migration guides. The assistant needs to retain the breaking-change warning, select the new example, and cite the relevant guide. This is a suggested evaluation scenario, not a reported product test.
Use a worksheet like this for each task:
| Check | Evidence to save | A failure to investigate |
|---|---|---|
| Find the applicable version | Query, client configuration, returned page IDs, and version labels | A result from the older release is selected without a warning |
| Preserve the complete instructions | Returned passage alongside the reviewed page | A prerequisite, tab-specific step, or caveat is missing |
| Preserve the code | Retrieved code, language, imports, and setup | A partial snippet is treated as a complete runnable example |
| Respect content access | Results for the intended signed-in and signed-out roles | A protected page, summary, or search snippet leaks through another interface |
| Carry the reviewed revision | Source revision, output revision, index refresh record, and observation time | A fresh request returns an older generated copy |
| Support the answer | Answer, cited URL, and exact supporting passage | The citation exists but does not establish the claim |
| Handle a missing answer | A question the documentation does not answer | The assistant invents an unsupported feature or instruction |
Inspect retrieval separately from the final answer. Correct retrieval with an incorrect answer points to a different problem from an omitted page. If the source is wrong, repair it before tuning retrieval. If a conversion drops a warning, fix that representation and regenerate it. If the index trails publication, fix the refresh path and repeat the task.
Run any code used to judge success in an isolated environment against the stated product version. Record setup and limits. A source citation does not prove that generated code works. The outdated API answers guide explains how to diagnose and test that problem.
Private documentation needs access checks on every route that exposes it, including search results, machine formats, and tools. A password on the HTML page is insufficient evidence about the other endpoints. Test those surfaces with the roles you intend to support. For protected HTTP MCP servers, follow the protocol's authorization guidance and verify enforcement in the implementation.
For public docs, keep crawler preferences separate from authentication. Also separate source correctness, output freshness, and answer quality in your review. A page can be old and accurate, or newly published and wrong. A successful live tool call can still return stale source material.
Serving alternate representations is not inherently cloaking. Google's cloaking policy concerns content differences intended to manipulate rankings and mislead users. Preserve the same substantive claims and limitations across the formats you publish.
We build Thally. Its AI and agent documentation describes publishing HTML, Markdown, structured JSON, discovery files, and agent access from maintained documentation. Its MCP overview distinguishes local authoring tools from the deployed site's read-only interface. These are implementation choices for the approach described here.
Thally's provenance guide distinguishes update dates from verification dates and documents version metadata. Our agent-readiness methodology describes technical conformance checks and their limits. A conformance score does not establish answer accuracy or predict citations.
To evaluate the approach, create a Thally documentation site, then check one representative reader task through the formats and clients you intend to support. Keep the reviewed source and evaluation record so you can repeat the check after a release.
Agent access and search visibility are related goals with different requirements. Google says its AI Search features do not require new AI files or special schema. Pages need ordinary Search eligibility, and inclusion is not guaranteed. Google's generative AI optimization guide also says it ignores llms.txt.
Improve the content and supported reading paths because they help readers complete tasks. Measure search traffic, cited sources, retrieval failures, and task outcomes separately. Do not treat an endpoint, a schema validator result, or a technical readiness score as evidence of rankings or reliable answers.
Reviewed October 27, 2026 against the primary sources linked in each section, including MCP specification 2025-11-25 and Thally's current public implementation guides. The definition, architecture, and worksheet are editorial recommendations. This review does not claim a new client integration test, private-site access test, product benchmark, or measured search outcome.
Published under the Thally editorial policy. Technical conformance is defined in the agent-readiness methodology.
Create a managed site, or use the open-source engine to run Thally yourself.