API reference
python:doukimd.navigation.build_navbar
function build_navbar
build_navbar(config: Config, pages: SiteIndex | list[Page], current: Page, inventory: ApiIndex | dict[str, ApiSymbol]) -> list[NavigationItem]
Source: src/doukimd/navigation.py:504
Resolve ordered top-level menus using the same checked page routes.
Parameters
-
config — Type: Config
-
pages — Type: SiteIndex | list[Page]
-
current — Type: Page
-
inventory — Type: ApiIndex | dict[str, ApiSymbol]
Returns
Type: list[NavigationItem]