Suppress warning when links do not include the .md extension #23
Closed
tadashi-aikawa
started this conversation in
Ideas
Replies: 2 comments 2 replies
-
Thanks a lot for the feedback! Honestly, I feel like logging in the plugin requires some update for a while. I added it in the very beginning but then after all the later changes I didn't really tried to improve it or even to re-evaluate whether it is still correct and makes sense. I'll spend some time refactoring it to hopefully make it better. |
Beta Was this translation helpful? Give feedback.
0 replies
-
@tadashi-aikawa Please, try the latest version. Should be better now. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Thank you for this amazing plugin!
I often build documentation sites using MkDocs, but after a while, the redundancy of Markdown links starts to feel cumbersome. Most of the time, I find myself wanting to build sites using wiki-style links, like in Obsidian. That's why I really want to use this plugin, as it provides a minimal bridge simply by adding it as an MkDocs plugin.
After using it for a while, I noticed one thing that concerns me. When
pageLink.md
exists, creating a link like[[pageLink]]
always results in a warning in the output of the mkdocs serve command.After checking the source code, I found that
find_best_path
is executed with the specified path as is, which always results in a warning.In my use case, I don't include file extensions in wiki links, just like in Obsidian. As a result, a warning is displayed for every wiki link, which may cause important warning messages to be overlooked. To avoid this, I have applied the following change.
I don't necessarily think this approach will be beneficial for everyone, and I'm not sure if this workaround is the best solution. However, I would be happy if there were a way to control warnings like this, including the option to configure it.
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions