diff --git a/public/sitemap.xml b/public/sitemap.xml
index 8cf8be30..543f8775 100644
--- a/public/sitemap.xml
+++ b/public/sitemap.xml
@@ -2,532 +2,525 @@
https://kagent.dev/agents
- 2025-08-21
+ 2025-09-03
weekly
0.8
https://kagent.dev/blog
- 2025-08-21
+ 2025-09-03
weekly
0.8
https://kagent.dev/community
- 2025-08-21
+ 2025-09-03
weekly
0.8
https://kagent.dev/docs/kagent/concepts/agents
- 2025-08-21
+ 2025-09-03
weekly
0.8
https://kagent.dev/docs/kagent/concepts/architecture
- 2025-08-21
+ 2025-09-03
weekly
0.8
https://kagent.dev/docs/kagent/concepts
- 2025-08-21
+ 2025-09-03
weekly
0.8
https://kagent.dev/docs/kagent/concepts/tools
- 2025-08-21
+ 2025-09-03
weekly
0.8
https://kagent.dev/docs/kagent/examples/a2a-agents
- 2025-08-21
+ 2025-09-03
weekly
0.8
https://kagent.dev/docs/kagent/examples/a2a-byo
- 2025-08-21
+ 2025-09-03
weekly
0.8
https://kagent.dev/docs/kagent/examples/discord-a2a
- 2025-08-21
+ 2025-09-03
weekly
0.8
https://kagent.dev/docs/kagent/examples/documentation
- 2025-08-21
+ 2025-09-03
weekly
0.8
https://kagent.dev/docs/kagent/examples
- 2025-08-21
+ 2025-09-03
weekly
0.8
https://kagent.dev/docs/kagent/examples/slack-a2a
- 2025-08-21
+ 2025-09-03
weekly
0.8
https://kagent.dev/docs/kagent/getting-started/first-agent
- 2025-08-21
+ 2025-09-03
weekly
0.8
https://kagent.dev/docs/kagent/getting-started/first-mcp-tool
- 2025-08-21
+ 2025-09-03
weekly
0.8
https://kagent.dev/docs/kagent/getting-started
- 2025-08-21
+ 2025-09-03
weekly
0.8
https://kagent.dev/docs/kagent/getting-started/quickstart
- 2025-08-21
+ 2025-09-03
weekly
0.8
https://kagent.dev/docs/kagent/getting-started/system-prompts
- 2025-08-21
+ 2025-09-03
weekly
0.8
https://kagent.dev/docs/kagent/getting-started/tracing
- 2025-08-21
+ 2025-09-03
weekly
0.8
https://kagent.dev/docs/kagent/introduction/installation
- 2025-08-21
+ 2025-09-03
weekly
0.8
https://kagent.dev/docs/kagent/introduction
- 2025-08-21
+ 2025-09-03
weekly
0.8
https://kagent.dev/docs/kagent/introduction/what-is-kagent
- 2025-08-21
+ 2025-09-03
weekly
0.8
https://kagent.dev/docs/kagent
- 2025-08-21
+ 2025-09-03
weekly
0.8
https://kagent.dev/docs/kagent/resources/api-ref
- 2025-08-21
+ 2025-09-03
weekly
0.8
https://kagent.dev/docs/kagent/resources/faq
- 2025-08-21
+ 2025-09-03
weekly
0.8
https://kagent.dev/docs/kagent/resources/helm
- 2025-08-21
+ 2025-09-03
weekly
0.8
https://kagent.dev/docs/kagent/resources
- 2025-08-21
+ 2025-09-03
weekly
0.8
https://kagent.dev/docs/kagent/resources/release-notes
- 2025-08-21
+ 2025-09-03
weekly
0.8
https://kagent.dev/docs/kagent/resources/troubleshooting
- 2025-08-21
+ 2025-09-03
weekly
0.8
https://kagent.dev/docs/kagent/supported-providers/anthropic
- 2025-08-21
+ 2025-09-03
weekly
0.8
https://kagent.dev/docs/kagent/supported-providers/azure-openai
- 2025-08-21
- weekly
- 0.8
-
-
-
- https://kagent.dev/docs/kagent/supported-providers/custom-models
- 2025-08-21
+ 2025-09-03
weekly
0.8
https://kagent.dev/docs/kagent/supported-providers/gemini
- 2025-08-21
+ 2025-09-03
weekly
0.8
https://kagent.dev/docs/kagent/supported-providers/google-vertexai
- 2025-08-21
+ 2025-09-03
weekly
0.8
https://kagent.dev/docs/kagent/supported-providers/ollama
- 2025-08-21
+ 2025-09-03
weekly
0.8
https://kagent.dev/docs/kagent/supported-providers/openai
- 2025-08-21
+ 2025-09-03
weekly
0.8
https://kagent.dev/docs/kagent/supported-providers
- 2025-08-21
+ 2025-09-03
weekly
0.8
https://kagent.dev/docs/kmcp/deploy/install-controller
- 2025-08-21
+ 2025-09-03
weekly
0.8
https://kagent.dev/docs/kmcp/deploy
- 2025-08-21
+ 2025-09-03
weekly
0.8
https://kagent.dev/docs/kmcp/deploy/server
- 2025-08-21
+ 2025-09-03
weekly
0.8
https://kagent.dev/docs/kmcp/develop/fastmcp-python
- 2025-08-21
+ 2025-09-03
weekly
0.8
https://kagent.dev/docs/kmcp/develop/mcp-go
- 2025-08-21
+ 2025-09-03
weekly
0.8
https://kagent.dev/docs/kmcp/develop
- 2025-08-21
+ 2025-09-03
weekly
0.8
https://kagent.dev/docs/kmcp/introduction
- 2025-08-21
+ 2025-09-03
weekly
0.8
https://kagent.dev/docs/kmcp
- 2025-08-21
+ 2025-09-03
weekly
0.8
https://kagent.dev/docs/kmcp/quickstart
- 2025-08-21
+ 2025-09-03
weekly
0.8
https://kagent.dev/docs/kmcp/reference/api-ref
- 2025-08-21
+ 2025-09-03
weekly
0.8
https://kagent.dev/docs/kmcp/reference/kmcp-add-tool
- 2025-08-21
+ 2025-09-03
weekly
0.8
https://kagent.dev/docs/kmcp/reference/kmcp-build
- 2025-08-21
+ 2025-09-03
weekly
0.8
https://kagent.dev/docs/kmcp/reference/kmcp-deploy
- 2025-08-21
+ 2025-09-03
weekly
0.8
https://kagent.dev/docs/kmcp/reference/kmcp-init
- 2025-08-21
+ 2025-09-03
weekly
0.8
https://kagent.dev/docs/kmcp/reference/kmcp-install
- 2025-08-21
+ 2025-09-03
weekly
0.8
https://kagent.dev/docs/kmcp/reference/kmcp-run
- 2025-08-21
+ 2025-09-03
weekly
0.8
https://kagent.dev/docs/kmcp/reference/kmcp-secrets
- 2025-08-21
+ 2025-09-03
weekly
0.8
https://kagent.dev/docs/kmcp/reference
- 2025-08-21
+ 2025-09-03
weekly
0.8
https://kagent.dev/docs/kmcp/secrets
- 2025-08-21
+ 2025-09-03
weekly
0.8
https://kagent.dev/docs
- 2025-08-21
+ 2025-09-03
weekly
0.8
https://kagent.dev/page.tsx
- 2025-08-21
+ 2025-09-03
weekly
0.8
https://kagent.dev/tools
- 2025-08-21
+ 2025-09-03
weekly
0.8
https://kagent.dev/agents/argo-rollouts-conversion-agent
- 2025-08-21
+ 2025-09-03
weekly
0.8
https://kagent.dev/agents/cilium-crd-agent
- 2025-08-21
+ 2025-09-03
weekly
0.8
https://kagent.dev/agents/helm-agent
- 2025-08-21
+ 2025-09-03
weekly
0.8
https://kagent.dev/agents/istio-agent
- 2025-08-21
+ 2025-09-03
weekly
0.8
https://kagent.dev/agents/k8s-agent
- 2025-08-21
+ 2025-09-03
weekly
0.8
https://kagent.dev/agents/kgateway-agent
- 2025-08-21
+ 2025-09-03
weekly
0.8
https://kagent.dev/agents/observability-agent
- 2025-08-21
+ 2025-09-03
weekly
0.8
https://kagent.dev/agents/promql-agent
- 2025-08-21
+ 2025-09-03
weekly
0.8
https://kagent.dev/tools/istio
- 2025-08-21
+ 2025-09-03
weekly
0.8
https://kagent.dev/tools/kubernetes
- 2025-08-21
+ 2025-09-03
weekly
0.8
https://kagent.dev/tools/prometheus
- 2025-08-21
+ 2025-09-03
weekly
0.8
https://kagent.dev/tools/documentation
- 2025-08-21
+ 2025-09-03
weekly
0.8
https://kagent.dev/tools/helm
- 2025-08-21
+ 2025-09-03
weekly
0.8
https://kagent.dev/tools/argo
- 2025-08-21
+ 2025-09-03
weekly
0.8
https://kagent.dev/tools/grafana
- 2025-08-21
+ 2025-09-03
weekly
0.8
https://kagent.dev/tools/other
- 2025-08-21
+ 2025-09-03
weekly
0.8
https://kagent.dev/tools/cilium
- 2025-08-21
+ 2025-09-03
weekly
0.8
diff --git a/src/app/docs/kagent/supported-providers/page.mdx b/src/app/docs/kagent/supported-providers/page.mdx
index a4d5b4e7..2e73e964 100644
--- a/src/app/docs/kagent/supported-providers/page.mdx
+++ b/src/app/docs/kagent/supported-providers/page.mdx
@@ -25,7 +25,6 @@ import QuickLink from '@/components/quick-link';
-
diff --git a/src/config/navigation.json b/src/config/navigation.json
index ff7a23c4..93084793 100644
--- a/src/config/navigation.json
+++ b/src/config/navigation.json
@@ -120,11 +120,6 @@
"title": "OpenAI",
"href": "/docs/kagent/supported-providers/openai",
"description": "Learn how to configure OpenAI models in kagent."
- },
- {
- "title": "Custom Models",
- "href": "/docs/kagent/supported-providers/custom-models",
- "description": "Learn how to configure custom AI models in kagent."
}
]
},
@@ -168,18 +163,18 @@
{
"title": "API docs",
"href": "/docs/kagent/resources/api-ref",
- "description": "kagent API reference docs"
- },
- {
- "title": "FAQs",
- "href": "/docs/kagent/resources/faq",
- "description": "Find answers to frequently asked questions about kagent."
+ "description": "kagent API reference documentation"
},
{
"title": "Helm Chart Configuration",
"href": "/docs/kagent/resources/helm",
"description": "kagent Helm chart configuration reference"
},
+ {
+ "title": "FAQs",
+ "href": "/docs/kagent/resources/faq",
+ "description": "Find answers to frequently asked questions about kagent."
+ },
{
"title": "Release Notes",
"href": "/docs/kagent/resources/release-notes",
diff --git a/src/lib/utils.ts b/src/lib/utils.ts
index bd0c391d..eaa4bf72 100644
--- a/src/lib/utils.ts
+++ b/src/lib/utils.ts
@@ -1,6 +1,15 @@
-import { clsx, type ClassValue } from "clsx"
+import { type ClassValue, clsx } from "clsx"
import { twMerge } from "tailwind-merge"
export function cn(...inputs: ClassValue[]) {
return twMerge(clsx(inputs))
}
+
+export function generateAnchorId(text: string): string {
+ return text
+ .toLowerCase()
+ .replace(/[^a-z0-9\s-]/g, '') // Remove special characters except spaces and hyphens
+ .replace(/\s+/g, '-') // Replace spaces with hyphens
+ .replace(/-+/g, '-') // Replace multiple hyphens with single hyphen
+ .replace(/^-|-$/g, '') // Remove leading/trailing hyphens
+}
diff --git a/src/mdx-components.tsx b/src/mdx-components.tsx
index 5a4b0f3a..c3164a74 100644
--- a/src/mdx-components.tsx
+++ b/src/mdx-components.tsx
@@ -5,6 +5,7 @@ import { Tabs } from "./components/mdx/tabs";
import SmartLink from "./components/mdx/smart-link";
import { CodeBlock } from "./components/mdx/code-block";
import Image from "next/image";
+import { generateAnchorId } from "@/lib/utils";
function YouTube ({ id } : { id : string }){
return (
@@ -23,26 +24,78 @@ export function useMDXComponents(components: MDXComponents): MDXComponents {
return useMemo(
() => ({
// Headings
- h1: ({ children, ...props }) => (
-
- {children}
-
- ),
- h2: ({ children, ...props }) => (
-
- {children}
-
- ),
- h3: ({ children, ...props }) => (
-
- {children}
-
- ),
- h4: ({ children, ...props }) => (
-
- {children}
-
- ),
+ h1: ({ children, ...props }) => {
+ const text = typeof children === 'string' ? children : '';
+ const id = generateAnchorId(text);
+ return (
+
+ {children}
+
+ #
+
+
+ );
+ },
+ h2: ({ children, ...props }) => {
+ const text = typeof children === 'string' ? children : '';
+ const id = generateAnchorId(text);
+ return (
+
+ {children}
+
+ #
+
+
+ );
+ },
+ h3: ({ children, ...props }) => {
+ const text = typeof children === 'string' ? children : '';
+ const id = generateAnchorId(text);
+ return (
+
+ {children}
+
+ #
+
+
+ );
+ },
+ h4: ({ children, ...props }) => {
+ const text = typeof children === 'string' ? children : '';
+ const id = generateAnchorId(text);
+ return (
+
+ {children}
+
+ #
+
+
+ );
+ },
+ h5: ({ children, ...props }) => {
+ const text = typeof children === 'string' ? children : '';
+ const id = generateAnchorId(text);
+ return (
+
+ {children}
+
+ #
+
+
+ );
+ },
+ h6: ({ children, ...props }) => {
+ const text = typeof children === 'string' ? children : '';
+ const id = generateAnchorId(text);
+ return (
+
+ {children}
+
+ #
+
+
+ );
+ },
// Paragraph
p: ({ children, ...props }) => (