plugin ¤
Configuration options for the MkDocs Manpage plugin.
Classes:
-
PygmentsConfig
–Configuration options for the plugin.
-
PygmentsPlugin
–The MkDocs plugin to inject Pygments style sheets.
PygmentsConfig ¤
Bases: Config
Configuration options for the plugin.
PygmentsPlugin ¤
PygmentsPlugin()
Bases: BasePlugin[PygmentsConfig]
The MkDocs plugin to inject Pygments style sheets.
Methods:
-
on_config
–Inject dark and light style sheets in
extra_css
. -
on_post_build
–Write the CSS contents to the injected style sheets.
on_config ¤
on_config(config: MkDocsConfig) -> MkDocsConfig | None
Inject dark and light style sheets in extra_css
.
Parameters:
-
config
(MkDocsConfig
) –The MkDocs config object.
Returns:
-
MkDocsConfig | None
–The config.