[Docs] Restore right-hand ToC on the DeepSeek-V4 cookbook page (#27830)

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
zijiexia
2026-06-10 11:58:02 -07:00
committed by GitHub
co-authored by Claude Opus 4.8
parent 3600a9ac5f
commit 99258b2f1e
4 changed files with 12 additions and 4 deletions
@@ -83,6 +83,12 @@ table is a live reference.
model name + intent — e.g. `Deploy <Model> with SGLang — …` — aim for ~150–160 chars, and
pack secondary keywords (variants + sizes, `Mixture-of-Experts` / architecture, target
GPUs). Phrase it as a value prop, not a generic "`<Model>` is a … model" intro.
- **No `mode:` on a model page.** Leave it unset so Mintlify renders the default layout
*with* the right-hand "On this page" table of contents — every model page relies on this.
`mode: wide` drops that ToC; it's only for the category `intro.mdx` card-grid landing pages
(which have no ToC by design). The Deploy/Playground panels don't need the extra width —
they self-cap at `maxWidth: 900px` and center, which fits the default column fine. (Symptom
of a stray `mode: wide`: the page loses its right-hand ToC while its siblings keep theirs.)
- Frontmatter MUST be the first thing in the file — no comment or blank line before the
opening `---`.