Reverting group plugin fix

This commit is contained in:
squidfunk 2025-02-07 12:07:03 +07:00
parent d4203f65bb
commit aaabbfe99e
No known key found for this signature in database
GPG Key ID: 5ED40BC4F9C436DF
2 changed files with 2 additions and 16 deletions

View File

@ -27,12 +27,5 @@ from mkdocs.config.base import Config
# Group plugin configuration
class GroupConfig(Config):
# While the canonical type for this setting is obviously bool, setting it
# from environment variables seems to have different effects on different
# systems. For instance, setting CI=true seems to correctly work on macOS,
# but not on Linux see https://t.ly/MWj0H.
#
# Thus, as long as the value evaluates to a truthy or falsy value, the
# plugin will work as expected, until we find a better solution.
enabled = Type((bool, str, int), default = False)
enabled = Type(bool, default = False)
plugins = Type((list, dict))

View File

@ -27,12 +27,5 @@ from mkdocs.config.base import Config
# Group plugin configuration
class GroupConfig(Config):
# While the canonical type for this setting is obviously bool, setting it
# from environment variables seems to have different effects on different
# systems. For instance, setting CI=true seems to correctly work on macOS,
# but not on Linux see https://t.ly/MWj0H.
#
# Thus, as long as the value evaluates to a truthy or falsy value, the
# plugin will work as expected, until we find a better solution.
enabled = Type((bool, str, int), default = False)
enabled = Type(bool, default = False)
plugins = Type((list, dict))