-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
mkdocs-material deployment with Groups plugin fails with Error: 'GroupPlugin' object has no attribute 'is_serve' #193
Comments
For continuity, since squidfunk/mkdocs-material@55fe1cc the Group plugin in mkdocs-material won't crash mike. However, running Lines 30 to 33 in 533e996
|
…#193 I'm not totally convinced this is the right thing to do, since mike doesn't have the same lifecycle as MkDocs, but whatever...
…#193 I'm not totally convinced this is the right thing to do, since mike doesn't have the same lifecycle as MkDocs, but whatever...
Thanks for your continued dedication to the project! |
But why are both |
Unless this is a patch just for the load function, and later on it runs the full lifecycle again. I didn't check how the driver works in it's entirety. |
@kamilkrzyskow mike's loading of the config is totally separate from the |
OK, if the |
Plugins can do arbitrary things to transform the config during |
Summary
Thanks for the awesome project. I recently upgraded to mike v2 and started hitting the error above when trying to deploy on ci (example run). I raised a discussion over at the mkdocs-material repo and one of the maintainers recommended I open an issue here, as it sounds like they think there could be a fix here in addition to a fix on their side.
They stated this issue occurs with the use of the Group plugin, apparently because
on_config
runs beforeon_startup
was ever called. I think this comment is most relevant: squidfunk/mkdocs-material#6520 (reply in thread) . I'm not familiar-enough with either codebase to have much to add in terms of e.g. a PROf course, I defer to you guys about whether this is something to be changed in your project.
Configuration and Logs
mike
version: 2.0.0Additional Context
relevant portion of our mkdocs.yml:
Thanks for your time
The text was updated successfully, but these errors were encountered: