We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 02fd840 commit e082846Copy full SHA for e082846
mkdocs_git_authors_plugin/plugin.py
@@ -118,7 +118,7 @@ def on_files(
118
if exclude(file.src_path, excluded_pages):
119
continue
120
121
- if file.src_dir is None:
+ if not hasattr(file, 'src_dir') or file.src_dir is None:
122
logger.debug(
123
f"[git-authors-plugin] Unable to find path for file {file.src_path}. "
124
"Generated, in-memory files won't have a git history."
setup.py
@@ -5,7 +5,7 @@
5
6
setup(
7
name="mkdocs-git-authors-plugin",
8
- version="0.9.1",
+ version="0.9.2",
9
description="Mkdocs plugin to display git authors of a page",
10
long_description=long_description,
11
long_description_content_type="text/markdown",
0 commit comments