docs: merge Deep dive into Guides and move the AgentMail guide to /test-emails (ENG-1589)

Merged
KA
2d ago
+22-19

What

The docs sidebar has one "Guides" group instead of "Guides" plus "Deep dive". It lists the AgentMail walkthrough, then security, telemetry, agent steps, self-healing and page objects. The AgentMail page moves from /docs/guides/agentmail to /docs/test-emails, and the old URL redirects there.

Why

"Guides" held a single page and sat right above "Deep dive", and the two kinds of page aren't different enough to need two groups. The authoring-docs skill already calls every page outside docs/reference/ a guide, so the skill now says so for deep dives and rules out a separate "Deep dive" group. With the group gone as a folder too, the AgentMail page sits at the top level like the rest and gets a URL named for the task.

How it works

  1. docs/docs.json moves the five "Deep dive" pages into the "Guides" group and drops the "Deep dive" group and its lightbulb icon.
  2. docs/guides/agentmail.mdx moves to docs/test-emails.mdx. docs/docs.json lists it as test-emails and adds a /guides/agentmail → /test-emails redirect. scripts/check-docs-examples.ts points the AgentMail example files at the new page.
  3. Each docs/<lang>/navigation.json swaps its "Deep dive" label for a "Guides" one. "Guides" had no translation before, so translated sidebars showed it in English. Each label uses the word that language's pages already use for "guide" (Poradniki, ガイド, Návody, and so on).
  4. .dev/skills/authoring-docs/SKILL.md, "Guides vs. reference", says guides and deep dives are the same kind of page and both go in the one "Guides" group.

Issue

Verified

Ran it locally: yes

  • pnpm check passes. The docs translation check has no unlabeled-group warnings for "Guides".
  • Rendered the docs in e2e-site with E2E_DOCS_DIR pointing at this branch's docs/:
GET /docs/test-emails          200
GET /docs/guides/agentmail     308 -> /docs/test-emails
GET /docs/pl/guides/agentmail  308 -> /docs/pl/test-emails
  • /docs/security shows the merged group, and /docs/pl/security and /docs/ja/security show "Poradniki" and "ガイド".
main (e2e.com)this PR
beforeafter

Checklist

  • Changeset added (pnpm changeset) for any change to a published package, or the change is testbed, docs, or CI only.
  • Breaking change: title carries !, the changeset body names what breaks and what replaces it, and the deprecation warning landed a window earlier (stability policy in CONTRIBUTING.md).
  • Docs updated in the same PR: the docs/**/*.mdx page for the behavior, and skills/e2e/ if the skill describes it.
  • Contract change: emitted .d.ts reviewed, tests/types/sdk-types.ts updated; wire change edits the schema and both fixtures.
  • Engine contract change (e2e/engine): changesets for e2e, @e2e-dev/web, and @e2e-dev/mobile.

Summary by CodeRabbit

  • Documentation
    • Updated documentation navigation across supported languages to use the Guides section.
    • Replaced the Agentmail entry in Guides with Test emails; the previous Agentmail URL now redirects to the new page.