Skip to content

Commit

Permalink
Documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
squidfunk committed Aug 22, 2023
1 parent 62d4a16 commit 9f3efb8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion material/plugins/blog/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -502,7 +502,7 @@ def _attach(self, parent: StructureItem, pages: list[Page]):
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
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/blog/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -502,7 +502,7 @@ def _attach(self, parent: StructureItem, pages: list[Page]):
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
Expand Down

0 comments on commit 9f3efb8

Please sign in to comment.