Repository navigation
docs(nav): triage the pages outside the navigation (MM-16244) - #2593
Open
bruno-andrade-azion wants to merge 1 commit into
Open
bruno-andrade-azion wants to merge 1 commit into
bruno-andrade-azion wants to merge 1 commit into
Conversation
Retire 63 orphan pages in en and pt-br. 62 already 301 in production and only their sources were left; the legacy create-a-digital-certificate guide now 301s to Upload a digital certificate, which gains a section to bind the certificate to a v3 domain. Delete the 64 images only those pages used. Keep the 19 Reference Architecture pages that src/nav/redirects.json marked as folded: register each as a hidden row beside its use case in the Use Cases tree, so it keeps its URL, sidebar context and breadcrumb. Rechain the deliver and peering redirects, and point the peering URLs to the support contacts. navcheck now counts only visible children for its soft max.
bruno-andrade-azion
requested review from
a team and
marcus-souza-azion
as code owners
November 5, 2026 21:20
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
lint:navcheckonmain: 100 were parked insrc/nav/redirects.jsonas "discarded" and 5 insrc/nav/exempt.json. This PR checks each parking and finishes it.src/nav/redirects.jsonmarked them "folded into its use-case page", but they were never redirected, and the use-case catalog (gtm-definitions/use-cases.md) lists each one as the Docs of a Reference Architecture (Published or Needs update). docs(architectures): keep security-modernization and bot-management as API v3 versions #2589 also keeps WAAP and Online Fraud Prevention as the v4 pages for its v3 versions. Each page gets a"hidden": truerow next to its use case, in that use case's Solution group. The page keeps its URL, sidebar context, and breadcrumb, and it stays out of the menu, the hub, and prev/next. Removing the "discarded" entries also meanspnpm nav:url-mapcan no longer turn these live pages into 301s.How to test
cd apps/docs && pnpm lint:navcheck. Expect: passes, 18 discarded, 5 exempt, with no soft-max warning for the hidden rows.pnpm nav:migrate(dry run). Expect:0 page/language permalinks to move.pnpm build:local(Node 26;NODE_USE_SYSTEM_CA=1behind a TLS-intercepting proxy). Expect:Complete!./en/documentation/use-cases/build-and-run-applications/microservices-applications/. The breadcrumb reads Use Cases > Build and run applications > Microservices API on Functions, the sidebar opens on that group, and the page is not a menu row. Repeat with the pt-br twin/pt-br/documentacao/casos-de-uso/construir-e-executar-aplicacoes/aplicacoes-microsservicos/./en/documentation/guides/application-security/tls-and-certificates/digital-certificates/#bind-the-certificate-to-a-v3-domainand the pt-br/pt-br/documentacao/guias/seguranca-de-aplicacoes/tls-e-certificados/certificado-digital/#vincule-o-certificado-a-um-dominio-v3. The intro's v3 sentence links to this section.node scripts/ci/ratchet.mjs linkcheckandnode scripts/ci/ratchet.mjs slugcheckfrom the repo root, after the build.URL changes and redirects
Removed permalinks:
apps/docs/redirects/{en,pt-br}/0[01].json. Each one still resolves in one hop to a live page./en/documentation/guides/application-security/tls-and-certificates/create-a-digital-certificate/->/en/documentation/guides/application-security/tls-and-certificates/digital-certificates/(added,redirects/en/01.json)/pt-br/documentacao/guias/seguranca-de-aplicacoes/tls-e-certificados/criar-certificado-digital/->/pt-br/documentacao/guias/seguranca-de-aplicacoes/tls-e-certificados/certificado-digital/(added,redirects/pt-br/01.json)Retargeted, so no reader goes through a chain or lands on an unrelated page:
/products/deliver/(en + pt-br,00.json) pointed at the retired/products/deploy/and now goes straight to the docs home./products/peering/,/docs/products/peering/and/products/azion-network-program/(en + pt-br,00.jsonand01.json, 10 rows) pointed at Professional Services, which has no peering content. They now point to the support contacts table, which lists the peering and NOC addresses:/en/documentation/support/#other-contactsand/pt-br/documentacao/suporte/#outros-contatos.No URL of a kept page changes. The 19 architecture pages keep theirs, as
nav:migrateconfirms.Notes
src/nav/redirects.jsonfor their owners: 7 for docs(platform): retire the v3 build and deploy journey pages #2587 (MM-16238), 8 for docs(secure): retire the pre-Workloads security journey and guide pages #2586 (MM-16239), 2 for MM-16268 (the WAF and Bot Manager example hubs, to be registered infirewall.json), andliveness-detectionfor docs(templates): point Deploy links to the current Marketplace catalog (MM-16236) #2582 (MM-16236), which already deletes it. 5 entries stay inexempt.json: the 2 architectures docs(architectures): keep security-modernization and bot-management as API v3 versions #2589 (MM-16243) keeps as v3 versions,coming-soon(resolve.tsuses it as a constant), and the 2 Orchestrator architectures (no catalogued use case).src/nav/redirects.jsonwith docs(secure): retire the pre-Workloads security journey and guide pages #2586, docs(platform): retire the v3 build and deploy journey pages #2587, and docs(templates): point Deploy links to the current Marketplace catalog (MM-16236) #2582. Apply both sides' removals.redirects/{en,pt-br}/01.jsonwith docs(secure): retire the pre-Workloads security journey and guide pages #2586, docs(platform): retire the v3 build and deploy journey pages #2587, and docs(architectures): keep security-modernization and bot-management as API v3 versions #2589. Keep both appended blocks./use-cases/.lint-navcheck.tsnow counts only visible children for the soft max, so hidden rows don't trigger warnings. Thehiddencomment inschema.tsnow covers Reference Architecture pages.ai_agent_autonomous_securitykeeps its URL under Build and run AI workloads, while the catalog files it under Secure applications and networks.AGENTS.mdstill namesapps/redirects-massive/for the redirect files.build:localpasses.lint:navcheckpasses.nav:migratereports 0 moves.ci:ratchet linkcheckreports 159 issues (baseline 221), and none of them involves a URL in this diff.ci:ratchet slugcheckreports 6 (baseline 6). Five independent read-only reviews checked the deleted pages and their redirects, lost content, the hidden rows, redirect integrity, sibling-PR conflicts, and completeness.