docs(pt): bring 37 guide pages back in line with English after #2448

Merged
ER
3d ago
+265-549

What and why

#2448 shortened the English guides, moved detail into the reference pages, and rewrote every page's description for search. This brings 37 pt pages back in line with English.

  • debugging: rebuilt section by section, 577 to 262 lines, following the much shorter English page.
  • desktop: the environment list, the fixture table, the edge cases, and the options moved to reference/desktop. The pt page links there, with link text that matches that page's pt headings (#2530).
  • agent-steps (the new section on splitting a long flow into goals), migrate/index (installing the plugin and /migrate-to-e2e), quickstart (the shorter settings table), and small changes on reference/environment, page-object-model, reference/core, ci, migrate/detox, and migrate/testerarmy.
  • 26 more pages get only the new description.
  • docs/pt/README.md: four glossary rows, "etapa" for a how-to step, "fatia", "modelo de IA", and "testes de regressão visual".

Issue

Part of #1890

Verified

Ran it locally: yes

  • Code blocks, inline code spans, link targets, #anchors, ids, and component tags match English in the same order on all 37 pages. The per-page comparison flags only the translated setupPrompt and migrationPrompt strings on quickstart, the ci/* pages, frameworks/nextjs, and migrate/*, which predate this change. The exception: 7 links into the pt reference/config, cli, errors, or agent pages point at the page without English's anchor, since those pages lack the section until they catch up with English.
  • The six checks behind pnpm docs:check exit 0, and the translation check reports nothing for these pages.
  • Every frontmatter parses as YAML, no page adds keywords, and the changed prose has no em or en dashes and no repeated line tails.
  • Two fresh-context reviews found no wrong fact. They caught a debugging description that read as "a test that failed with its trace page", a link text that did not match the reference/desktop heading, a "nem … ou" list, and a few wording nits. All are fixed.

Summary by CodeRabbit

  • Documentation
    • Expanded Portuguese-language guidance on AI agent steps, decision models, security, authentication, and model configuration.
    • Clarified setup and testing guidance for API, visual, desktop, and end-to-end tests, including fixtures and page objects.
    • Updated CI and integration guides with platform coverage, sharding, reports, and preview and production workflows.
    • Revised debugging and migration instructions, including agent-assisted migration guidance.
    • Added glossary translations for AI models and agents, migration slices, numbered how-to steps, and visual regression testing.