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.
Files changed (38) hide show
  1. {mkdocs_document_dates-3.4.8/mkdocs_document_dates.egg-info → mkdocs_document_dates-3.4.9}/PKG-INFO +1 -1
  2. {mkdocs_document_dates-3.4.8 → mkdocs_document_dates-3.4.9}/mkdocs_document_dates/plugin.py +2 -1
  3. {mkdocs_document_dates-3.4.8 → mkdocs_document_dates-3.4.9/mkdocs_document_dates.egg-info}/PKG-INFO +1 -1
  4. {mkdocs_document_dates-3.4.8 → mkdocs_document_dates-3.4.9}/setup.py +1 -1
  5. {mkdocs_document_dates-3.4.8 → mkdocs_document_dates-3.4.9}/LICENSE +0 -0
  6. {mkdocs_document_dates-3.4.8 → mkdocs_document_dates-3.4.9}/MANIFEST.in +0 -0
  7. {mkdocs_document_dates-3.4.8 → mkdocs_document_dates-3.4.9}/README.md +0 -0
  8. {mkdocs_document_dates-3.4.8 → mkdocs_document_dates-3.4.9}/mkdocs_document_dates/__init__.py +0 -0
  9. {mkdocs_document_dates-3.4.8 → mkdocs_document_dates-3.4.9}/mkdocs_document_dates/cache_manager.py +0 -0
  10. {mkdocs_document_dates-3.4.8 → mkdocs_document_dates-3.4.9}/mkdocs_document_dates/hooks/pre-commit +0 -0
  11. {mkdocs_document_dates-3.4.8 → mkdocs_document_dates-3.4.9}/mkdocs_document_dates/hooks_installer.py +0 -0
  12. {mkdocs_document_dates-3.4.8 → mkdocs_document_dates-3.4.9}/mkdocs_document_dates/static/config/user.config.css +0 -0
  13. {mkdocs_document_dates-3.4.8 → mkdocs_document_dates-3.4.9}/mkdocs_document_dates/static/config/user.config.js +0 -0
  14. {mkdocs_document_dates-3.4.8 → mkdocs_document_dates-3.4.9}/mkdocs_document_dates/static/core/core.css +0 -0
  15. {mkdocs_document_dates-3.4.8 → mkdocs_document_dates-3.4.9}/mkdocs_document_dates/static/core/core.js +0 -0
  16. {mkdocs_document_dates-3.4.8 → mkdocs_document_dates-3.4.9}/mkdocs_document_dates/static/core/default.config.js +0 -0
  17. {mkdocs_document_dates-3.4.8 → mkdocs_document_dates-3.4.9}/mkdocs_document_dates/static/core/timeago.full.min.js +0 -0
  18. {mkdocs_document_dates-3.4.8 → mkdocs_document_dates-3.4.9}/mkdocs_document_dates/static/core/timeago.min.js +0 -0
  19. {mkdocs_document_dates-3.4.8 → mkdocs_document_dates-3.4.9}/mkdocs_document_dates/static/core/utils.js +0 -0
  20. {mkdocs_document_dates-3.4.8 → mkdocs_document_dates-3.4.9}/mkdocs_document_dates/static/fonts/material-icons.css +0 -0
  21. {mkdocs_document_dates-3.4.8 → mkdocs_document_dates-3.4.9}/mkdocs_document_dates/static/fonts/materialicons.woff2 +0 -0
  22. {mkdocs_document_dates-3.4.8 → mkdocs_document_dates-3.4.9}/mkdocs_document_dates/static/templates/recently_updated.html +0 -0
  23. {mkdocs_document_dates-3.4.8 → mkdocs_document_dates-3.4.9}/mkdocs_document_dates/static/tippy/backdrop.css +0 -0
  24. {mkdocs_document_dates-3.4.8 → mkdocs_document_dates-3.4.9}/mkdocs_document_dates/static/tippy/light.css +0 -0
  25. {mkdocs_document_dates-3.4.8 → mkdocs_document_dates-3.4.9}/mkdocs_document_dates/static/tippy/material.css +0 -0
  26. {mkdocs_document_dates-3.4.8 → mkdocs_document_dates-3.4.9}/mkdocs_document_dates/static/tippy/popper.min.js +0 -0
  27. {mkdocs_document_dates-3.4.8 → mkdocs_document_dates-3.4.9}/mkdocs_document_dates/static/tippy/scale.css +0 -0
  28. {mkdocs_document_dates-3.4.8 → mkdocs_document_dates-3.4.9}/mkdocs_document_dates/static/tippy/shift-away.css +0 -0
  29. {mkdocs_document_dates-3.4.8 → mkdocs_document_dates-3.4.9}/mkdocs_document_dates/static/tippy/tippy.css +0 -0
  30. {mkdocs_document_dates-3.4.8 → mkdocs_document_dates-3.4.9}/mkdocs_document_dates/static/tippy/tippy.umd.min.js +0 -0
  31. {mkdocs_document_dates-3.4.8 → mkdocs_document_dates-3.4.9}/mkdocs_document_dates/utils.py +0 -0
  32. {mkdocs_document_dates-3.4.8 → mkdocs_document_dates-3.4.9}/mkdocs_document_dates.egg-info/SOURCES.txt +0 -0
  33. {mkdocs_document_dates-3.4.8 → mkdocs_document_dates-3.4.9}/mkdocs_document_dates.egg-info/dependency_links.txt +0 -0
  34. {mkdocs_document_dates-3.4.8 → mkdocs_document_dates-3.4.9}/mkdocs_document_dates.egg-info/entry_points.txt +0 -0
  35. {mkdocs_document_dates-3.4.8 → mkdocs_document_dates-3.4.9}/mkdocs_document_dates.egg-info/requires.txt +0 -0
  36. {mkdocs_document_dates-3.4.8 → mkdocs_document_dates-3.4.9}/mkdocs_document_dates.egg-info/top_level.txt +0 -0
  37. {mkdocs_document_dates-3.4.8 → mkdocs_document_dates-3.4.9}/pyproject.toml +0 -0
  38. {mkdocs_document_dates-3.4.8 → mkdocs_document_dates-3.4.9}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: mkdocs-document-dates
3
- Version: 3.4.8
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:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: mkdocs-document-dates
3
- Version: 3.4.8
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
@@ -23,7 +23,7 @@ class CustomInstallCommand(install):
23
23
  install.run(self)
24
24
 
25
25
 
26
- VERSION = '3.4.8'
26
+ VERSION = '3.4.9'
27
27
 
28
28
  setup(
29
29
  name="mkdocs-document-dates",