mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2026-08-04 19:45:08 -04:00
Merge latests changes from Insiders
This commit is contained in:
@@ -53,8 +53,8 @@ class GroupPlugin(BasePlugin[GroupConfig]):
|
||||
# little hacky, but has huge potential making plugin configuration easier.
|
||||
# There's one little caveat: the `__init__` and `on_startup` methods of the
|
||||
# plugins that are part of the group are called after all other plugins, so
|
||||
# the `event_priority` decorator for `on_startup` events and is effectively
|
||||
# useless. However, the `on_startup` event is only intended to set up the
|
||||
# the `event_priority` decorator for `on_startup` methods is effectively
|
||||
# useless. However, the `on_startup` method is only intended to set up the
|
||||
# plugin and doesn't receive anything else than the invoked command and
|
||||
# whether we're running a dirty build, so there should be no problems.
|
||||
@event_priority(150)
|
||||
|
||||
Reference in New Issue
Block a user