Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/fern/assets/releases-atom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ Generated by docs/fern/scripts/gen_llms_tables.py from docs/fern/components/rele
-->
<feed xmlns="http://www.w3.org/2005/Atom">
<title>NVIDIA Dynamo releases</title>
<id>https://docs.nvidia.com/dynamo/dev/reference/releases/release-history</id>
<link rel="alternate" href="https://docs.nvidia.com/dynamo/dev/reference/releases/release-history"/>
<id>https://docs.nvidia.com/dynamo/dev/reference/releases</id>
<link rel="alternate" href="https://docs.nvidia.com/dynamo/dev/reference/releases"/>
<updated>2026-07-20T00:00:00Z</updated>
<author><name>NVIDIA Dynamo</name></author>
<entry>
Expand Down
215 changes: 215 additions & 0 deletions docs/fern/components/KubernetesContainerSelector.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,215 @@
/*
* SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
* SPDX-License-Identifier: Apache-2.0
*
* Kubernetes quickstart image selector. It keeps the quickstart's release,
* custom-build, and XPU paths in one copyable block.
*/
"use client";

import { useState } from "react";

import { CURRENT_TAG } from "./releases.data";
import { LOCAL_SELECTOR_CSS } from "./local-selector-styles";

type Hardware = "nvidia" | "intel";
type Build = "release" | "custom";

type Option<T extends string> = {
id: T;
label: string;
sub?: string;
};

const HARDWARES: Option<Hardware>[] = [
{ id: "nvidia", label: "NVIDIA GPU", sub: "published images" },
{ id: "intel", label: "Intel XPU", sub: "source build" },
];

const BUILDS: Option<Build>[] = [
{ id: "release", label: "Release image", sub: `Planner ${CURRENT_TAG}` },
{ id: "custom", label: "Custom XPU image", sub: "build and push" },
];

function buildEnabled(hardware: Hardware, build: Build): boolean {
return hardware === "nvidia" ? build === "release" : build === "custom";
}

function normalizeRegistry(registry: string): string {
return registry.trim().replace(/\/+$/, "");
}

const REGISTRY_PATTERN = /^(?=.{1,255}$)(?:[a-z0-9]+(?:[._-][a-z0-9]+)*(?::[0-9]+)?)(?:\/[a-z0-9]+(?:[._-][a-z0-9]+)*)*$/;

function registryIsValid(registry: string): boolean {
const normalized = normalizeRegistry(registry);
return REGISTRY_PATTERN.test(normalized);
}

function shellQuote(value: string): string {
return `'${value.replace(/'/g, "'\\''")}'`;
}

function commandFor(hardware: Hardware, registry: string): string {
if (hardware === "intel") {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

contains a non-clickable 'add registry' button on the right side of the intel custom DGD image.
since there's a text box to input registry/namespace- can perhaps put 'How to add registry' for the custom docker build instructions

const imageRegistry = normalizeRegistry(registry) || "<your-registry>/<namespace>";
return [
`export IMAGE_REGISTRY=${shellQuote(imageRegistry)}`,
'export XPU_IMAGE="${IMAGE_REGISTRY}/vllm-runtime-xpu:quickstart"',
"",
"python3 container/render.py \\",
" --framework=vllm \\",
" --device=xpu \\",
" --target=runtime \\",
" --output-short-filename",
'docker build --tag "$XPU_IMAGE" --file container/rendered.Dockerfile .',
'docker push "$XPU_IMAGE"',
].join("\n");
}

return [
`export DYNAMO_VERSION=${CURRENT_TAG}`,
'export PLANNER_IMAGE="nvcr.io/nvidia/ai-dynamo/dynamo-planner:${DYNAMO_VERSION}"',
].join("\n");
Comment thread
athreesh marked this conversation as resolved.
Resolved

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Planner image referenced but since it is a quickstart the 'Planner' hasn't been introduced and can be confusing why it's not just a dynamo container

}

function ChoiceRow<T extends string>({
label,
options,
selected,
onSelect,
isDisabled = () => false,
disabledTitle,
}: {
label: string;
options: Option<T>[];
selected: T;
onSelect: (value: T) => void;
isDisabled?: (value: T) => boolean;
disabledTitle?: (option: Option<T>) => string;
}) {
return (
<div className="lqs-row">
<span className="lqs-label">{label}</span>
<div className="lqs-options" role="group" aria-label={label}>
{options.map((option) => {
const disabled = isDisabled(option.id);
return (
<button
key={option.id}
type="button"
className="lqs-chip"
aria-pressed={selected === option.id}
disabled={disabled}
title={disabled ? disabledTitle?.(option) : undefined}
onClick={() => onSelect(option.id)}
>
{option.label}
{option.sub && <span className="lqs-chip-sub">{option.sub}</span>}
</button>
);
})}
</div>
</div>
);
}

