mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Documentation
This commit is contained in:
parent
84cb91b21b
commit
d2962d9551
@ -174,7 +174,7 @@ class BlogPlugin(BasePlugin[BlogConfig]):
|
||||
page = self.blog.file.page
|
||||
self._attach_at(page.parent, page, self.blog)
|
||||
|
||||
# Hack: update pages instances in navigation - this can also be removed
|
||||
# Hack: update page instances in navigation - this can also be removed
|
||||
# once an already open pull request is merged - see https://t.ly/9C_Kz
|
||||
for page in [self.blog, *self.blog.posts, *self.blog.views]:
|
||||
assert isinstance(page, Page)
|
||||
|
@ -174,7 +174,7 @@ class BlogPlugin(BasePlugin[BlogConfig]):
|
||||
page = self.blog.file.page
|
||||
self._attach_at(page.parent, page, self.blog)
|
||||
|
||||
# Hack: update pages instances in navigation - this can also be removed
|
||||
# Hack: update page instances in navigation - this can also be removed
|
||||
# once an already open pull request is merged - see https://t.ly/9C_Kz
|
||||
for page in [self.blog, *self.blog.posts, *self.blog.views]:
|
||||
assert isinstance(page, Page)
|
||||
|
Loading…
Reference in New Issue
Block a user