docs: merge Deep dive into Guides and move the AgentMail guide to /test-emails (ENG-1589)
Merged
KA
2d ago+22+22+01234567890123456789-19-19-01234567890123456789
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
docs/docs.jsonmoves the five "Deep dive" pages into the "Guides" group and drops the "Deep dive" group and its lightbulb icon.docs/guides/agentmail.mdxmoves todocs/test-emails.mdx.docs/docs.jsonlists it astest-emailsand adds a/guides/agentmail→/test-emailsredirect.scripts/check-docs-examples.tspoints the AgentMail example files at the new page.- Each
docs/<lang>/navigation.jsonswaps 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). .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 checkpasses. The docs translation check has no unlabeled-group warnings for "Guides".- Rendered the docs in e2e-site with
E2E_DOCS_DIRpointing at this branch'sdocs/:
GET /docs/test-emails 200
GET /docs/guides/agentmail 308 -> /docs/test-emails
GET /docs/pl/guides/agentmail 308 -> /docs/pl/test-emails
/docs/securityshows the merged group, and/docs/pl/securityand/docs/ja/securityshow "Poradniki" and "ガイド".
| main (e2e.com) | this PR |
|---|---|
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/**/*.mdxpage for the behavior, andskills/e2e/if the skill describes it. - Contract change: emitted
.d.tsreviewed,tests/types/sdk-types.tsupdated; wire change edits the schema and both fixtures. - Engine contract change (
e2e/engine): changesets fore2e,@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.