mkdocs_nype.plugins.similar_blog_posts.config
SingleValueOrList
Bases: Type
There is no mixed str/list[str] type provided by MkDocs, so this custom type allows for this
SimilarBlogPostsConfig
Bases: Config
hook_blog_dir
A single value or list of matching blog_dir prefixes
similarity_threshold
Float number between 0 and 1 to decide if the posts should be considered similar
allow_other_categories
If a given category doesn't have enough (max_shown) similar posts, show posts from other categories