mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-11-24 07:30:12 +01:00
Documentation
This commit is contained in:
parent
62d4a16067
commit
9f3efb8a59
@ -502,7 +502,7 @@ class BlogPlugin(BasePlugin[BlogConfig]):
|
|||||||
page.previous_page = tail
|
page.previous_page = tail
|
||||||
page.next_page = head
|
page.next_page = head
|
||||||
|
|
||||||
# Attach a section to the given parent section, make sure it's pages are
|
# Attach a section as a sibling to the given view, make sure it's pages are
|
||||||
# part of the navigation, and ensure all pages are linked correctly
|
# part of the navigation, and ensure all pages are linked correctly
|
||||||
def _attach_to(self, view: View, section: Section, nav: Navigation):
|
def _attach_to(self, view: View, section: Section, nav: Navigation):
|
||||||
section.parent = view.parent
|
section.parent = view.parent
|
||||||
|
@ -502,7 +502,7 @@ class BlogPlugin(BasePlugin[BlogConfig]):
|
|||||||
page.previous_page = tail
|
page.previous_page = tail
|
||||||
page.next_page = head
|
page.next_page = head
|
||||||
|
|
||||||
# Attach a section to the given parent section, make sure it's pages are
|
# Attach a section as a sibling to the given view, make sure it's pages are
|
||||||
# part of the navigation, and ensure all pages are linked correctly
|
# part of the navigation, and ensure all pages are linked correctly
|
||||||
def _attach_to(self, view: View, section: Section, nav: Navigation):
|
def _attach_to(self, view: View, section: Section, nav: Navigation):
|
||||||
section.parent = view.parent
|
section.parent = view.parent
|
||||||
|
Loading…
Reference in New Issue
Block a user