diff --git a/public/images/docs/get-started/connect-no-code-agents/agent-configuration.png b/public/images/docs/get-started/connect-no-code-agents/agent-configuration.png new file mode 100644 index 00000000..f7b34ca0 Binary files /dev/null and b/public/images/docs/get-started/connect-no-code-agents/agent-configuration.png differ diff --git a/public/images/docs/get-started/connect-no-code-agents/agent-simulation-welcome.png b/public/images/docs/get-started/connect-no-code-agents/agent-simulation-welcome.png new file mode 100644 index 00000000..240d6d76 Binary files /dev/null and b/public/images/docs/get-started/connect-no-code-agents/agent-simulation-welcome.png differ diff --git a/public/images/docs/get-started/connect-no-code-agents/basic-information.png b/public/images/docs/get-started/connect-no-code-agents/basic-information.png new file mode 100644 index 00000000..609ebbc1 Binary files /dev/null and b/public/images/docs/get-started/connect-no-code-agents/basic-information.png differ diff --git a/public/images/docs/get-started/connect-no-code-agents/behaviour-and-summary.png b/public/images/docs/get-started/connect-no-code-agents/behaviour-and-summary.png new file mode 100644 index 00000000..17485137 Binary files /dev/null and b/public/images/docs/get-started/connect-no-code-agents/behaviour-and-summary.png differ diff --git a/public/images/docs/get-started/create-your-first-prompt/create-prompt.png b/public/images/docs/get-started/create-your-first-prompt/create-prompt.png new file mode 100644 index 00000000..aece7d41 Binary files /dev/null and b/public/images/docs/get-started/create-your-first-prompt/create-prompt.png differ diff --git a/public/images/docs/get-started/create-your-first-prompt/parameters.png b/public/images/docs/get-started/create-your-first-prompt/parameters.png new file mode 100644 index 00000000..5adaa292 Binary files /dev/null and b/public/images/docs/get-started/create-your-first-prompt/parameters.png differ diff --git a/public/images/docs/get-started/create-your-first-prompt/run-prompt.png b/public/images/docs/get-started/create-your-first-prompt/run-prompt.png new file mode 100644 index 00000000..e85996b5 Binary files /dev/null and b/public/images/docs/get-started/create-your-first-prompt/run-prompt.png differ diff --git a/public/images/docs/get-started/create-your-first-prompt/select-model.png b/public/images/docs/get-started/create-your-first-prompt/select-model.png new file mode 100644 index 00000000..26937cd7 Binary files /dev/null and b/public/images/docs/get-started/create-your-first-prompt/select-model.png differ diff --git a/public/images/docs/get-started/create-your-first-prompt/write-prompt.png b/public/images/docs/get-started/create-your-first-prompt/write-prompt.png new file mode 100644 index 00000000..9ba397eb Binary files /dev/null and b/public/images/docs/get-started/create-your-first-prompt/write-prompt.png differ diff --git a/public/images/docs/get-started/migrate/langfuse/01-settings.png b/public/images/docs/get-started/migrate/langfuse/01-settings.png new file mode 100644 index 00000000..f2b8710f Binary files /dev/null and b/public/images/docs/get-started/migrate/langfuse/01-settings.png differ diff --git a/public/images/docs/get-started/migrate/langfuse/02-credentials.png b/public/images/docs/get-started/migrate/langfuse/02-credentials.png new file mode 100644 index 00000000..e6276df0 Binary files /dev/null and b/public/images/docs/get-started/migrate/langfuse/02-credentials.png differ diff --git a/public/images/docs/get-started/migrate/langfuse/03-project.png b/public/images/docs/get-started/migrate/langfuse/03-project.png new file mode 100644 index 00000000..35be2a82 Binary files /dev/null and b/public/images/docs/get-started/migrate/langfuse/03-project.png differ diff --git a/public/images/docs/get-started/migrate/langfuse/04-sync-settings.png b/public/images/docs/get-started/migrate/langfuse/04-sync-settings.png new file mode 100644 index 00000000..b290a238 Binary files /dev/null and b/public/images/docs/get-started/migrate/langfuse/04-sync-settings.png differ diff --git a/public/images/docs/get-started/migrate/langfuse/05-sync-status.png b/public/images/docs/get-started/migrate/langfuse/05-sync-status.png new file mode 100644 index 00000000..dcc1e599 Binary files /dev/null and b/public/images/docs/get-started/migrate/langfuse/05-sync-status.png differ diff --git a/public/images/docs/get-started/route-your-first-llm-request/add_api_key_modal.png b/public/images/docs/get-started/route-your-first-llm-request/add_api_key_modal.png new file mode 100644 index 00000000..bf6fa4f0 Binary files /dev/null and b/public/images/docs/get-started/route-your-first-llm-request/add_api_key_modal.png differ diff --git a/public/images/docs/get-started/route-your-first-llm-request/add_provider_modal.png b/public/images/docs/get-started/route-your-first-llm-request/add_provider_modal.png new file mode 100644 index 00000000..a69ab2f4 Binary files /dev/null and b/public/images/docs/get-started/route-your-first-llm-request/add_provider_modal.png differ diff --git a/public/images/docs/get-started/route-your-first-llm-request/api_key_added.png b/public/images/docs/get-started/route-your-first-llm-request/api_key_added.png new file mode 100644 index 00000000..13c0723d Binary files /dev/null and b/public/images/docs/get-started/route-your-first-llm-request/api_key_added.png differ diff --git a/public/images/docs/get-started/route-your-first-llm-request/list_models_of_provider.png b/public/images/docs/get-started/route-your-first-llm-request/list_models_of_provider.png new file mode 100644 index 00000000..cd3a57f9 Binary files /dev/null and b/public/images/docs/get-started/route-your-first-llm-request/list_models_of_provider.png differ diff --git a/public/images/docs/get-started/route-your-first-llm-request/list_provider.png b/public/images/docs/get-started/route-your-first-llm-request/list_provider.png new file mode 100644 index 00000000..b1c5f106 Binary files /dev/null and b/public/images/docs/get-started/route-your-first-llm-request/list_provider.png differ diff --git a/public/images/docs/get-started/route-your-first-llm-request/provider_added.png b/public/images/docs/get-started/route-your-first-llm-request/provider_added.png new file mode 100644 index 00000000..48459391 Binary files /dev/null and b/public/images/docs/get-started/route-your-first-llm-request/provider_added.png differ diff --git a/public/images/docs/get-started/send-your-first-trace/keys-page.png b/public/images/docs/get-started/send-your-first-trace/keys-page.png new file mode 100644 index 00000000..b7196c96 Binary files /dev/null and b/public/images/docs/get-started/send-your-first-trace/keys-page.png differ diff --git a/public/images/docs/get-started/send-your-first-trace/tracing_detail.png b/public/images/docs/get-started/send-your-first-trace/tracing_detail.png new file mode 100644 index 00000000..fe57f8a1 Binary files /dev/null and b/public/images/docs/get-started/send-your-first-trace/tracing_detail.png differ diff --git a/public/images/docs/get-started/send-your-first-trace/tracing_drawer.png b/public/images/docs/get-started/send-your-first-trace/tracing_drawer.png new file mode 100644 index 00000000..527ed001 Binary files /dev/null and b/public/images/docs/get-started/send-your-first-trace/tracing_drawer.png differ diff --git a/public/images/docs/get-started/send-your-first-trace/tracing_home.png b/public/images/docs/get-started/send-your-first-trace/tracing_home.png new file mode 100644 index 00000000..c8337c7b Binary files /dev/null and b/public/images/docs/get-started/send-your-first-trace/tracing_home.png differ diff --git a/src/components/CodeCopyButtons.astro b/src/components/CodeCopyButtons.astro new file mode 100644 index 00000000..b9d9ab3f --- /dev/null +++ b/src/components/CodeCopyButtons.astro @@ -0,0 +1,65 @@ +--- +/** + * Global copy buttons for code blocks. + * Injects a copy button into every
 inside .docs-content, covering plain
+ * markdown fences and CodeGroup tabs alike. Skips , which ships its
+ * own button. Reuses the existing .copy-button styles from global.css.
+ */
+---
+
+
+
+
diff --git a/src/components/ImageZoom.astro b/src/components/ImageZoom.astro
new file mode 100644
index 00000000..26479450
--- /dev/null
+++ b/src/components/ImageZoom.astro
@@ -0,0 +1,80 @@
+---
+/**
+ * Click-to-expand lightbox for docs images.
+ * Any image inside .docs-content opens full-size in an overlay on click.
+ * Click anywhere or press Escape to close.
+ */
+---
+
+
+
+
diff --git a/src/components/Sidebar.astro b/src/components/Sidebar.astro
index 74d3f46c..be417906 100644
--- a/src/components/Sidebar.astro
+++ b/src/components/Sidebar.astro
@@ -244,10 +244,27 @@ function inferApiMethod(title: string): { method: string; css: string } | null {
                     
                   
                 ) : (
-                  /* Simple child link */
+                  /* Simple child link (or disabled row, e.g. "Coming soon") */
                   (() => {
                     const childMethod = isApiTab ? inferApiMethod(child.title) : null;
-                    return (
+                    const childDisabled = !child.href;
+                    const badgeEl = child.badge ? (
+                      {child.badge}
+                    ) : null;
+                    return childDisabled ? (
+                      
+ {child.title} + {badgeEl} +
+ ) : ( {childMethod.method} )} {child.title} + {badgeEl} ); })() diff --git a/src/components/TableOfContents.astro b/src/components/TableOfContents.astro index 21780783..5cd82e78 100644 --- a/src/components/TableOfContents.astro +++ b/src/components/TableOfContents.astro @@ -96,6 +96,24 @@ const feedbackUrl = `https://github.com/${GITHUB_REPO}/issues/new?title=${encode if (!tocLinks.length || !headings.length) return; + // Handle TOC clicks ourselves: the view-transitions router intercepts + // same-page hash links and resets scroll, so prevent that and scroll to the + // heading manually, offsetting for the fixed header. + var HEADER_OFFSET = 80; + tocLinks.forEach(function(link) { + if (link._tocClickBound) return; + link._tocClickBound = true; + link.addEventListener('click', function(e) { + var id = link.getAttribute('data-heading'); + var target = id ? document.getElementById(id) : null; + if (!target) return; + e.preventDefault(); + var top = target.getBoundingClientRect().top + window.pageYOffset - HEADER_OFFSET; + window.scrollTo({ top: top, behavior: 'smooth' }); + if (history.replaceState) history.replaceState(null, '', '#' + id); + }); + }); + function updateActiveLink() { var currentId = ''; diff --git a/src/components/docs/Card.astro b/src/components/docs/Card.astro index ee482b87..07096e01 100644 --- a/src/components/docs/Card.astro +++ b/src/components/docs/Card.astro @@ -16,6 +16,7 @@ const iconPaths: Record = { lightning: 'M13 10V3L4 14h7v7l9-11h-7z', database: 'M4 7v10c0 2.21 3.582 4 8 4s8-1.79 8-4V7M4 7c0 2.21 3.582 4 8 4s8-1.79 8-4M4 7c0-2.21 3.582-4 8-4s8 1.79 8 4m0 5c0 2.21-3.582 4-8 4s-8-1.79-8-4', shield: 'M9 12l2 2 4-4m5.618-4.016A11.955 11.955 0 0112 2.944a11.955 11.955 0 01-8.618 3.04A12.02 12.02 0 003 9c0 5.591 3.824 10.29 9 11.622 5.176-1.332 9-6.03 9-11.622 0-1.042-.133-2.052-.382-3.016z', + server: 'M5 12h14M5 12a2 2 0 01-2-2V6a2 2 0 012-2h14a2 2 0 012 2v4a2 2 0 01-2 2M5 12a2 2 0 00-2 2v4a2 2 0 002 2h14a2 2 0 002-2v-4a2 2 0 00-2-2m-2-4h.01M17 16h.01', // Charts & Analytics (Mintlify: chart-mixed, chart-line) 'chart-mixed': 'M9 19v-6a2 2 0 00-2-2H5a2 2 0 00-2 2v6a2 2 0 002 2h2a2 2 0 002-2zm0 0V9a2 2 0 012-2h2a2 2 0 012 2v10m-6 0a2 2 0 002 2h2a2 2 0 002-2m0 0V5a2 2 0 012-2h2a2 2 0 012 2v14a2 2 0 01-2 2h-2a2 2 0 01-2-2z', 'chart-line': 'M7 12l3-3 3 3 4-4M8 21l4-4 4 4M3 4h18M4 4v16', diff --git a/src/layouts/DocsLayout.astro b/src/layouts/DocsLayout.astro index 0b8f0682..f5bcbdbd 100644 --- a/src/layouts/DocsLayout.astro +++ b/src/layouts/DocsLayout.astro @@ -10,6 +10,8 @@ import CopyPageDropdown from '../components/CopyPageDropdown.astro'; import PageFeedback from '../components/PageFeedback.tsx'; import GiscusComments from '../components/GiscusComments.tsx'; import FastNav from '../components/FastNav.astro'; +import CodeCopyButtons from '../components/CodeCopyButtons.astro'; +import ImageZoom from '../components/ImageZoom.astro'; interface Props { frontmatter: { @@ -89,7 +91,7 @@ if (breadcrumbs.length > 0) { })) })} /> -
+
{breadcrumbs.length > 1 && (
+ +
- -
@@ -145,8 +147,8 @@ if (breadcrumbs.length > 0) { -