Structure File Reference
The structure.yaml
defines the tab and subtab structure of your project,
and maps tabs to content in specific subdirectories.
This document contains the reference documentation for the file.
For usage and examples, see tabs and sub-tabs.
Configuration Example
An example structure.yaml
demonstrating the available configuration options.
tabs:
- label: Home
icon:
set: lucide
name: home
subtabs:
- label: Home
path: /
- label: Desktop
subtabs:
- label: Introduction
path: /desktop/introduction/
- label: Advanced
path: /desktop/advanced/
- label: Dashboard
subtabs:
- label: Introduction
path: /dashboard/introduction/
- label: Advanced
path: /dashboard/advanced/
- label: Changelog
external: http://example.com/
Reference
Below are explanations of all the objects and their fields in the structure definition.
Tab object
The tab object requires
Note: You must either specify subtabs
or external
for a tab.
Sub-tab object
Icon object
The icon
field expects an object with the following fields:
Was this page helpful?