mkdocs-document-dates 3.8.1__tar.gz → 3.8.2__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 (43) hide show
  1. {mkdocs_document_dates-3.8.1/mkdocs_document_dates.egg-info → mkdocs_document_dates-3.8.2}/PKG-INFO +1 -1
  2. {mkdocs_document_dates-3.8.1 → mkdocs_document_dates-3.8.2}/mkdocs_document_dates/plugin.py +3 -3
  3. {mkdocs_document_dates-3.8.1 → mkdocs_document_dates-3.8.2/mkdocs_document_dates.egg-info}/PKG-INFO +1 -1
  4. {mkdocs_document_dates-3.8.1 → mkdocs_document_dates-3.8.2}/pyproject.toml +1 -1
  5. {mkdocs_document_dates-3.8.1 → mkdocs_document_dates-3.8.2}/setup.py +1 -1
  6. {mkdocs_document_dates-3.8.1 → mkdocs_document_dates-3.8.2}/LICENSE +0 -0
  7. {mkdocs_document_dates-3.8.1 → mkdocs_document_dates-3.8.2}/MANIFEST.in +0 -0
  8. {mkdocs_document_dates-3.8.1 → mkdocs_document_dates-3.8.2}/README.md +0 -0
  9. {mkdocs_document_dates-3.8.1 → mkdocs_document_dates-3.8.2}/mkdocs_document_dates/__init__.py +0 -0
  10. {mkdocs_document_dates-3.8.1 → mkdocs_document_dates-3.8.2}/mkdocs_document_dates/cache_manager.py +0 -0
  11. {mkdocs_document_dates-3.8.1 → mkdocs_document_dates-3.8.2}/mkdocs_document_dates/hooks/pre-commit +0 -0
  12. {mkdocs_document_dates-3.8.1 → mkdocs_document_dates-3.8.2}/mkdocs_document_dates/hooks_installer.py +0 -0
  13. {mkdocs_document_dates-3.8.1 → mkdocs_document_dates-3.8.2}/mkdocs_document_dates/static/.DS_Store +0 -0
  14. {mkdocs_document_dates-3.8.1 → mkdocs_document_dates-3.8.2}/mkdocs_document_dates/static/config/user.config.css +0 -0
  15. {mkdocs_document_dates-3.8.1 → mkdocs_document_dates-3.8.2}/mkdocs_document_dates/static/config/user.config.js +0 -0
  16. {mkdocs_document_dates-3.8.1 → mkdocs_document_dates-3.8.2}/mkdocs_document_dates/static/core/core.css +0 -0
  17. {mkdocs_document_dates-3.8.1 → mkdocs_document_dates-3.8.2}/mkdocs_document_dates/static/core/core.js +0 -0
  18. {mkdocs_document_dates-3.8.1 → mkdocs_document_dates-3.8.2}/mkdocs_document_dates/static/core/default.config.js +0 -0
  19. {mkdocs_document_dates-3.8.1 → mkdocs_document_dates-3.8.2}/mkdocs_document_dates/static/core/md5.min.js +0 -0
  20. {mkdocs_document_dates-3.8.1 → mkdocs_document_dates-3.8.2}/mkdocs_document_dates/static/core/timeago.full.min.js +0 -0
  21. {mkdocs_document_dates-3.8.1 → mkdocs_document_dates-3.8.2}/mkdocs_document_dates/static/core/timeago.min.js +0 -0
  22. {mkdocs_document_dates-3.8.1 → mkdocs_document_dates-3.8.2}/mkdocs_document_dates/static/core/utils.js +0 -0
  23. {mkdocs_document_dates-3.8.1 → mkdocs_document_dates-3.8.2}/mkdocs_document_dates/static/fonts/material-icons.css +0 -0
  24. {mkdocs_document_dates-3.8.1 → mkdocs_document_dates-3.8.2}/mkdocs_document_dates/static/fonts/materialicons.woff2 +0 -0
  25. {mkdocs_document_dates-3.8.1 → mkdocs_document_dates-3.8.2}/mkdocs_document_dates/static/templates/recently_updated_detail.html +0 -0
  26. {mkdocs_document_dates-3.8.1 → mkdocs_document_dates-3.8.2}/mkdocs_document_dates/static/templates/recently_updated_grid.html +0 -0
  27. {mkdocs_document_dates-3.8.1 → mkdocs_document_dates-3.8.2}/mkdocs_document_dates/static/templates/recently_updated_group.html +0 -0
  28. {mkdocs_document_dates-3.8.1 → mkdocs_document_dates-3.8.2}/mkdocs_document_dates/static/templates/recently_updated_list.html +0 -0
  29. {mkdocs_document_dates-3.8.1 → mkdocs_document_dates-3.8.2}/mkdocs_document_dates/static/tippy/backdrop.css +0 -0
  30. {mkdocs_document_dates-3.8.1 → mkdocs_document_dates-3.8.2}/mkdocs_document_dates/static/tippy/light.css +0 -0
  31. {mkdocs_document_dates-3.8.1 → mkdocs_document_dates-3.8.2}/mkdocs_document_dates/static/tippy/material.css +0 -0
  32. {mkdocs_document_dates-3.8.1 → mkdocs_document_dates-3.8.2}/mkdocs_document_dates/static/tippy/popper.min.js +0 -0
  33. {mkdocs_document_dates-3.8.1 → mkdocs_document_dates-3.8.2}/mkdocs_document_dates/static/tippy/scale.css +0 -0
  34. {mkdocs_document_dates-3.8.1 → mkdocs_document_dates-3.8.2}/mkdocs_document_dates/static/tippy/shift-away.css +0 -0
  35. {mkdocs_document_dates-3.8.1 → mkdocs_document_dates-3.8.2}/mkdocs_document_dates/static/tippy/tippy.css +0 -0
  36. {mkdocs_document_dates-3.8.1 → mkdocs_document_dates-3.8.2}/mkdocs_document_dates/static/tippy/tippy.umd.min.js +0 -0
  37. {mkdocs_document_dates-3.8.1 → mkdocs_document_dates-3.8.2}/mkdocs_document_dates/utils.py +0 -0
  38. {mkdocs_document_dates-3.8.1 → mkdocs_document_dates-3.8.2}/mkdocs_document_dates.egg-info/SOURCES.txt +0 -0
  39. {mkdocs_document_dates-3.8.1 → mkdocs_document_dates-3.8.2}/mkdocs_document_dates.egg-info/dependency_links.txt +0 -0
  40. {mkdocs_document_dates-3.8.1 → mkdocs_document_dates-3.8.2}/mkdocs_document_dates.egg-info/entry_points.txt +0 -0
  41. {mkdocs_document_dates-3.8.1 → mkdocs_document_dates-3.8.2}/mkdocs_document_dates.egg-info/requires.txt +0 -0
  42. {mkdocs_document_dates-3.8.1 → mkdocs_document_dates-3.8.2}/mkdocs_document_dates.egg-info/top_level.txt +0 -0
  43. {mkdocs_document_dates-3.8.1 → mkdocs_document_dates-3.8.2}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: mkdocs-document-dates
