Repository navigation
[docs] Rotate popular models on the landing pages, lead the Cookbook nav with Kimi - #32835
Merged
Merged
Conversation
The docs landing page hard-coded a ~180-line Kimi-K3 hero, and the Cookbook
landing page had no model entrance at all. Both now render one shared list
(docs_new/src/snippets/configs/popular-models.jsx) through one component:
<PopularModels models={popularModels} variant="hero" /> index.mdx
<PopularModels models={popularModels} /> cookbook/intro.mdx
variant="hero" keeps the existing banner design, one slide per model. The
Cookbook strip is the compact form — brand mark, name, tags, "Open" — since
that page's content column is 472px and prose would push the guide cards off
screen. Featuring a different model is now a list edit, not a page edit.
Seeded with Kimi-K3, Inkling, and GLM-5.2; tags and blurbs come from each
model's own cookbook config and page (platform counts from supportedHardware,
precisions from quantizations).
Rotation pauses on hover/focus and is skipped under prefers-reduced-motion;
dots and prev/next sit in the card chrome, never in the slide body, so no
glyph inside a slide reads as "next" when it would navigate instead.
Also renames the Kimi nav group and cookbook card from "Moonshotai" to
"Kimi (Moonshot AI)". Page paths are unchanged, so no URLs move.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
zijiexia
requested review from
JustinTong0323,
sogalin and
wisclmy0611
as code owners
July 30, 2026 00:09
Contributor
|
Caution The consumer version of Gemini Code Assist on GitHub has been sunset. All code review activity has officially ceased. |
Contributor
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Workflows to automatically generate PRs for you. |
…ines, GLM Hoist those three vendor groups to the top of the Autoregressive Models nav, ahead of Qwen; the remaining 23 keep their relative order. The cookbook card grid mirrors the nav order, so it is reordered the same way. Group names and page paths are untouched — only the ordering moves, so no URLs change. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Contributor
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Workflows to automatically generate PRs for you. |
wisclmy0611
approved these changes
Jul 30, 2026
saturn-acc
pushed a commit
to saturn-acc/sglang
that referenced
this pull request
Aug 16, 2026
…nav with Kimi (sgl-project#32835) Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
Atituiset
pushed a commit
to Atituiset/sglang
that referenced
this pull request
Sep 10, 2026
…nav with Kimi (sgl-project#32835) Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation
Three things on the docs / Cookbook landing surfaces:
index.mdxhard-coded a ~180-line Kimi-K3 hero. Featuring a different model means rewriting the page.cookbook/intro.mdxhad no model entrance at all — a reader landing on the Cookbook home sees three category cards and no sign of which models are worth opening.Modifications
Popular models, one list, two shapes
docs_new/src/snippets/configs/popular-models.jsx(new) — the list. Seeded with Kimi-K3, Inkling, GLM-5.2. Tags and blurbs come from each model's own cookbook config and page: platform counts fromsupportedHardware, precisions fromquantizations.docs_new/src/snippets/_popular_models.jsx(new) — the carousel.variant="hero"keeps the existing banner design, one slide per model.variant="strip"(Cookbook) is a compact line: brand mark, name, tags, "Open". The Cookbook column is 472px wide, so a hero there is 526px tall and pushes the guide cards off screen; the strip is 107px.Details worth knowing for review:
prefers-reduced-motionreaders get no autoplay and no transitions. Hero rotates every 9s, strip every 6s.→inside a slide reads as "next" when clicking it would in fact navigate to the model page.mint validate).div, not ap, because MDX rewritespto its own inline element.Nav
Page paths are untouched throughout, so no URLs move.
Checklist
mint validatepassesmint dev), all three pages, no console errorsaria-currenttracks it, prev/next workCI States
Latest PR Test (Base): ✅ Run #30502568100
Latest PR Test (Extra): ❌ Run #30502567917