Complete layout component for documentation sites with auto-extraction headings, responsive layout, and TableOfContents integration.
11234567891011121314151617181920| Prop | Type | Default | Description |
|---|---|---|---|
| children | React.ReactNode | - | Main content to display |
| header | React.ReactNode | - | Header component (e.g., NavigationMenu with variant="header") |
| sidebar | React.ReactNode | - | Left sidebar component (e.g., DocumentationSidebar) |
| rightSidebar | React.ReactNode | - | Right sidebar content (additional content besides TableOfContents) |
| showTableOfContents | boolean | true | Show table of contents in right sidebar |
| contentSelector | string | "article" | CSS selector for the content container to extract headings from |
| maxWidth | string | "1536px" | Maximum width of the main container |
| contentTopPadding | string | "58px" | Top padding for main content (to account for fixed header) |
| version | string | - | Version string (for version switcher, etc.) |
123456789101112131415161718123451234567812345