Skip to content

Commit aedd0b0

Browse files
docs(cookbook): wire Cookbook as a top-level nav tab
Decision made on the nav-placement deferral from the previous commit: the Cookbook gets a top-level nav tab (next to Learn) — mirroring how reference and learn appear both as top-level tabs and as root meta.json entries. Adds a Cookbook entry to LEFT_LINKS in navbar.tsx using the lucide ChefHat icon (matching the section's frontmatter icon) and restores 'cookbook' to the root docs meta.json so it also appears in the Documentation sidebar. OSS-222
1 parent db2a76f commit aedd0b0

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

docs/components/layout/navbar.tsx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import GithubIcon from "@/components/ui/icons/github";
1818
import DiscordIcon from "@/components/ui/icons/discord";
1919
import ExternalLinkIcon from "@/components/ui/icons/external-link";
2020
import BurgerMenuIcon from "@/components/ui/icons/burger-menu";
21-
import { BookOpenIcon, ScrollTextIcon } from "lucide-react";
21+
import { BookOpenIcon, ChefHatIcon, ScrollTextIcon } from "lucide-react";
2222

2323
export interface NavbarLink {
2424
href: string;
@@ -48,6 +48,11 @@ export const LEFT_LINKS: NavbarLink[] = [
4848
label: "Learn",
4949
href: "/learn",
5050
},
51+
{
52+
icon: <ChefHatIcon size={16} />,
53+
label: "Cookbook",
54+
href: "/cookbook",
55+
},
5156
{
5257
icon: <CloudIcon />,
5358
label: "Free Developer Access",

docs/content/docs/meta.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
"...(root)",
66
"reference",
77
"learn",
8+
"cookbook",
89
"---Integrations---",
910
"...integrations",
1011
"a2a",

0 commit comments

Comments
 (0)