Skip to content

MkDocs-Material Blog plugin messing up links? #5768

Answered by squidfunk
Andre601 asked this question in Q&A
Discussion options

You must be logged in to vote

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,…

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@Andre601
Comment options

@squidfunk
Comment options

@Andre601
Comment options

@squidfunk
Comment options

Answer selected by squidfunk
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants