Commit Graph

55 Commits

Author SHA1 Message Date
Tyler Slaton 5728611dfd feat(shell-docs): upgrade to fumadocs 16 / next 16, polish layout, add llms.txt + page actions
Stack upgrade
- fumadocs-core/ui 15.8.5 → 16.8.12, next 15 → 16 (Turbopack), react 19 → 19.2
- Swap "next lint" → "oxlint ." to match the rest of the repo
- New deps for the page-actions component: @radix-ui/react-popover,
  class-variance-authority, clsx, tailwind-merge

Layout & brand polish
- Sidebar floats as a rounded-2xl card with column-aligned padding;
  framework picker pill, accent-purple section icons (16px), accent
  active state, and a single divider line at the footer
- New custom <ThemeSwitch> — single 50×28 neutral switch replaces the
  fumadocs sun/moon split (drops the vertical divider and purple tint)
- Sidebar folder collapse state persists across navigations via
  SidebarFolderStatePreserver
- BrandNav: wider top bar, lowercase "Talk to an engineer", BookIcon
  for Docs, GitHub/Discord icons rendered inline in our footer row
- Mobile: nav clipping + content padding fixes, content grid-span-full
- TOC-less pages: lift article max-width so content stretches into the
  empty TOC column on wide viewports

New routes
- /llms.txt — page index per fumadocs LLMs integration
- /llms-full.txt — concatenated full text of every docs page
- /<path>.md and /<path>.mdx — per-page raw markdown with <Snippet>
  regions inlined as fenced code blocks (resolver in lib/llm-text.ts
  reuses the same demo-content.json the <Snippet> runtime reads)
- Page-actions bar: Copy Markdown + Open in Claude / Claude Code /
  Windsurf / Codex (Codex links to https://chatgpt.com/codex for
  universal coverage)

Content fixes
- Reasoning page (generative-ui/reasoning.mdx): rewrite to point at
  the real reasoning-default / reasoning-custom cells instead of the
  stale agentic-chat-reasoning / reasoning-default-render names
- Strip <FeatureIntegrations /> chip list ("SUPPORTED BY ...") from
  16 docs MDX files (component definition kept in mdx-registry)
- Drop hideTOC: true from 11 pages so they pick up the lifted-cap rule
- Default home (/) to the built-in-agent authored sidebar; fix active
  state matching on the home url
- Restore default fumadocs Callout (drop the bespoke docs-callout)
- OpsPlatformCTA redesign — light bordered card with accent stripe
- FrameworkOverview redesign — drop atmospheric chrome, smaller hero
- Homepage / docs-landing redesign

Integrations (LGP / LGT / ADK)
- Tag @region[default-reasoning-zero-config] in reasoning-default and
  @region[reasoning-block-render] in reasoning-custom for all three
  frameworks so the docs <Snippet> calls resolve
- Tag @region[use-agent-simple] + @region[message-list-simple] in
  headless-simple and @region[use-rendered-messages-hook] +
  @region[manual-tool-call-rendering] +
  @region[manual-activity-message-rendering] + @region[custom-bubbles]
  across headless-complete

Other
- docs/components/layout/mobile-sidebar.tsx: lowercase "engineer" to
  match shell-docs
- .claude/launch.json + .claude/preview/ — dev launch configs for the
  worktree so /preview brings up shell-docs on :3003
2026-05-20 19:32:18 -07:00
Sam Julien 382fb22cfe fix(docs/mobile-sidebar): use opaque sidebar surface instead of 50% white
The drawer aside was set to `bg-white/50 dark:bg-white/[0.01]` with a
`backdrop-blur-3xl`. In light mode this rendered as a 50%-transparent
white panel over the page underneath, which made every item read
"grayed-out" through the blur. In dark mode the 0.01 white was so
faint that the panel was effectively transparent.

Switch to `bg-sidebar` — the opaque sidebar token already used by the
desktop navbar — and drop the backdrop blur (pointless without the
transparency). Items now sit on a solid surface with normal contrast
in both themes.
2026-05-14 20:36:44 -05:00
Sam Julien 84925930bd feat(nav): redesign "Talk to an Engineer" CTA on both docs surfaces
## Label
"Talk to Our Engineers" → "Talk to an Engineer" everywhere it appears
(button text, aria-labels, mobile drawer entry, source comment).

## Desktop pill (≥1100px)
- Gradient fill (indigo-500/90 → purple-500/90 at rest, full at hover)
- Soft shadow lift on hover
- Shimmer animation: a translucent white stripe slides across via an
  ::after pseudo-element on hover (overflow-hidden + after:translate-x
  transition over 700ms). Replaces the earlier scale-on-hover.
- Breakpoint lowered from 1400px → 1100px so the pill is visible at
  most laptop widths where there's plenty of room

