Skip to content

Commit

Permalink
fix: made the buttons option optional again
Browse files Browse the repository at this point in the history
It now defaults to an empty array, making it optional.
  • Loading branch information
adrienbrignon authored Aug 1, 2024
1 parent b45c531 commit f78ad8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mkdocs_exporter/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ class Config(BaseConfig):
formats = c.SubConfig(FormatsConfig)
"""The formats to generate."""

buttons = c.ListOfItems(c.SubConfig(ButtonConfig))
buttons = c.ListOfItems(c.SubConfig(ButtonConfig), default=[])
"""The buttons to add."""

logging = c.SubConfig(LoggingConfig)
Expand Down

0 comments on commit f78ad8e

Please sign in to comment.