-
Notifications
You must be signed in to change notification settings - Fork 53
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
Only copy source files if they are converted by the plugin #222
Conversation
This commit adapts the plugin to use a logger instead of print to integrate better into the mkdocs workflow.
This commit prevents all files from the source directory from beeing copied to the output. Instead only the source files touched by the module are copied.
I was unsure which version to use in the Changelog. Once I know, I will happily add my changes to it. |
Thank you! I havent been doing the best keeping the changelog. The next entry should be 0.25.1 |
Thanks a lot for the fast response. I updated the changelog. I also upgraded the GitHub action |
That one fails for PRs, i never figured out the reason for that, so tahts ok |
Ok, no worries. Let me know if you are happy with the changes so I can fixup the commits before merging. |
@danielfrg Is ther anything I can do to help you review this PR? |
No, lgtm. Merging. |
I'll try to release this later today. |
✅ Preview deployment
|
This PR fixes the following issue(s):
Instead of blindly copying all source files, including plain markdown files, only copy files converted by the plugin. This prevents all plain markdown files from being copied into the build output.
I also replaced the print statements with logging statements. Otherwise, the print can easily mess up automated scripts.