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
Slugify blog post examples fail #4452
Comments
I had to do this in order to fix it:
EDIT: ah no, my problem was slightly different, but still might help |
Tried but already on latest |
Ideally, the blog plugin would accept a "callable", but since the options seem to require a type(s), you may need to add |
@facelessuser I'm not familiar with |
Anyways, I won't go into details as to why someone may choose import functools
post_slugify = opt.Type((type(slugify), functools.partial), default = slugify) This is my guess after looking quickly at what Material is doing and taking a glance at the MkDocs source. Hopefully, I'm right 🙃. |
Thanks, @facelessuser! My testing shows that the signature you posted works, so the blog and tags plugins don't crash anymore. Fixed in squidfunk/mkdocs-material-insiders@bf0cd1fb7 and released as part of 8.5.6-insiders-4.25.2. |
Contribution guidelines
I've found a bug and checked that ...
mkdocs
orreadthedocs
themescustom_dir
,extra_javascript
andextra_css
Description
Expected behaviour
Docs build
Actual behaviour
Steps to reproduce
mkdocs build
Package versions
3.8.10
1.4.0
8.5.6
Configuration
System information
The text was updated successfully, but these errors were encountered: