Skip to content

Commit 7e0853d

Browse files
committed
chore(shell-docs): hide and clean up stale pages
Drop orphaned/broken/AI-slop pages from nav, add 302 redirects, and delete dead per-framework override stragglers. Items addressed: - 1.1: Tutorials section hidden (broken end-to-end; rewrite post-launch) - 6.1: coding-agent-setup.mdx (rename straggler -> /coding-agents) - 10.1: copilot-suggestions.mdx (orphaned broken stub) - 11.1: generative-ui/open-json-ui.mdx (AI-slop placeholder) - 21.1: migrate/1.10.X.mdx (~1yr-old migration target) - 16.1: 3 orphan shared-state files in adk/langgraph/llamaindex (each meta.json wires only one of state-inputs-outputs vs workflow-execution; the other was a dead duplicate) All redirects use permanent: false (302) so URLs can be restored at the same paths once the affected pages are properly authored.
1 parent b1c7088 commit 7e0853d

10 files changed

Lines changed: 39 additions & 1160 deletions

File tree

showcase/shell-docs/next.config.ts

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -316,6 +316,44 @@ const nextConfig: NextConfig = {
316316
destination: "/concepts/generative-ui-overview",
317317
permanent: true,
318318
},
319+
320+
// Stale pages hidden pre-launch. 302 (not permanent) — these
321+
// URLs may be restored once the underlying content is rewritten.
322+
// Tutorials are broken end-to-end and pulled from nav; files
323+
// remain on disk under content/docs/tutorials/ for post-launch
324+
// rewrite.
325+
{
326+
source: "/tutorials/:path*",
327+
destination: "/",
328+
permanent: false,
329+
},
330+
// Old-name straggler from the coding-agents rename; the page
331+
// moved to /coding-agents.
332+
{
333+
source: "/coding-agent-setup",
334+
destination: "/coding-agents",
335+
permanent: false,
336+
},
337+
// Orphaned broken stub.
338+
{
339+
source: "/copilot-suggestions",
340+
destination: "/",
341+
permanent: false,
342+
},
343+
// AI-slop placeholder pulled from nav until properly authored;
344+
// file stays on disk for rewrite.
345+
{
346+
source: "/generative-ui/open-json-ui",
347+
destination: "/generative-ui",
348+
permanent: false,
349+
},
350+
// ~1-year-old migration target, no longer a meaningful jump-off
351+
// point.
352+
{
353+
source: "/migrate/1.10.X",
354+
destination: "/migrate",
355+
permanent: false,
356+
},
319357
];
320358
},
321359
};

showcase/shell-docs/src/content/docs/coding-agent-setup.mdx

Lines changed: 0 additions & 297 deletions
This file was deleted.

showcase/shell-docs/src/content/docs/copilot-suggestions.mdx

Lines changed: 0 additions & 34 deletions
This file was deleted.

showcase/shell-docs/src/content/docs/generative-ui/meta.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
"a2ui",
1313
"a2ui/dynamic-schema",
1414
"a2ui/fixed-schema",
15-
"open-json-ui",
1615
"---Open-Ended---",
1716
"mcp-apps"
1817
]

0 commit comments

Comments
 (0)