Configuration
mkdocs_exporter.config.Config
The plugin's configuration.
Source code in mkdocs_exporter/config.py
38 39 40 41 42 43 44 45 46 47 48 49 50 51 |
|
buttons = c.ListOfItems(c.SubConfig(ButtonConfig), default=[])
The buttons to add.
formats = c.SubConfig(FormatsConfig)
The formats to generate.
logging = c.SubConfig(LoggingConfig)
The logging configuration.
theme = c.Optional(c.Theme(default=None))
Override the theme used by your MkDocs instance.
mkdocs_exporter.config.ButtonConfig
The configuration of a button.
Source code in mkdocs_exporter/config.py
15 16 17 18 19 20 21 22 23 24 25 26 27 28 |
|
attributes = c.Type((dict, Callable), default={})
Some extra attributes to add to the button.
enabled = c.Type((bool, Callable), default=True)
Is the button enabled?
icon = c.Type((str, Callable))
The button's icon (typically, an SVG element).
title = c.Type((str, Callable))
The button's title.
mkdocs_exporter.config.FormatsConfig
Source code in mkdocs_exporter/config.py
9 10 11 12 |
|
pdf = c.SubConfig(PDFFormatConfig)
The PDF format configuration.
mkdocs_exporter.config.LoggingConfig
The logging configuration.
Source code in mkdocs_exporter/config.py
31 32 33 34 35 |
|
level = c.Choice(['debug', 'info', 'warning', 'error', 'critical'], default='info')
The log level.