From 9f3efb8a5992d8349270b238e4a3c2eac38677d9 Mon Sep 17 00:00:00 2001 From: squidfunk Date: Tue, 22 Aug 2023 07:59:36 +0200 Subject: [PATCH] Documentation --- material/plugins/blog/plugin.py | 2 +- src/plugins/blog/plugin.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/material/plugins/blog/plugin.py b/material/plugins/blog/plugin.py index 8ff167de1..cb9db5c66 100644 --- a/material/plugins/blog/plugin.py +++ b/material/plugins/blog/plugin.py @@ -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 diff --git a/src/plugins/blog/plugin.py b/src/plugins/blog/plugin.py index 8ff167de1..cb9db5c66 100644 --- a/src/plugins/blog/plugin.py +++ b/src/plugins/blog/plugin.py @@ -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