ERROR - Config value 'plugins': The "minify" plugin is not installed #7485
-
ContextNo response Bug descriptionI forked the latest version mkdocs-material-9.5.33 and tried to get it pushed to GitHub Pages. After creating a workflow action in GitHub as outlined in https://squidfunk.github.io/mkdocs-material/publishing-your-site/ the action failed with Related linksReproductionNA Steps to reproduce
BrowserEdge Before submitting
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 7 replies
-
Moving to discussions, as this is clearly a support request. |
Beta Was this translation helpful? Give feedback.
-
This seems like a bug in the configuration. I do not see any mention of minify in the list of built-in plugins under https://squidfunk.github.io/mkdocs-material/plugins/?h=plugin so where is the minify plugin coming from if it is not built-in? |
Beta Was this translation helpful? Give feedback.
Hello @kuhlaid,
the workflow in the publishing guide installs the theme, builds mkdocs together with the deployment:
This is caused due to your
mkdocs.yml
file containing theminify
plugin, but you didn't install it separately.You can do so by installing the extra recommended packages:
Replace this
pip install mkdocs-material
withpip install mkdocs-material[recommended]
.Another approach is also to add one more step in the workflow before mkdocs is built:
Add a
run: pip install mkdocs-minify-plugin
step.BTW I'm curious how there is the minify plug…