mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Documentation
This commit is contained in:
@@ -605,7 +605,7 @@ class BlogPlugin(BasePlugin[BlogConfig]):
|
|||||||
for at in range(step, len(view.posts), step):
|
for at in range(step, len(view.posts), step):
|
||||||
base, _ = posixpath.splitext(view.file.src_uri)
|
base, _ = posixpath.splitext(view.file.src_uri)
|
||||||
|
|
||||||
# Compute path and create a file for path resolution
|
# Compute path and create a file for pagination
|
||||||
path = self._format_path_for_pagination(base, 1 + at // step)
|
path = self._format_path_for_pagination(base, 1 + at // step)
|
||||||
file = self._path_to_file(path, config)
|
file = self._path_to_file(path, config)
|
||||||
|
|
||||||
|
|||||||
@@ -605,7 +605,7 @@ class BlogPlugin(BasePlugin[BlogConfig]):
|
|||||||
for at in range(step, len(view.posts), step):
|
for at in range(step, len(view.posts), step):
|
||||||
base, _ = posixpath.splitext(view.file.src_uri)
|
base, _ = posixpath.splitext(view.file.src_uri)
|
||||||
|
|
||||||
# Compute path and create a file for path resolution
|
# Compute path and create a file for pagination
|
||||||
path = self._format_path_for_pagination(base, 1 + at // step)
|
path = self._format_path_for_pagination(base, 1 + at // step)
|
||||||
file = self._path_to_file(path, config)
|
file = self._path_to_file(path, config)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user