Front Matter is YAML metadata at the top of a Markdown file. It controls the title, route, sort order, and display behavior of top-level navigation, categories, pages, and components.
stringThe title of a top-level nav item, category, page, or component. If omitted, Docgeni converts the folder or file name using titleCase.
stringnullThe subtitle of a top-level nav item, category, page, or component. It is shown after the title.
numbernullSort order for top-level nav items, categories, pages, or components. Lower values appear first.
stringThe route path of a top-level nav item, page, or component. If omitted, Docgeni converts the folder or file name using paramCase. The final URL also includes the category and top-level nav path.
booleanfalseWhether to hide the current top-level nav item, category, component, or page. Commonly used for draft content.
stringThe component name used to generate the component identifier. Usually no manual configuration is needed.
stringnullThe component category. It must match a categories id in the library configuration.
content | menu | hidden | falsecontentControls how the table of contents (TOC) is displayed. This overrides the global toc configuration.
content: shown on the right side of the content areamenu: shown in the left menuhidden / false: TOC is hiddenstringnullA component label shown in the documentation. Built-in values:
new: new componentdeprecated: deprecated componentexperimental: experimental componentYou can also use any custom id defined in the library labels configuration.
stringnullBackground color of the component example area.
booleanfalseWhether to remove padding from the component example area.
stringnullCustom CSS class name for the component example area, used for special styling.