export function KubernetesContainerSelector() {
const [hardware, setHardware] = useState<Hardware>("nvidia");
const [build, setBuild] = useState<Build>("release");
const [registry, setRegistry] = useState("");
const [copyLabel, setCopyLabel] = useState("Copy");

const command = commandFor(hardware, registry);
const hardwareLabel = hardware === "nvidia" ? "NVIDIA GPU" : "Intel XPU";
const buildLabel = hardware === "intel"
? "Custom XPU runtime"
: "Published planner image";
const registryNeeded = hardware === "intel";
const canCopy = !registryNeeded || registryIsValid(registry);

function chooseHardware(next: Hardware) {
setHardware(next);
if (next === "intel") {
setBuild("custom");
} else {
setBuild("release");
}
}

function resetCopyLabel(label = "Copy") {
window.setTimeout(() => setCopyLabel(label), 1200);
}

async function copyCommand() {
if (!canCopy) return;
if (!navigator.clipboard?.writeText) {
setCopyLabel("Copy failed");
resetCopyLabel();
return;
}
try {
await navigator.clipboard.writeText(command);
setCopyLabel("Copied!");
} catch {
setCopyLabel("Copy failed");
}
resetCopyLabel();
}
Comment thread
athreesh marked this conversation as resolved.
Resolved

return (
<>
<style>{LOCAL_SELECTOR_CSS}</style>
<section className="lqs-panel" aria-label="Kubernetes container image selector">
<div className="lqs-head">
<h3>Choose your Kubernetes image path</h3>
<p>Use the variables from this block in the deployment steps below.</p>
</div>

<ChoiceRow label="Hardware" options={HARDWARES} selected={hardware} onSelect={chooseHardware} />
<ChoiceRow
label="Container"
options={BUILDS}
selected={build}
onSelect={setBuild}
isDisabled={(value) => !buildEnabled(hardware, value)}
disabledTitle={(option) => `${option.label} is not used by this quickstart path.`}
/>
{registryNeeded && (
<div className="lqs-row">
<span className="lqs-label">Registry</span>
<div className="lqs-field">
<input
className="lqs-input"
value={registry}
onChange={(event) => setRegistry(event.target.value)}
placeholder="registry.example.com/my-team"
aria-invalid={!canCopy}
/>
{!canCopy && <p className="lqs-hint lqs-hint--error">Enter a lowercase Docker registry/namespace before copying.</p>}
</div>
</div>
)}

<div className="lqs-output">
<div className={`lqs-rec lqs-rec--${build === "release" ? "stable" : "source"}`}>
<div className="lqs-eyebrow">Kubernetes quickstart</div>
<div className="lqs-title">
<span className="lqs-badge">{build === "release" ? "Use" : "Build"}</span>
{buildLabel}
</div>
<div className="lqs-support">{hardwareLabel} / {hardware === "intel" ? "vLLM XPU DGD image" : "DGDR planner image"}</div>
</div>
<div className="lqs-command">
<button type="button" className="lqs-copy" onClick={copyCommand} disabled={!canCopy}>
{canCopy ? copyLabel : "Add registry"}
</button>
<pre>{command}</pre>
</div>
</div>
</section>
</>
);
}

export default KubernetesContainerSelector;
4 changes: 0 additions & 4 deletions docs/fern/components/LandingStyles.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -528,10 +528,6 @@ article:has(.dynamo-welcome) > header .fern-page-subtitle p {
background: #4a154b;
}

.dynamo-welcome__notification--wechat .dynamo-welcome__notification-icon {
background: #07c160;
}

.dynamo-welcome__notification--calendar .dynamo-welcome__notification-icon {
background: #ff3b30;
}
Expand Down
6 changes: 3 additions & 3 deletions docs/fern/components/LangGate.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@
* conditionally renders its children. Use it to localize a small piece of a
* page (a card, a callout) without standing up full Fern localization.
*
* Usage — swap one card between Slack (default) and WeChat (Chinese browsers):
* Usage — swap one card between the default audience and Chinese browsers:
*
* <LangGate langs="zh" invert> // everyone EXCEPT zh
* {<Card title="Community Slack" ... />}
* {<Card title="Community" ... />}
* </LangGate>
* <LangGate langs="zh"> // zh only
* {<Card title="Community WeChat" ... />}
* {<Card title="Localized community" ... />}
* </LangGate>
*
* WRAP THE CARD IN `{ }`:
Expand Down
15 changes: 0 additions & 15 deletions docs/fern/components/WelcomeHero.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -98,14 +98,6 @@ function SlackIcon() {
);
}

