mkdocs-document-dates 3.4.8__tar.gz → 3.4.9__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {mkdocs_document_dates-3.4.8/mkdocs_document_dates.egg-info → mkdocs_document_dates-3.4.9}/PKG-INFO +1 -1
- {mkdocs_document_dates-3.4.8 → mkdocs_document_dates-3.4.9}/mkdocs_document_dates/plugin.py +2 -1
- {mkdocs_document_dates-3.4.8 → mkdocs_document_dates-3.4.9/mkdocs_document_dates.egg-info}/PKG-INFO +1 -1
- {mkdocs_document_dates-3.4.8 → mkdocs_document_dates-3.4.9}/setup.py +1 -1
- {mkdocs_document_dates-3.4.8 → mkdocs_document_dates-3.4.9}/LICENSE +0 -0
- {mkdocs_document_dates-3.4.8 → mkdocs_document_dates-3.4.9}/MANIFEST.in +0 -0
- {mkdocs_document_dates-3.4.8 → mkdocs_document_dates-3.4.9}/README.md +0 -0
- {mkdocs_document_dates-3.4.8 → mkdocs_document_dates-3.4.9}/mkdocs_document_dates/__init__.py +0 -0
- {mkdocs_document_dates-3.4.8 → mkdocs_document_dates-3.4.9}/mkdocs_document_dates/cache_manager.py +0 -0
- {mkdocs_document_dates-3.4.8 → mkdocs_document_dates-3.4.9}/mkdocs_document_dates/hooks/pre-commit +0 -0
- {mkdocs_document_dates-3.4.8 → mkdocs_document_dates-3.4.9}/mkdocs_document_dates/hooks_installer.py +0 -0
- {mkdocs_document_dates-3.4.8 → mkdocs_document_dates-3.4.9}/mkdocs_document_dates/static/config/user.config.css +0 -0
- {mkdocs_document_dates-3.4.8 → mkdocs_document_dates-3.4.9}/mkdocs_document_dates/static/config/user.config.js +0 -0
- {mkdocs_document_dates-3.4.8 → mkdocs_document_dates-3.4.9}/mkdocs_document_dates/static/core/core.css +0 -0
- {mkdocs_document_dates-3.4.8 → mkdocs_document_dates-3.4.9}/mkdocs_document_dates/static/core/core.js +0 -0
- {mkdocs_document_dates-3.4.8 → mkdocs_document_dates-3.4.9}/mkdocs_document_dates/static/core/default.config.js +0 -0
- {mkdocs_document_dates-3.4.8 → mkdocs_document_dates-3.4.9}/mkdocs_document_dates/static/core/timeago.full.min.js +0 -0
- {mkdocs_document_dates-3.4.8 → mkdocs_document_dates-3.4.9}/mkdocs_document_dates/static/core/timeago.min.js +0 -0
- {mkdocs_document_dates-3.4.8 → mkdocs_document_dates-3.4.9}/mkdocs_document_dates/static/core/utils.js +0 -0
- {mkdocs_document_dates-3.4.8 → mkdocs_document_dates-3.4.9}/mkdocs_document_dates/static/fonts/material-icons.css +0 -0
- {mkdocs_document_dates-3.4.8 → mkdocs_document_dates-3.4.9}/mkdocs_document_dates/static/fonts/materialicons.woff2 +0 -0
- {mkdocs_document_dates-3.4.8 → mkdocs_document_dates-3.4.9}/mkdocs_document_dates/static/templates/recently_updated.html +0 -0
- {mkdocs_document_dates-3.4.8 → mkdocs_document_dates-3.4.9}/mkdocs_document_dates/static/tippy/backdrop.css +0 -0
- {mkdocs_document_dates-3.4.8 → mkdocs_document_dates-3.4.9}/mkdocs_document_dates/static/tippy/light.css +0 -0
- {mkdocs_document_dates-3.4.8 → mkdocs_document_dates-3.4.9}/mkdocs_document_dates/static/tippy/material.css +0 -0
- {mkdocs_document_dates-3.4.8 → mkdocs_document_dates-3.4.9}/mkdocs_document_dates/static/tippy/popper.min.js +0 -0
- {mkdocs_document_dates-3.4.8 → mkdocs_document_dates-3.4.9}/mkdocs_document_dates/static/tippy/scale.css +0 -0
- {mkdocs_document_dates-3.4.8 → mkdocs_document_dates-3.4.9}/mkdocs_document_dates/static/tippy/shift-away.css +0 -0
- {mkdocs_document_dates-3.4.8 → mkdocs_document_dates-3.4.9}/mkdocs_document_dates/static/tippy/tippy.css +0 -0
- {mkdocs_document_dates-3.4.8 → mkdocs_document_dates-3.4.9}/mkdocs_document_dates/static/tippy/tippy.umd.min.js +0 -0
- {mkdocs_document_dates-3.4.8 → mkdocs_document_dates-3.4.9}/mkdocs_document_dates/utils.py +0 -0
- {mkdocs_document_dates-3.4.8 → mkdocs_document_dates-3.4.9}/mkdocs_document_dates.egg-info/SOURCES.txt +0 -0
- {mkdocs_document_dates-3.4.8 → mkdocs_document_dates-3.4.9}/mkdocs_document_dates.egg-info/dependency_links.txt +0 -0
- {mkdocs_document_dates-3.4.8 → mkdocs_document_dates-3.4.9}/mkdocs_document_dates.egg-info/entry_points.txt +0 -0
- {mkdocs_document_dates-3.4.8 → mkdocs_document_dates-3.4.9}/mkdocs_document_dates.egg-info/requires.txt +0 -0
- {mkdocs_document_dates-3.4.8 → mkdocs_document_dates-3.4.9}/mkdocs_document_dates.egg-info/top_level.txt +0 -0
- {mkdocs_document_dates-3.4.8 → mkdocs_document_dates-3.4.9}/pyproject.toml +0 -0
- {mkdocs_document_dates-3.4.8 → mkdocs_document_dates-3.4.9}/setup.cfg +0 -0
{mkdocs_document_dates-3.4.8/mkdocs_document_dates.egg-info → mkdocs_document_dates-3.4.9}/PKG-INFO
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: mkdocs-document-dates
|
|
3
|
-
Version: 3.4.
|
|
3
|
+
Version: 3.4.9
|
|
4
4
|
Summary: A new generation MkDocs plugin for displaying exact creation time, last update time, authors, email of documents
|
|
5
5
|
Home-page: https://github.com/jaywhj/mkdocs-document-dates
|
|
6
6
|
Author: Aaron Wang
|
|
@@ -182,7 +182,7 @@ class DocumentDatesPlugin(BasePlugin):
|
|
|
182
182
|
|
|
183
183
|
# 获取作者信息
|
|
184
184
|
authors = self._get_author_info(rel_path, page, config)
|
|
185
|
-
if len(authors) == 1:
|
|
185
|
+
if authors and len(authors) == 1:
|
|
186
186
|
a = authors[0]
|
|
187
187
|
if not a.avatar and self.github_username:
|
|
188
188
|
a.avatar = f"https://avatars.githubusercontent.com/{self.github_username}"
|
|
@@ -297,6 +297,7 @@ class DocumentDatesPlugin(BasePlugin):
|
|
|
297
297
|
def _get_author_info(self, rel_path, page, config):
|
|
298
298
|
if not self.config['show_author']:
|
|
299
299
|
return None
|
|
300
|
+
|
|
300
301
|
# 1. meta author
|
|
301
302
|
authors = self._process_meta_author(page.meta, page.url)
|
|
302
303
|
if authors:
|
{mkdocs_document_dates-3.4.8 → mkdocs_document_dates-3.4.9/mkdocs_document_dates.egg-info}/PKG-INFO
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: mkdocs-document-dates
|
|
3
|
-
Version: 3.4.
|
|
3
|
+
Version: 3.4.9
|
|
4
4
|
Summary: A new generation MkDocs plugin for displaying exact creation time, last update time, authors, email of documents
|
|
5
5
|
Home-page: https://github.com/jaywhj/mkdocs-document-dates
|
|
6
6
|
Author: Aaron Wang
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{mkdocs_document_dates-3.4.8 → mkdocs_document_dates-3.4.9}/mkdocs_document_dates/__init__.py
RENAMED
|
File without changes
|
{mkdocs_document_dates-3.4.8 → mkdocs_document_dates-3.4.9}/mkdocs_document_dates/cache_manager.py
RENAMED
|
File without changes
|
{mkdocs_document_dates-3.4.8 → mkdocs_document_dates-3.4.9}/mkdocs_document_dates/hooks/pre-commit
RENAMED
|
File without changes
|
{mkdocs_document_dates-3.4.8 → mkdocs_document_dates-3.4.9}/mkdocs_document_dates/hooks_installer.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|