Define a base class for all navigation item classes

This commit is contained in:
Oleh Prypin
2023-06-17 12:39:05 +02:00
parent c459cd24fc
commit 01be507e30
4 changed files with 59 additions and 65 deletions

View File

@@ -408,7 +408,7 @@ on the homepage:
show_root_full_path: false
heading_level: 5
::: mkdocs.structure.pages.Page.parent
::: mkdocs.structure.StructureItem.parent
options:
show_root_full_path: false
heading_level: 5
@@ -479,7 +479,7 @@ The following attributes are available on `section` objects:
show_root_full_path: false
heading_level: 5
::: mkdocs.structure.nav.Section.parent
::: mkdocs.structure.StructureItem.parent
options:
show_root_full_path: false
heading_level: 5
@@ -533,7 +533,7 @@ The following attributes are available on `link` objects:
show_root_full_path: false
heading_level: 5
::: mkdocs.structure.nav.Link.parent
::: mkdocs.structure.StructureItem.parent
options:
show_root_full_path: false
heading_level: 5