Skip to content

Advanced usage

Disabling the plugin

You can use the enabled option to optionally disable this plugin. A possible use case is local development where you might want faster build times.

plugins:
  - mkdoxy:
      enabled: !ENV [ENABLE_MKDOXY, True]
      ...

This will disable the plugin if the ENABLE_MKDOXY environment variable is not set or is set to False. Inspirated by mkdocs-simple-hooks

export ENABLE_MKDOXY=False
mkdocs serve

Configure custom Doxygen binary

By default, the plugin will use the doxygen binary from the system path. You can configure a custom binary using the doxygen-bin-path option. If doxygen-bin-path is not found, the plugin will raise DoxygenBinPathNotValid exception.

plugins:
  - mkdoxy:
      doxygen-bin-path: /path/to/doxygen
      ...