Skip to content

Commit bc6ec96

Browse files
committed
Fix path for Windows users
1 parent 9934fa7 commit bc6ec96

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

mkdocs_git_committers_plugin_2/plugin.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ def on_config(self, config):
5959

6060
def list_contributors(self, path):
6161
last_commit_date = ""
62+
path = path.replace("\\", "/")
6263
for c in Commit.iter_items(self.localrepo, self.localrepo.head, path):
6364
if not last_commit_date:
6465
# Use the last commit and get the date

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
setup(
55
name='mkdocs-git-committers-plugin-2',
6-
version='1.1.1',
6+
version='1.1.2',
77
description='An MkDocs plugin to create a list of contributors on the page',
88
long_description='The git-committers plugin will seed the template context with a list of github committers and other useful GIT info such as last modified date',
99
keywords='mkdocs pdf github',

0 commit comments

Comments
 (0)