-
-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve error message for dubious git ownership #109
Comments
@timvink sorry, how did you fallback to builddate? |
Sorry, should have been more clear. The error from this plugin is the first line:
That's caused by this (too generic) bit of code: mkdocs-git-revision-date-localized-plugin/mkdocs_git_revision_date_localized_plugin/util.py Lines 148 to 155 in 6150fad
The traceback actually already has the correct solution (last line):
I created the issue to remember when I next touch this plugin, to improve the error handling, but because the "Solution is not fallback to builddate". This issue pops up for people with newer versions of # Trust directory, required for git >= 2.35.2
# Run this inside the root of your project
# Remember to update any CI/CD pipelines also
git config --global --add safe.directory /docs
git config --global --add safe.directory /site |
I had this stacktrace:
Solution is not fallback to builddate, so we should improve the error message
The text was updated successfully, but these errors were encountered: