mkdocs-document-dates 2.3.5__tar.gz → 2.4.0__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-2.3.5 → mkdocs_document_dates-2.4.0}/PKG-INFO +1 -7
- {mkdocs_document_dates-2.3.5 → mkdocs_document_dates-2.4.0}/README.md +0 -6
- {mkdocs_document_dates-2.3.5 → mkdocs_document_dates-2.4.0}/mkdocs_document_dates/plugin.py +3 -4
- {mkdocs_document_dates-2.3.5 → mkdocs_document_dates-2.4.0}/mkdocs_document_dates.egg-info/PKG-INFO +1 -7
- {mkdocs_document_dates-2.3.5 → mkdocs_document_dates-2.4.0}/setup.py +1 -1
- {mkdocs_document_dates-2.3.5 → mkdocs_document_dates-2.4.0}/LICENSE +0 -0
- {mkdocs_document_dates-2.3.5 → mkdocs_document_dates-2.4.0}/mkdocs_document_dates/__init__.py +0 -0
- {mkdocs_document_dates-2.3.5 → mkdocs_document_dates-2.4.0}/mkdocs_document_dates/hooks/pre-commit +0 -0
- {mkdocs_document_dates-2.3.5 → mkdocs_document_dates-2.4.0}/mkdocs_document_dates/hooks_installer.py +0 -0
- {mkdocs_document_dates-2.3.5 → mkdocs_document_dates-2.4.0}/mkdocs_document_dates/lang/__init__.py +0 -0
- {mkdocs_document_dates-2.3.5 → mkdocs_document_dates-2.4.0}/mkdocs_document_dates/lang/ar.py +0 -0
- {mkdocs_document_dates-2.3.5 → mkdocs_document_dates-2.4.0}/mkdocs_document_dates/lang/de.py +0 -0
- {mkdocs_document_dates-2.3.5 → mkdocs_document_dates-2.4.0}/mkdocs_document_dates/lang/en.py +0 -0
- {mkdocs_document_dates-2.3.5 → mkdocs_document_dates-2.4.0}/mkdocs_document_dates/lang/es.py +0 -0
- {mkdocs_document_dates-2.3.5 → mkdocs_document_dates-2.4.0}/mkdocs_document_dates/lang/fr.py +0 -0
- {mkdocs_document_dates-2.3.5 → mkdocs_document_dates-2.4.0}/mkdocs_document_dates/lang/ja.py +0 -0
- {mkdocs_document_dates-2.3.5 → mkdocs_document_dates-2.4.0}/mkdocs_document_dates/lang/ko.py +0 -0
- {mkdocs_document_dates-2.3.5 → mkdocs_document_dates-2.4.0}/mkdocs_document_dates/lang/ru.py +0 -0
- {mkdocs_document_dates-2.3.5 → mkdocs_document_dates-2.4.0}/mkdocs_document_dates/lang/zh.py +0 -0
- {mkdocs_document_dates-2.3.5 → mkdocs_document_dates-2.4.0}/mkdocs_document_dates/lang/zh_tw.py +0 -0
- {mkdocs_document_dates-2.3.5 → mkdocs_document_dates-2.4.0}/mkdocs_document_dates/styles.py +0 -0
- {mkdocs_document_dates-2.3.5 → mkdocs_document_dates-2.4.0}/mkdocs_document_dates.egg-info/SOURCES.txt +0 -0
- {mkdocs_document_dates-2.3.5 → mkdocs_document_dates-2.4.0}/mkdocs_document_dates.egg-info/dependency_links.txt +0 -0
- {mkdocs_document_dates-2.3.5 → mkdocs_document_dates-2.4.0}/mkdocs_document_dates.egg-info/entry_points.txt +0 -0
- {mkdocs_document_dates-2.3.5 → mkdocs_document_dates-2.4.0}/mkdocs_document_dates.egg-info/requires.txt +0 -0
- {mkdocs_document_dates-2.3.5 → mkdocs_document_dates-2.4.0}/mkdocs_document_dates.egg-info/top_level.txt +0 -0
- {mkdocs_document_dates-2.3.5 → mkdocs_document_dates-2.4.0}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: mkdocs-document-dates
|
3
|
-
Version: 2.
|
3
|
+
Version: 2.4.0
|
4
4
|
Summary: A MkDocs plugin for displaying accurate document creation and last modification dates.
|
5
5
|
Home-page: https://github.com/jaywhj/mkdocs-document-dates
|
6
6
|
Author: Aaron Wang
|
@@ -31,13 +31,11 @@ A MkDocs plugin for displaying <mark>accurate</mark> document creation and last
|
|
31
31
|
|
32
32
|
## Features
|
33
33
|
|
34
|
-
- Automatically displays document creation and last modification times
|
35
34
|
- **No Git dependency**, uses filesystem timestamps directly
|
36
35
|
- Supports manual date specification in `Front Matter`
|
37
36
|
- Cross-platform support (Windows, macOS, Linux)
|
38
37
|
- Support for multiple time formats (date, datetime, timeago)
|
39
38
|
- Flexible display position (top or bottom)
|
40
|
-
- Support for customizing display styles (CSS)
|
41
39
|
- Support for document exclusion mode
|
42
40
|
- Material Design icons, Elegant styling
|
43
41
|
- Lightweight with no extra dependencies
|
@@ -91,10 +89,6 @@ modified: 2025-02-23
|
|
91
89
|
- `created` can be replaced by any of the following fields: `created, date, creation_date, created_at, date_created`
|
92
90
|
- `modified` can be replaced by any of the following fields: `modified, updated, last_modified, updated_at, date_modified, last_update`
|
93
91
|
|
94
|
-
## Custom Display Styles (CSS)
|
95
|
-
|
96
|
-
Simply modify the code in the file `docs/assets/document_dates.css`
|
97
|
-
|
98
92
|
## Configuration Options
|
99
93
|
|
100
94
|
- **type** : Date type (default: `date` )
|
@@ -8,13 +8,11 @@ A MkDocs plugin for displaying <mark>accurate</mark> document creation and last
|
|
8
8
|
|
9
9
|
## Features
|
10
10
|
|
11
|
-
- Automatically displays document creation and last modification times
|
12
11
|
- **No Git dependency**, uses filesystem timestamps directly
|
13
12
|
- Supports manual date specification in `Front Matter`
|
14
13
|
- Cross-platform support (Windows, macOS, Linux)
|
15
14
|
- Support for multiple time formats (date, datetime, timeago)
|
16
15
|
- Flexible display position (top or bottom)
|
17
|
-
- Support for customizing display styles (CSS)
|
18
16
|
- Support for document exclusion mode
|
19
17
|
- Material Design icons, Elegant styling
|
20
18
|
- Lightweight with no extra dependencies
|
@@ -68,10 +66,6 @@ modified: 2025-02-23
|
|
68
66
|
- `created` can be replaced by any of the following fields: `created, date, creation_date, created_at, date_created`
|
69
67
|
- `modified` can be replaced by any of the following fields: `modified, updated, last_modified, updated_at, date_modified, last_update`
|
70
68
|
|
71
|
-
## Custom Display Styles (CSS)
|
72
|
-
|
73
|
-
Simply modify the code in the file `docs/assets/document_dates.css`
|
74
|
-
|
75
69
|
## Configuration Options
|
76
70
|
|
77
71
|
- **type** : Date type (default: `date` )
|
@@ -36,11 +36,10 @@ class DocumentDatesPlugin(BasePlugin):
|
|
36
36
|
if material_icons_url not in config['extra_css']:
|
37
37
|
config['extra_css'].append(material_icons_url)
|
38
38
|
|
39
|
-
#
|
39
|
+
# 添加默认 CSS
|
40
40
|
css_file = Path(config['docs_dir']) / 'assets' / 'document_dates.css'
|
41
|
-
|
42
|
-
|
43
|
-
css_file.write_text(self._get_css_content())
|
41
|
+
css_file.parent.mkdir(parents=True, exist_ok=True)
|
42
|
+
css_file.write_text(self._get_css_content())
|
44
43
|
config['extra_css'].append('assets/document_dates.css')
|
45
44
|
|
46
45
|
return config
|
{mkdocs_document_dates-2.3.5 → mkdocs_document_dates-2.4.0}/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: 2.
|
3
|
+
Version: 2.4.0
|
4
4
|
Summary: A MkDocs plugin for displaying accurate document creation and last modification dates.
|
5
5
|
Home-page: https://github.com/jaywhj/mkdocs-document-dates
|
6
6
|
Author: Aaron Wang
|
@@ -31,13 +31,11 @@ A MkDocs plugin for displaying <mark>accurate</mark> document creation and last
|
|
31
31
|
|
32
32
|
## Features
|
33
33
|
|
34
|
-
- Automatically displays document creation and last modification times
|
35
34
|
- **No Git dependency**, uses filesystem timestamps directly
|
36
35
|
- Supports manual date specification in `Front Matter`
|
37
36
|
- Cross-platform support (Windows, macOS, Linux)
|
38
37
|
- Support for multiple time formats (date, datetime, timeago)
|
39
38
|
- Flexible display position (top or bottom)
|
40
|
-
- Support for customizing display styles (CSS)
|
41
39
|
- Support for document exclusion mode
|
42
40
|
- Material Design icons, Elegant styling
|
43
41
|
- Lightweight with no extra dependencies
|
@@ -91,10 +89,6 @@ modified: 2025-02-23
|
|
91
89
|
- `created` can be replaced by any of the following fields: `created, date, creation_date, created_at, date_created`
|
92
90
|
- `modified` can be replaced by any of the following fields: `modified, updated, last_modified, updated_at, date_modified, last_update`
|
93
91
|
|
94
|
-
## Custom Display Styles (CSS)
|
95
|
-
|
96
|
-
Simply modify the code in the file `docs/assets/document_dates.css`
|
97
|
-
|
98
92
|
## Configuration Options
|
99
93
|
|
100
94
|
- **type** : Date type (default: `date` )
|
File without changes
|
{mkdocs_document_dates-2.3.5 → mkdocs_document_dates-2.4.0}/mkdocs_document_dates/__init__.py
RENAMED
File without changes
|
{mkdocs_document_dates-2.3.5 → mkdocs_document_dates-2.4.0}/mkdocs_document_dates/hooks/pre-commit
RENAMED
File without changes
|
{mkdocs_document_dates-2.3.5 → mkdocs_document_dates-2.4.0}/mkdocs_document_dates/hooks_installer.py
RENAMED
File without changes
|
{mkdocs_document_dates-2.3.5 → mkdocs_document_dates-2.4.0}/mkdocs_document_dates/lang/__init__.py
RENAMED
File without changes
|
{mkdocs_document_dates-2.3.5 → mkdocs_document_dates-2.4.0}/mkdocs_document_dates/lang/ar.py
RENAMED
File without changes
|
{mkdocs_document_dates-2.3.5 → mkdocs_document_dates-2.4.0}/mkdocs_document_dates/lang/de.py
RENAMED
File without changes
|
{mkdocs_document_dates-2.3.5 → mkdocs_document_dates-2.4.0}/mkdocs_document_dates/lang/en.py
RENAMED
File without changes
|
{mkdocs_document_dates-2.3.5 → mkdocs_document_dates-2.4.0}/mkdocs_document_dates/lang/es.py
RENAMED
File without changes
|
{mkdocs_document_dates-2.3.5 → mkdocs_document_dates-2.4.0}/mkdocs_document_dates/lang/fr.py
RENAMED
File without changes
|
{mkdocs_document_dates-2.3.5 → mkdocs_document_dates-2.4.0}/mkdocs_document_dates/lang/ja.py
RENAMED
File without changes
|
{mkdocs_document_dates-2.3.5 → mkdocs_document_dates-2.4.0}/mkdocs_document_dates/lang/ko.py
RENAMED
File without changes
|
{mkdocs_document_dates-2.3.5 → mkdocs_document_dates-2.4.0}/mkdocs_document_dates/lang/ru.py
RENAMED
File without changes
|
{mkdocs_document_dates-2.3.5 → mkdocs_document_dates-2.4.0}/mkdocs_document_dates/lang/zh.py
RENAMED
File without changes
|
{mkdocs_document_dates-2.3.5 → mkdocs_document_dates-2.4.0}/mkdocs_document_dates/lang/zh_tw.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
|