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.
- {mkdocs_document_dates-3.8.1/mkdocs_document_dates.egg-info → mkdocs_document_dates-3.8.2}/PKG-INFO +1 -1
- {mkdocs_document_dates-3.8.1 → mkdocs_document_dates-3.8.2}/mkdocs_document_dates/plugin.py +3 -3
- {mkdocs_document_dates-3.8.1 → mkdocs_document_dates-3.8.2/mkdocs_document_dates.egg-info}/PKG-INFO +1 -1
- {mkdocs_document_dates-3.8.1 → mkdocs_document_dates-3.8.2}/pyproject.toml +1 -1
- {mkdocs_document_dates-3.8.1 → mkdocs_document_dates-3.8.2}/setup.py +1 -1
- {mkdocs_document_dates-3.8.1 → mkdocs_document_dates-3.8.2}/LICENSE +0 -0
- {mkdocs_document_dates-3.8.1 → mkdocs_document_dates-3.8.2}/MANIFEST.in +0 -0
- {mkdocs_document_dates-3.8.1 → mkdocs_document_dates-3.8.2}/README.md +0 -0
- {mkdocs_document_dates-3.8.1 → mkdocs_document_dates-3.8.2}/mkdocs_document_dates/__init__.py +0 -0
- {mkdocs_document_dates-3.8.1 → mkdocs_document_dates-3.8.2}/mkdocs_document_dates/cache_manager.py +0 -0
- {mkdocs_document_dates-3.8.1 → mkdocs_document_dates-3.8.2}/mkdocs_document_dates/hooks/pre-commit +0 -0
- {mkdocs_document_dates-3.8.1 → mkdocs_document_dates-3.8.2}/mkdocs_document_dates/hooks_installer.py +0 -0
- {mkdocs_document_dates-3.8.1 → mkdocs_document_dates-3.8.2}/mkdocs_document_dates/static/.DS_Store +0 -0
- {mkdocs_document_dates-3.8.1 → mkdocs_document_dates-3.8.2}/mkdocs_document_dates/static/config/user.config.css +0 -0
- {mkdocs_document_dates-3.8.1 → mkdocs_document_dates-3.8.2}/mkdocs_document_dates/static/config/user.config.js +0 -0
- {mkdocs_document_dates-3.8.1 → mkdocs_document_dates-3.8.2}/mkdocs_document_dates/static/core/core.css +0 -0
- {mkdocs_document_dates-3.8.1 → mkdocs_document_dates-3.8.2}/mkdocs_document_dates/static/core/core.js +0 -0
- {mkdocs_document_dates-3.8.1 → mkdocs_document_dates-3.8.2}/mkdocs_document_dates/static/core/default.config.js +0 -0
- {mkdocs_document_dates-3.8.1 → mkdocs_document_dates-3.8.2}/mkdocs_document_dates/static/core/md5.min.js +0 -0
- {mkdocs_document_dates-3.8.1 → mkdocs_document_dates-3.8.2}/mkdocs_document_dates/static/core/timeago.full.min.js +0 -0
- {mkdocs_document_dates-3.8.1 → mkdocs_document_dates-3.8.2}/mkdocs_document_dates/static/core/timeago.min.js +0 -0
- {mkdocs_document_dates-3.8.1 → mkdocs_document_dates-3.8.2}/mkdocs_document_dates/static/core/utils.js +0 -0
- {mkdocs_document_dates-3.8.1 → mkdocs_document_dates-3.8.2}/mkdocs_document_dates/static/fonts/material-icons.css +0 -0
- {mkdocs_document_dates-3.8.1 → mkdocs_document_dates-3.8.2}/mkdocs_document_dates/static/fonts/materialicons.woff2 +0 -0
- {mkdocs_document_dates-3.8.1 → mkdocs_document_dates-3.8.2}/mkdocs_document_dates/static/templates/recently_updated_detail.html +0 -0
- {mkdocs_document_dates-3.8.1 → mkdocs_document_dates-3.8.2}/mkdocs_document_dates/static/templates/recently_updated_grid.html +0 -0
- {mkdocs_document_dates-3.8.1 → mkdocs_document_dates-3.8.2}/mkdocs_document_dates/static/templates/recently_updated_group.html +0 -0
- {mkdocs_document_dates-3.8.1 → mkdocs_document_dates-3.8.2}/mkdocs_document_dates/static/templates/recently_updated_list.html +0 -0
- {mkdocs_document_dates-3.8.1 → mkdocs_document_dates-3.8.2}/mkdocs_document_dates/static/tippy/backdrop.css +0 -0
- {mkdocs_document_dates-3.8.1 → mkdocs_document_dates-3.8.2}/mkdocs_document_dates/static/tippy/light.css +0 -0
- {mkdocs_document_dates-3.8.1 → mkdocs_document_dates-3.8.2}/mkdocs_document_dates/static/tippy/material.css +0 -0
- {mkdocs_document_dates-3.8.1 → mkdocs_document_dates-3.8.2}/mkdocs_document_dates/static/tippy/popper.min.js +0 -0
- {mkdocs_document_dates-3.8.1 → mkdocs_document_dates-3.8.2}/mkdocs_document_dates/static/tippy/scale.css +0 -0
- {mkdocs_document_dates-3.8.1 → mkdocs_document_dates-3.8.2}/mkdocs_document_dates/static/tippy/shift-away.css +0 -0
- {mkdocs_document_dates-3.8.1 → mkdocs_document_dates-3.8.2}/mkdocs_document_dates/static/tippy/tippy.css +0 -0
- {mkdocs_document_dates-3.8.1 → mkdocs_document_dates-3.8.2}/mkdocs_document_dates/static/tippy/tippy.umd.min.js +0 -0
- {mkdocs_document_dates-3.8.1 → mkdocs_document_dates-3.8.2}/mkdocs_document_dates/utils.py +0 -0
- {mkdocs_document_dates-3.8.1 → mkdocs_document_dates-3.8.2}/mkdocs_document_dates.egg-info/SOURCES.txt +0 -0
- {mkdocs_document_dates-3.8.1 → mkdocs_document_dates-3.8.2}/mkdocs_document_dates.egg-info/dependency_links.txt +0 -0
- {mkdocs_document_dates-3.8.1 → mkdocs_document_dates-3.8.2}/mkdocs_document_dates.egg-info/entry_points.txt +0 -0
- {mkdocs_document_dates-3.8.1 → mkdocs_document_dates-3.8.2}/mkdocs_document_dates.egg-info/requires.txt +0 -0
- {mkdocs_document_dates-3.8.1 → mkdocs_document_dates-3.8.2}/mkdocs_document_dates.egg-info/top_level.txt +0 -0
- {mkdocs_document_dates-3.8.1 → mkdocs_document_dates-3.8.2}/setup.cfg +0 -0
{mkdocs_document_dates-3.8.1/mkdocs_document_dates.egg-info → mkdocs_document_dates-3.8.2}/PKG-INFO
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: mkdocs-document-dates
|
|
3
|
-
Version: 3.8.
|
|
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
|
-
|
|
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)
|
{mkdocs_document_dates-3.8.1 → mkdocs_document_dates-3.8.2/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.8.
|
|
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.
|
|
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"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{mkdocs_document_dates-3.8.1 → mkdocs_document_dates-3.8.2}/mkdocs_document_dates/__init__.py
RENAMED
|
File without changes
|
{mkdocs_document_dates-3.8.1 → mkdocs_document_dates-3.8.2}/mkdocs_document_dates/cache_manager.py
RENAMED
|
File without changes
|
{mkdocs_document_dates-3.8.1 → mkdocs_document_dates-3.8.2}/mkdocs_document_dates/hooks/pre-commit
RENAMED
|
File without changes
|
{mkdocs_document_dates-3.8.1 → mkdocs_document_dates-3.8.2}/mkdocs_document_dates/hooks_installer.py
RENAMED
|
File without changes
|
{mkdocs_document_dates-3.8.1 → mkdocs_document_dates-3.8.2}/mkdocs_document_dates/static/.DS_Store
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|