## Compact calendar icon (md → 1099px)
- New second button rendered alongside the pill, visible only when
  the rest of the right cluster is icon-only (768–1099px)
- Same gradient + shimmer treatment in a 36×36 rounded-full button
- Inline calendar SVG (matches the Lucide calendar shape)

## Free Developer Access — shell-docs parity with docs/
- Added as a text link in shell-docs' LEFT_LINKS (mirrors the existing
  docs/ pattern); cloud icon on the right cluster now hands off to it
  at ≥1100px
- Visibility transitions on both surfaces realigned to 1100px so the
  cloud↔text and calendar↔pill flips happen at the same boundary
- whitespace-nowrap on LEFT_LINKS label spans so long labels like
  "Free Developer Access" don't wrap when the nav gets tight

## Mobile drawer
- docs/: add a Talk-to-Engineer button at the top of MobileSidebar
  (was missing entirely). Tracks `talk_to_us_clicked` with
  location: docs_navbar_mobile.
- shell-docs: move the existing Talk-to-Engineer button to the top of
  the drawer column so it's the first thing readers see.
2026-05-14 20:36:44 -05:00
Benjamin Taylor 017e19455a chore: retarget "Talk to engineers" CTAs to /talk-to-an-engineer
Updates the docs navbar and showcase shell-docs brand-nav so the "Talk
to engineers" CTA points at copilotkit.ai/talk-to-an-engineer instead
of the deprecated /contact-us endpoint.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-08 11:30:59 -05:00
Tyler Slaton 760fc65187 feat(docs): scope sidebar to /learn with header + Overview landing
Add a Learn-only sidebar mode that mirrors how /reference works: when a user
is under /learn, the framework picker is hidden and the sidebar shows only
learn content (What's New, Agentic Protocols, Generative UI, Specs,
Architecture, Tutorials).

- Add `learn` to the root meta.json so the learn folder is discoverable in
  the page tree (was missing, which is why ConditionalSidebar previously
  fell through to the default sidebar on /learn routes)
- Add a static LearnHeader (book icon + "Learn") visually matching the
  Reference version selector, wired in via Sidebar's headerSlot
- Rename the learn index page title to "Overview" so the landing page reads
  cleanly under the new header
- Drop the redundant `h-6` spacer in Sidebar — every header component
  (IntegrationSelector, VersionSelector, LearnHeader) already supplies its
  own `mb-3`, and the spacer was producing a 24px phantom gap on /learn
  while collapsing to 0 on /reference under flex shrink

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-04 20:49:48 -07:00
Sam Julien fabaedc705 docs(cta): align analytics event with website naming scheme
Renames the docs CTA tracking event from `cta_clicked` to
`try_for_free_clicked` to match the per-event custom event names used
on the marketing website, and uses a single `location` string property
in place of the previous `surface` / `variant` / `target` / `page_path`
shape. Surface identifiers are normalized to underscored snake_case to
match the location values already used on the website.

Same change applies to the docs navbar handler that fires when a
visitor clicks the Free Developer Access link.
2026-05-04 08:27:02 -07:00
Sam Julien 25e0e3c8ad feat(docs): add sign-up CTA component and dashboard navbar link
Introduces a reusable OpsPlatformCTA component with four visual variants
(card, info, inline, tile) for placing dashboard sign-up calls-to-action
across the docs. Each click captures a `cta_clicked` PostHog event tagged
with surface, variant, and page path, and navigates to the dashboard with
UTM parameters identifying the source surface.

Registers the component in both MDX provider maps (home and integrations
slug routes) so it can be used in any MDX file.

