Skip to content

Commit 1a95f4f

Browse files
committed
docs(agentcore): change agentcore docs location and link with frameworks
1 parent aeec30e commit 1a95f4f

31 files changed

Lines changed: 163 additions & 72 deletions

docs/components/layout/conditional-sidebar.tsx

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ import { DocsLayoutProps } from "fumadocs-ui/layouts/docs";
55
import Sidebar from "./sidebar";
66
import IntegrationsSidebar from "./integrations-sidebar";
77
import { INTEGRATION_ORDER } from "@/lib/integrations";
8+
9+
const DEPLOY_ROUTES = ["agentcore"];
810
import { normalizeUrl } from "@/lib/analytics-utils";
911
import { useMemo } from "react";
1012
import VersionSelector, {
@@ -27,9 +29,10 @@ export default function ConditionalSidebar({
2729
// Check if this is an integration landing page (e.g., /langgraph)
2830
// Use the first segment of the normalized pathname to ensure correct matching
2931
const firstSegment = normalizedPathname.replace(/^\//, "").split("/")[0];
30-
const isIntegrationRoute = INTEGRATION_ORDER.includes(
31-
firstSegment as (typeof INTEGRATION_ORDER)[number],
32-
);
32+
const isIntegrationRoute =
33+
INTEGRATION_ORDER.includes(
34+
firstSegment as (typeof INTEGRATION_ORDER)[number],
35+
) || DEPLOY_ROUTES.includes(firstSegment);
3336

3437
// Check if this is a reference route (e.g., /reference)
3538
const isReferenceRoute = firstSegment === "reference";

docs/components/react/integration-link-button/integration-button-group.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ import AdkIcon from "@/components/ui/icons/adk";
33
import Ag2Icon from "@/components/ui/icons/ag2";
44
import AgnoIcon from "@/components/ui/icons/agno";
55
import { AwsStrandsIcon } from "@/components/ui/icons/aws-strands";
6-
import CloudIcon from "@/components/ui/icons/cloud";
76
import CrewaiIcon from "@/components/ui/icons/crewai";
87
import CopilotKitMarkIcon from "@/components/ui/icons/copilotkit-mark";
98
import LanggraphIcon from "@/components/ui/icons/langgraph";
@@ -42,7 +41,6 @@ const INTEGRATION_ICONS: Record<
4241
"pydantic-ai": PydanticAiIcon,
4342
"microsoft-agent-framework": MicrosoftIcon,
4443
"aws-strands": AwsStrandsIcon,
45-
agentcore: CloudIcon,
4644
a2a: A2AIcon,
4745
};
4846

docs/components/react/integrations.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ import AgnoIcon from "../ui/icons/agno";
2525
import PydanticAiIcon from "../ui/icons/pydantic-ai";
2626
import { MicrosoftIcon } from "../ui/icons/microsoft";
2727
import { AwsStrandsIcon } from "../ui/icons/aws-strands";
28-
import CloudIcon from "../ui/icons/cloud";
2928

3029
// Icon mapping - component-specific
3130
const INTEGRATION_ICONS: Record<
@@ -37,7 +36,6 @@ const INTEGRATION_ICONS: Record<
3736
adk: AdkIcon,
3837
"microsoft-agent-framework": MicrosoftIcon,
3938
"aws-strands": AwsStrandsIcon,
40-
agentcore: CloudIcon,
4139
mastra: MastraIcon,
4240
"pydantic-ai": PydanticAiIcon,
4341
"crewai-flows": CrewaiIcon,

docs/components/ui/integrations-sidebar/integration-selector.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ import IntegrationPuzzleIcon from "../icons/integration-puzzle";
1616
import CheckIcon from "../icons/check";
1717
import { MicrosoftIcon } from "../icons/microsoft";
1818
import { AwsStrandsIcon } from "../icons/aws-strands";
19-
import CloudIcon from "../icons/cloud";
2019
import { AgentSpecMarkIcon, A2AIcon } from "@/lib/icons/custom-icons";
2120
import {
2221
INTEGRATION_ORDER,
@@ -43,7 +42,6 @@ const INTEGRATION_ICONS: Record<
4342
adk: AdkIcon,
4443
"microsoft-agent-framework": MicrosoftIcon,
4544
"aws-strands": AwsStrandsIcon,
46-
agentcore: CloudIcon,
4745
mastra: MastraIcon,
4846
"pydantic-ai": PydanticAiIcon,
4947
"crewai-flows": CrewaiIcon,

docs/components/ui/sidebar/integration-link.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ import PydanticAiIcon from "../icons/pydantic-ai";
1717
import ChevronRightIcon from "../icons/chevron";
1818
import { MicrosoftIcon } from "../icons/microsoft";
1919
import { AwsStrandsIcon } from "../icons/aws-strands";
20-
import CloudIcon from "../icons/cloud";
2120
import { AgentSpecMarkIcon, A2AIcon } from "@/lib/icons/custom-icons";
2221
import { IntegrationId } from "@/lib/integrations";
2322

@@ -53,7 +52,6 @@ const INTEGRATION_ICONS: Record<
5352
"pydantic-ai": PydanticAiIcon,
5453
"microsoft-agent-framework": MicrosoftIcon,
5554
"aws-strands": AwsStrandsIcon,
56-
agentcore: CloudIcon,
5755
a2a: A2AIcon,
5856
};
5957

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
title: Full-stack example
3+
description: A complete, deployable CopilotKit + AgentCore application with CDK, LangGraph or Strands, generative UI, and shared state.
4+
icon: "lucide/Box"
5+
---
6+
7+
import Content from "@/snippets/integrations/agentcore/full-stack-example.mdx"
8+
9+
<Content components={props.components} />
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
title: Introduction
3+
icon: "lucide/Cloud"
4+
description: Add a production-ready frontend to your AWS AgentCore agents with CopilotKit.
5+
hideHeader: true
6+
---
7+
8+
import Content from "@/snippets/integrations/agentcore/index.mdx"
9+
10+
<Content components={props.components} />
File renamed without changes.
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
title: Quickstart
3+
description: Connect CopilotKit to your AgentCore agent and get a full frontend in minutes.
4+
icon: "lucide/Play"
5+
hideTOC: true
6+
---
7+
8+
import Content from "@/snippets/integrations/agentcore/quickstart.mdx"
9+
10+
<Content components={props.components} />
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"title": "Deploy",
3+
"pages": [
4+
"agentcore"
5+
]
6+
}

0 commit comments

Comments
 (0)