3
- Version: 3.8.1
3
+ Version: 3.8.2
4
4
  Summary: A new generation MkDocs plugin for displaying exact creation date, last updated date, authors, email of documents
5
5
  Author-email: Aaron Wang <aaronwqt@gmail.com>
6
6
  License-Expression: MIT
@@ -67,7 +67,9 @@ class DocumentDatesPlugin(BasePlugin):
67
67
  authors_file = docs_dir_path / authors_file_resolved
68
68
  except Exception:
69
69
  pass
70
- self._load_authors_from_yaml(authors_file)
70
+
71
+ if authors_file:
72
+ self._load_authors_from_yaml(authors_file)
71
73
 
72
74
  # 复制配置文件到用户目录(如果不存在)
73
75
  dest_dir = docs_dir_path / 'assets' / 'document_dates'
@@ -250,8 +252,6 @@ class DocumentDatesPlugin(BasePlugin):
250
252
 
251
253
 
252
254
  def _load_authors_from_yaml(self, file_path: Path):
253
- if not file_path.exists():
254
- return
255
255
  try:
256
256
  with open(file_path, 'r', encoding='utf-8') as f:
257
257
  data = yaml.safe_load(f)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: mkdocs-document-dates
3
- Version: 3.8.1
3
+ Version: 3.8.2
4
4
  Summary: A new generation MkDocs plugin for displaying exact creation date, last updated date, authors, email of documents
5
5
  Author-email: Aaron Wang <aaronwqt@gmail.com>
6
6
  License-Expression: MIT
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "mkdocs-document-dates"
7
- version = "3.8.1"
7
+ version = "3.8.2"
8
8
  description = "A new generation MkDocs plugin for displaying exact creation date, last updated date, authors, email of documents"
9
9
  readme = { file = "README.md", content-type = "text/markdown" }
10
10
  requires-python = ">=3.7"
@@ -4,7 +4,7 @@ from setuptools import find_packages, setup
4
4
  def legacy_setup():
5
5
  setup(
6
6
  name="mkdocs-document-dates",
7
- version="3.8.1",
7
+ version="3.8.2",
8
8
  author="Aaron Wang",
9
9
  author_email="aaronwqt@gmail.com",
10
10
  license="MIT",