Skip to content

Commit

Permalink
Fix path for Windows users
Browse files Browse the repository at this point in the history
  • Loading branch information
ojacques committed Mar 27, 2023
1 parent 9934fa7 commit bc6ec96
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions mkdocs_git_committers_plugin_2/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ def on_config(self, config):

def list_contributors(self, path):
last_commit_date = ""
path = path.replace("\\", "/")
for c in Commit.iter_items(self.localrepo, self.localrepo.head, path):
if not last_commit_date:
# Use the last commit and get the date
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

setup(
name='mkdocs-git-committers-plugin-2',
version='1.1.1',
version='1.1.2',
description='An MkDocs plugin to create a list of contributors on the page',
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',
keywords='mkdocs pdf github',
Expand Down

0 comments on commit bc6ec96

Please sign in to comment.