function WeChatIcon() {
return (
<svg viewBox="0 0 24 24" aria-hidden="true">
<path d="M8.691 2.188C3.891 2.188 0 5.476 0 9.53c0 2.212 1.17 4.203 3.002 5.55a.59.59 0 0 1 .213.665l-.39 1.48c-.019.07-.048.141-.048.213 0 .163.13.295.29.295a.326.326 0 0 0 .167-.054l1.903-1.114a.864.864 0 0 1 .717-.098 10.16 10.16 0 0 0 2.837.403c.276 0 .543-.027.811-.05-.857-2.578.157-4.972 1.932-6.446 1.703-1.415 3.882-1.98 5.853-1.838-.576-3.583-4.196-6.348-8.596-6.348ZM5.785 5.991c.642 0 1.162.529 1.162 1.18a1.17 1.17 0 0 1-1.162 1.178A1.17 1.17 0 0 1 4.623 7.17c0-.651.52-1.18 1.162-1.18Zm5.813 0c.642 0 1.162.529 1.162 1.18a1.17 1.17 0 0 1-1.162 1.178 1.17 1.17 0 0 1-1.162-1.178c0-.651.52-1.18 1.162-1.18Zm5.34 2.867c-1.797-.052-3.746.512-5.28 1.786-1.72 1.428-2.687 3.72-1.78 6.22.942 2.453 3.666 4.229 6.884 4.229.826 0 1.622-.12 2.361-.336a.722.722 0 0 1 .598.082l1.584.926a.272.272 0 0 0 .14.047c.134 0 .24-.111.24-.247 0-.06-.023-.12-.038-.177l-.327-1.233a.582.582 0 0 1-.023-.156.49.49 0 0 1 .201-.398C23.024 18.48 24 16.82 24 14.98c0-3.21-2.931-5.837-6.656-6.088v-.002c-.135-.01-.27-.027-.407-.03Zm-2.53 3.274c.535 0 .969.44.969.982a.976.976 0 0 1-.969.983.976.976 0 0 1-.969-.983c0-.542.434-.982.97-.982Zm4.844 0c.535 0 .969.44.969.982a.976.976 0 0 1-.969.983.976.976 0 0 1-.969-.983c0-.542.434-.982.969-.982Z" />
</svg>
);
}

function CalendarAppIcon() {
const day = UPCOMING_EVENTS[0]?.day ?? "•";
return (
Expand All @@ -125,13 +117,6 @@ function CommunityRail() {
icon: <SlackIcon />,
tone: "slack",
},
{
app: "WeChat",
message: "Request a group invite in Dynamo Discussions",
href: "https://github.com/ai-dynamo/dynamo/discussions/categories/general",
icon: <WeChatIcon />,
tone: "wechat",
},
{
app: "Calendar",
message: "See upcoming community events",
Expand Down
6 changes: 6 additions & 0 deletions docs/fern/components/local-selector-styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ export const LOCAL_SELECTOR_CSS = `
.lqs-chip-sub { color:var(--lqs-muted); font-size:10px; font-weight:600; }
.lqs-chip[aria-pressed="true"] .lqs-chip-sub { color:var(--lqs-green-dark); }
.dark .lqs-chip[aria-pressed="true"] .lqs-chip-sub { color:var(--lqs-green); }
.lqs-field { max-width:420px; min-width:0; }
.lqs-input { width:100%; min-height:36px; box-sizing:border-box; padding:7px 10px; border:1px solid var(--lqs-border); border-radius:7px; background:var(--lqs-bg); color:var(--lqs-text); font:inherit; font-size:13px; }
.lqs-input:focus-visible { outline:2px solid var(--lqs-green); outline-offset:2px; }
.lqs-input[aria-invalid="true"] { border-color:#b54708; }
.lqs-output { border-top:1px solid var(--lqs-border); }
.lqs-rec { padding:14px 18px 12px; }
.lqs-rec--stable { background:var(--lqs-stable); }
Expand All @@ -47,7 +51,9 @@ export const LOCAL_SELECTOR_CSS = `
.lqs-command pre { margin:0; padding-right:66px; overflow:auto; color:var(--lqs-text); font:13px/1.55 "Roboto Mono",ui-monospace,SFMono-Regular,Menlo,monospace; white-space:pre-wrap; overflow-wrap:anywhere; }
.lqs-copy { position:absolute; top:12px; right:12px; padding:5px 10px; border:1px solid var(--lqs-border); border-radius:7px; background:var(--lqs-surface); color:var(--lqs-text); font-size:12px; cursor:pointer; }
.lqs-copy:hover { border-color:var(--lqs-green); }
.lqs-copy:disabled { cursor:not-allowed; opacity:.58; }
.lqs-hint { margin:10px 0 0; color:var(--lqs-muted); font-size:11.5px; }
.lqs-hint--error { margin-top:6px; color:#b54708; }
@media (max-width:640px) {
.lqs-row { grid-template-columns:1fr; gap:6px; }
.lqs-label { padding-top:0; }
Expand Down
Loading
Loading