Skip to content

ERROR - Config value 'plugins': The "minify" plugin is not installed #7485

Answered by kamilkrzyskow
kuhlaid asked this question in Q&A
Discussion options

You must be logged in to vote

Hello @kuhlaid,
the workflow in the publishing guide installs the theme, builds mkdocs together with the deployment:

- run: pip install mkdocs-material 
- run: mkdocs gh-deploy --force

ERROR - Config value 'plugins': The "minify" plugin is not installed

This is caused due to your mkdocs.yml file containing the minify plugin, but you didn't install it separately.

You can do so by installing the extra recommended packages:
Replace this pip install mkdocs-material with pip 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…

Replies: 2 comments 7 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
7 replies
@kamilkrzyskow
Comment options

Answer selected by kamilkrzyskow
@kamilkrzyskow
Comment options

@kuhlaid
Comment options

@kamilkrzyskow
Comment options

@kamilkrzyskow
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #7484 on August 29, 2024 15:32.