Skip to content

Commit 9f3efb8

Browse files
committed
Documentation
1 parent 62d4a16 commit 9f3efb8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

material/plugins/blog/plugin.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -502,7 +502,7 @@ def _attach(self, parent: StructureItem, pages: list[Page]):
502502
page.previous_page = tail
503503
page.next_page = head
504504

505-
# Attach a section to the given parent section, make sure it's pages are
505+
# Attach a section as a sibling to the given view, make sure it's pages are
506506
# part of the navigation, and ensure all pages are linked correctly
507507
def _attach_to(self, view: View, section: Section, nav: Navigation):
508508
section.parent = view.parent

src/plugins/blog/plugin.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -502,7 +502,7 @@ def _attach(self, parent: StructureItem, pages: list[Page]):
502502
page.previous_page = tail
503503
page.next_page = head
504504

505-
# Attach a section to the given parent section, make sure it's pages are
505+
# Attach a section as a sibling to the given view, make sure it's pages are
506506
# part of the navigation, and ensure all pages are linked correctly
507507
def _attach_to(self, view: View, section: Section, nav: Navigation):
508508
section.parent = view.parent

0 commit comments

Comments
 (0)