File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed
mkdocs_git_revision_date_localized_plugin Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change 1
1
import re
2
2
from mkdocs .config import config_options
3
3
from mkdocs .plugins import BasePlugin
4
- from mkdocs .utils import string_types
5
4
from .util import Util
6
5
7
6
class GitRevisionDateLocalizedPlugin (BasePlugin ):
8
7
config_scheme = (
9
- ('locale' , config_options .Type (string_types , default = '' )),
10
- ('type' , config_options .Type (string_types , default = 'date' ))
8
+ ('locale' , config_options .Type (str , default = '' )),
9
+ ('type' , config_options .Type (str , default = 'date' ))
11
10
)
12
11
13
12
def __init__ (self ):
Original file line number Diff line number Diff line change 5
5
6
6
setup (
7
7
name = 'mkdocs-git-revision-date-localized-plugin' ,
8
- version = '0.4.5 ' ,
8
+ version = '0.4.6 ' ,
9
9
description = 'Mkdocs plugin that enables displaying the localized date of the last git modification of a markdown file.' ,
10
10
long_description = long_description ,
11
11
long_description_content_type = "text/markdown" ,
You can’t perform that action at this time.
0 commit comments