Documentation

This commit is contained in:
squidfunk 2023-08-22 07:59:36 +02:00
parent 62d4a16067
commit 9f3efb8a59
No known key found for this signature in database
GPG Key ID: 5ED40BC4F9C436DF
2 changed files with 2 additions and 2 deletions

View File

@ -502,7 +502,7 @@ class BlogPlugin(BasePlugin[BlogConfig]):
page.previous_page = tail
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
def _attach_to(self, view: View, section: Section, nav: Navigation):
section.parent = view.parent

View File

@ -502,7 +502,7 @@ class BlogPlugin(BasePlugin[BlogConfig]):
page.previous_page = tail
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
def _attach_to(self, view: View, section: Section, nav: Navigation):
section.parent = view.parent