type MenuEntry = | MenuPage of path: string | MenuSection of label: string * items: MenuItem list | MenuGroup of page: string * items: MenuItem list | MenuLink of label: string * url: string
Nacara.Theme.Docs
What a menu entry points at.
MenuPage of path: string
A page of a collection, referenced by the path of its source file.
MenuSection of label: string * items: MenuItem list
A label over a set of entries. At the top of a menu it is a heading; nested, it folds.
MenuGroup of page: string * items: MenuItem list
A group whose label is a page of its own - the overview of what it holds.
The page takes the group's place rather than sitting inside it. Put it at index.md beside the pages it introduces and it keeps their url.
index.md
MenuLink of label: string * url: string
member IsMenuGroup: bool
member IsMenuLink: bool
member IsMenuPage: bool
member IsMenuSection: bool
On this page