Full-width layout
This page sets pageLayout: full-width in its frontmatter. The
TwoColumnContent override reads that
value and skips rendering the right-hand table of contents column, and the
ContentPanel override removes Starlight’s
usual content-width cap so the content below actually fills the space that
frees up, rather than leaving it empty. The left navigation sidebar is
unaffected.
Why this is useful
Section titled “Why this is useful”Wide tables, side-by-side code comparisons, and diagrams often fight with a fixed-width content column. Compare this table to how cramped it would feel on the default layout:
| Method | Left sidebar | Right TOC | Content width | Typical use |
|---|---|---|---|---|
default |
✅ | ✅ | Standard | Regular docs pages |
full-width |
✅ | ❌ | Full | Wide tables, diagrams |
minimal |
❌ | ❌ | Full | Standalone/landing pages |
with-aside |
✅ | ✅ + extra | Standard | Pages needing a CTA panel |
dashboard |
✅ | ❌ | Full | Widget grids |
Still a normal docs page
Section titled “Still a normal docs page”Everything else about this page — headings, code blocks, the left sidebar
navigation, pagination at the bottom — is untouched. Only the right column
(TwoColumnContent) and the content-width cap (ContentPanel) were
overridden for this pageLayout value; PageFrame still renders its
default branch here.