Skip to content

The Open Standard for Generative UI

docs: redirect /cloud/app and a stray library.ts URL that 404 (#1472)

devin-ai-integration[bot]a8f58546a17e
diff --git a/docs/next.config.mjs b/docs/next.config.mjs
index 14ef836c9..ba545d97b 100644
--- a/docs/next.config.mjs
+++ b/docs/next.config.mjs
@@ -106,7 +106,7 @@ const config = {
// while the marketing restructure settles — make it permanent once the
// home page has actually absorbed the cloud sections.
{
- source: "/cloud",
+ source: "/cloud/:page(app)?",
destination: "/",
permanent: false,
},
@@ -251,6 +251,11 @@ const config = {
destination: "/docs/openui-lang",
permanent: true,
},
+ {
+ source: "/docs/openui-lang/src/library.ts",
+ destination: "/docs/openui-lang/defining-components",
+ permanent: true,
+ },
// Pre-reorganisation flat example URLs.
...Object.entries({
"shadcn-chat": "/docs/openui-lang/examples/design-systems/shadcn",