Skip to content

Commit a0b86a0

Browse files
committed
docs: restructure Build section into Data / Interface / Automation subgroups
Move data-model, views, actions, and flows (all locales) into nested sidebar groups so the Build section stays scannable as it grows. Update all internal links, localized meta.json files, and add permanent redirects for the four moved URLs. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0145MY7RdJr8KuRMyn5oKAR6
1 parent f9c5920 commit a0b86a0

128 files changed

Lines changed: 318 additions & 203 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

apps/docs/next-env.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/// <reference types="next" />
22
/// <reference types="next/image-types/global" />
3-
import "./.next/types/routes.d.ts";
3+
import "./.next/dev/types/routes.d.ts";
44

55
// NOTE: This file should not be edited
66
// see https://nextjs.org/docs/app/api-reference/config/typescript for more information.

apps/docs/next.config.mjs

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,19 @@ const config = {
2828
},
2929
],
3030
},
31+
async redirects() {
32+
// Build section restructure: pages moved into data/, interface/, automation/ subgroups.
33+
const moved = [
34+
['/docs/build/data-model', '/docs/build/data'],
35+
['/docs/build/views', '/docs/build/interface/views'],
36+
['/docs/build/actions', '/docs/build/interface/actions'],
37+
['/docs/build/flows', '/docs/build/automation/flows'],
38+
];
39+
return moved.flatMap(([source, destination]) => [
40+
{ source, destination, permanent: true },
41+
{ source: `/:lang${source}`, destination: `/:lang${destination}`, permanent: true },
42+
]);
43+
},
3144
async rewrites() {
3245
return [
3346
{

content/docs/build/agents.de.mdx

Lines changed: 1 addition & 1 deletion

content/docs/build/agents.es.mdx

Lines changed: 1 addition & 1 deletion

content/docs/build/agents.fr.mdx

Lines changed: 1 addition & 1 deletion

content/docs/build/agents.ja.mdx

Lines changed: 1 addition & 1 deletion

content/docs/build/agents.ko.mdx

Lines changed: 1 addition & 1 deletion

content/docs/build/agents.mdx

Lines changed: 1 addition & 1 deletion

content/docs/build/agents.zh-Hans.mdx

Lines changed: 1 addition & 1 deletion

content/docs/build/ai-builder.de.mdx

Lines changed: 2 additions & 2 deletions

0 commit comments

Comments
 (0)