-
Currently encounter some odd behaviour while using the Material for MkDocs theme... I cannot really tell if it is caused by the blog plugin, or if there are other causes that make issues... Either way, the issue is as follows:
The problem is, that adding a
This for once seems to indicate a faulty path resolving? Because the reported path is In addition is the effective link on the rendered site not properly resolved, still pointing to the md file rather than the actual site, meaning the link is This is not that big of a deal for me. I can just use the relative URLs as I did in the past and ignore the info lines, but I preferrably would like to have those gone alltogether if possible... Also, not sure if I should report that wrong file-path resolving to MkDocs or not... I'm generally confused and don't know if any of this is a bug and from who it is caused... |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
The blog plugin allows to link to other blog articles or other pages by just using the source path (not the computed path/slug). The new warnings are likely related to the new MkDocs version. Please create a new issue with a minimal reproduction, so we can adjust for the new MkDocs behavior. It's worth noting that the blog plugin jumps through some hoops to supress the "files not in nav" warning that MkDocs prints, because the posts should not be linked in the In any way, an issue to track progress with a minimal reproduction is what we need here. Thanks! 😊 |
Beta Was this translation helpful? Give feedback.
The blog plugin allows to link to other blog articles or other pages by just using the source path (not the computed path/slug). The new warnings are likely related to the new MkDocs version. Please create a new issue with a minimal reproduction, so we can adjust for the new MkDocs behavior.
It's worth noting that the blog plugin jumps through some hoops to supress the "files not in nav" warning that MkDocs prints, because the posts should not be linked in the
nav
entry. This seems to have become simpler with MkDocs 1.5.0, as we can now mark certain files as "deliberately not linked in nav". We should migrate to the new MkDocs API for marking all blog posts as generated files.In any way,…