NavItem
π DocStrings¶
An entry of the site navigation.
Either a link to a page / URL (target set) or a section (children set).
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
title
|
str
|
|
required |
target
|
str | None
|
Page path (relative to the docs root) or an external URL. |
None
|
children
|
list[NavItem]
|
Built-in mutable sequence. If no argument is given, the constructor creates a new empty list. The argument must be an iterable if specified. |
<dynamic>
|
Source code in mkdocs_mknodes/generator/output.py
target
class-attribute
instance-attribute
¶
Page path (relative to the docs root) or an external URL.
:fa-brands-github: Show source on GitHub