-
Notifications
You must be signed in to change notification settings - Fork 75
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
Incompatibility with timvink/mkdocs-git-revision-date-localized-plugin #12
Comments
I see that
One possible solution might be to use symlinks to the temporary with: copytree(source_dir, dest_dir, symlinks=True) I haven't tested this yet, but I am willing to give it a try and provide a PR? Edit: Another possible solution could be to save during |
@timvink That sounds like an interesting approach and definitely has pros compared to how we do it today of constructing a new |
Cool, will pick this up somewhere in next week! |
The symlink approach didn't work, but I got it working with the second idea. Opened #13, let's discuss details there! |
* Update page.file source path with original source, fixes #12 * Fix edgecase where monorepo does not copy any files to temp docs dir * Bump version and add unit tests for git related plugins * Fix git related unit tests * Fix keyerrors when docs contained folders * Fix unit test that was moved * bump version to 0.4.7 * Python 3.5 compatibility when after using rglob
Hello,
I was trying to use the MkDocs plugin timvink/mkdocs-git-revision-date-localized-plugin in my project but it always fails with:
I was able to pinpoint the issue to the fact that I'm using mkdocs-monorepo-plugin as well. It seems that the plugin copies the *.md files to a temporary directory before building them, and this way the other plugin cannot use
git log
to find out the last updated date of the Markdown files.The text was updated successfully, but these errors were encountered: