normalizePages function
Exported from nextra/normalize-pages.
Signature
Parameters:| Name | Type |
|---|---|
activeType | "doc" | "page" | "menu"Active type for current page, used to determine layout in theme. |
activeIndex | numberActive index for current page, used for pagination in combination with |
activeThemeContext.pagination | boolean | undefined |
activeThemeContext.breadcrumb | boolean | undefined |
activeThemeContext.collapsed | boolean | undefined |
activeThemeContext.footer | boolean | undefined |
activeThemeContext.layout | "default" | "full" | undefined |
activeThemeContext.navbar | boolean | undefined |
activeThemeContext.sidebar | boolean | undefined |
activeThemeContext.timestamp | boolean | undefined |
activeThemeContext.toc | boolean | undefined |
activeThemeContext.typesetting | "default" | "article" | undefined |
activeMetadata | FrontMatterParsed front matter  or exported Metadata  from page. |
activePath | Item[]Active path for current page, used for breadcrumb navigation. |
directories | Item[]All directories in the tree structure. |
docsDirectories | DocsItem[]Directories with |
flatDocsDirectories | DocsItem[]Flattened directories with |
topLevelNavbarItems | (PageItem | MenuItem)[]Navbar items, items which have |