Repoints the navbar "Free Developer Access" link to the dashboard and
wires the same PostHog tracking to its left and right placements.
2026-05-04 10:00:44 -05:00
Sam Julien 1f9e668980 feat(docs): add Talk to Our Engineers button to navbar
Adds a CTA button to the right side of the docs navbar mirroring the
website's nav button, including matching PostHog instrumentation. Fires
talk_to_us_clicked with { location: "docs_nav" } so docs-originated
clicks can be segmented separately from website clicks (which use
"nav"). Visible at viewports >= 1400px to avoid forcing the left
links to wrap; hidden below that breakpoint where the mobile burger
menu surfaces the link instead. Styled with text-muted-foreground to
match the existing nav links and an indigo #7076D5 hover accent that
matches the active-link underline.
2026-05-01 14:19:56 -07:00
Sam Julien cd405bc7cb fix(docs): scale navbar slanted borders with container height
The slanted SVG borders bridging the navbar's left and right pill
containers were sized with fixed pixels (w-[24px] h-[60px] /
xl:w-[29px] xl:h-[72px]). When users scale Chrome's default font size
above 16px, rem-based content inside the nav grows but the SVGs stay
fixed, leaving a visible wedge of page background at the top of the
join. Switch to h-full w-auto so the SVGs follow the container's
actual height while preserving their viewBox aspect ratio.
2026-05-01 14:18:27 -07:00
Tyler Slaton 0d70378193 docs(agentcore): add AWS AgentCore integration docs (#3586)
This PR draft documentation to the question: What do I need to do if I
want to add CopilotKit after deploying agent to AgentCore following this
guide
[here](https://docs.aws.amazon.com/bedrock-agentcore/latest/devguide/runtime-agui.html)

So basically, following the guide linked, wanting CopilotKit, "Now
what?"
2026-04-28 20:30:33 -07:00
Tyler Slaton 6e25a2ee99 docs: rename navbar "Copilot Cloud" link to "Free Developer Access"
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-22 17:31:11 -07:00
Ran Shem Tov 1a95f4ff38 docs(agentcore): change agentcore docs location and link with frameworks 2026-04-22 10:26:05 +02:00
Claude ad629e1779 docs: rebrand LangGraph integration to LangChain across documentation
Update user-facing references from "LangGraph" to "LangChain" per CPK-7186.
The integration label, descriptions, and agent terminology now use "LangChain"
while preserving "LangGraph" for technical references (Platform, Studio, CLI,
StateGraph, code/package names, and API references).

- Rename integration label in integrations.ts, meta.json, integration-grid,
  feature-matrix, quickstart-dropdown, and link-validation
- Update ~47 MDX docs: "LangGraph agent(s)" → "LangChain agent(s)"
- Update FAQ, snippets, and learn section references
- Keep URL paths (/langgraph) unchanged for backward compatibility
- Keep all code imports, package names, and LangGraph Platform/Studio/CLI as-is

https://claude.ai/code/session_01JAQ7P3GEeP2bGZtc6V45WY
2026-04-02 17:21:00 +02:00
Tyler Slaton 5d4ed8f312 fix: run formatter to resolve lint issues
Signed-off-by: Tyler Slaton <tyler@copilotkit.ai>
2026-03-18 15:36:46 -04:00
johnprg 3540f36f74 add banners to link checker. remove unused FeatureGrid 2026-03-17 10:48:35 -07:00
johnprg ffa80c6aad fix: remove v1.50 announcement. Fix MCP-apps link 2026-03-17 10:35:56 -07:00
Tyler Slaton cc8c945893 refactor(docs): optimize structure, content and navigability
Signed-off-by: Tyler Slaton <tyler@copilotkit.ai>
2026-03-02 11:30:16 -05:00
Max Korp 980d3f5b55 docs: add v2 interface reference docs (#3197)
Also fixing some linting/build issues.

Co-authored-by: Tyler Slaton <tyler@copilotkit.ai>
2026-02-17 17:14:41 -05:00
Alem Tuzlak 7b838547a9 feat: re-architeture the monorepo setup (#3187) 2026-02-13 11:01:44 +01:00
John Rae-Grant b5bdb5c8de Docs/add broken links check (#3122) 2026-01-30 18:07:43 -08:00
John Rae-Grant 05ebaafaa2 Docs/mcp apps launch update (#3067)
update what's new to highlight MCP apps and Deep Agents
2026-01-21 22:30:57 -08:00
John Rae-Grant 02ff998136 fix: use session storage to fix new tab bug (#3000) 2026-01-13 14:14:20 -08:00
John Rae-Grant 02568353d0 Docs/feature sidebar integrations (#2994) 2026-01-11 18:17:19 -08:00
John Rae-Grant e9e6fbdd85 Docs Rebranding with fixes (#2982)
Co-authored-by: Max Korp <maxkorp@8bytealchemy.com>
Co-authored-by: Santiago Cubino <scubino@litebox.ai>
Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-01-08 14:28:26 -08:00
johnprg eaedc9e078 Revert "Docs Rebranding"
This reverts commit 1810c76223.
2026-01-06 19:50:23 -08:00
John Rae-Grant 1810c76223 Docs Rebranding
Co-authored-by: Max Korp <maxkorp@8bytealchemy.com>
Co-authored-by: Santiago Cubino <scubino@litebox.ai>
Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-01-06 19:39:56 -08:00
John Rae-Grant e6178faa33 Docs/a2ui banner (#2868) 2025-12-16 15:29:13 -08:00
John Rae-Grant ab0d4e74b0 Final docs changes for a2UI launch (#2854) 2025-12-15 09:42:25 -08:00
John Rae-Grant 4695d618dd feat: Docs Update for v1.5 announcement, GenUI specs and Agentic Protocols (#2815)
Signed-off-by: Tyler Slaton <tyler@copilotkit.ai>
Co-authored-by: Tyler Slaton <tyler@copilotkit.ai>
Co-authored-by: Max Korp <maxkorp@8bytealchemy.com>
2025-12-11 02:49:41 -05:00
Atai Barkai e49c200ad9 url swap (#2687) 2025-11-05 08:30:51 -10:00
Atai Barkai ac9cefbca6 docs early access video (#2686) 2025-11-04 14:12:18 -10:00
John Rae-Grant aba30d419a Chore/add 1.5 banner (#2665)
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-10-27 08:26:40 -07:00
Brandon McConnell fa75e07e78 docs(direct-to-llm): fix broken links 2025-10-09 16:22:39 -04:00
johnprg 96506acbff Revert "Docs/rebranding (#2519)"
This reverts commit 360d404555.
2025-09-30 11:01:35 -07:00
johnprg 93d06e7e98 Revert "Integrations->Select Integration (#2547)"
This reverts commit 4dd07e089e.
2025-09-30 10:58:39 -07:00
John Rae-Grant 4dd07e089e Integrations->Select Integration (#2547) 2025-09-30 09:51:39 -07:00
John Rae-Grant 360d404555 Docs/rebranding (#2519)
Co-authored-by: Max Korp <maxkorp@8bytealchemy.com>
Co-authored-by: Luis Valdés <luis@copilotkit.ai>
Co-authored-by: Ran Shemtov <ran@copilotkit.ai>
Co-authored-by: Muhammad Abubakar <abubakaran102025@gmail.com>
Co-authored-by: Chan Meng <chanmeng.dev@gmail.com>
Co-authored-by: Atai Barkai <atai.barkai@gmail.com>
Co-authored-by: snyk-bot <snyk-bot@snyk.io>
Co-authored-by: Sourabh Bagrecha <sourabhbagrecha@gmail.com>
Co-authored-by: Suhas Deshpande <suhasdeshpande@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-09-29 10:45:48 -07:00
johnprg aa0005c648 Revert "Docs/rebranding (#2455)"
This reverts commit f612cd5477.
2025-09-24 12:06:00 -07:00
John Rae-Grant f612cd5477 Docs/rebranding (#2455)
Mainly top nav addition and responsive work
Line up with upcoming docs rebranding from litebox
2025-09-24 11:52:46 -07:00
John Rae-Grant a03cffe1c5 Docs/add ag UI (#2429) 2025-09-09 11:53:46 -07:00
Tyler Slaton 31e1f7d2d4 refactor(docs): upgrade versions and overhaul structure and content (#2120)
Signed-off-by: Tyler Slaton <tyler@copilotkit.ai>
2025-08-14 19:02:06 -04:00
Tyler Slaton ad05c366df feat(docs): change banner and add cloud sign-in button (#1844)
Signed-off-by: Tyler Slaton <tyler@copilotkit.ai>
2025-05-19 17:22:02 -04:00
Tyler Slaton 34cab983f7 feat(docs): add banner for mcp launch (#1735) 2025-05-01 22:57:23 -04:00
Tyler Slaton b1319f6478 docs: remove old event (#1624)
Signed-off-by: Tyler Slaton <tyler@copilotkit.ai>
2025-04-04 09:16:09 -04:00
Tyler Slaton 9ae4975ea1 fix: address issue preventing banner from closing on docs (#1577)
Signed-off-by: Tyler Slaton <tyler@copilotkit.ai>
2025-03-27 01:23:33 -04:00
Tyler Slaton 4f566a5465 docs: crew-ai announcement banner (#1575)
Signed-off-by: Tyler Slaton <tyler@copilotkit.ai>
2025-03-26 22:48:57 -04:00
Tyler Slaton 32c0696313 chore: bump cpk version in docs (#1541)
Signed-off-by: Tyler Slaton <tyler@copilotkit.ai>
2025-03-26 19:24:03 -04:00
Tyler Slaton 8553d1207d docs: add migration document for 1.8.0 (#1532)
Signed-off-by: Tyler Slaton <tyler@copilotkit.ai>
Co-authored-by: Ran Shem Tov <ran@copilotkit.ai>
2025-03-24 19:38:09 -04:00
Tyler Slaton 16a6e1439e refactor(docs): reorganize, repurpose and generally improve documentation experience
- All CoAgents documentation has been improved or reevaluated in some way
- The coaents-starter has been simplified
- The coagents-starter now has a JS agent
- Expanded and unified examples in guides
- Quickstart has been improved in a number of ways
- Adding documentation about LangGraph interrupt

Signed-off-by: Tyler Slaton <tyler@copilotkit.ai>
2025-02-10 18:54:53 -05:00
Tyler Slaton e48a34a66b docs: update landing pages for docs and coagents
Signed-off-by: Tyler Slaton <tyler@copilotkit.ai>
2025-01-06 13:11:24 -05:00