JakubAndrysek / MkDoxy

📖 Automatically generates API documentation for your project based on Doxygen comments and code snippets in your markdown files.
https://mkdoxy.kubaandrysek.cz/
MIT License
60 stars 16 forks source link

Disable / enable plugin using ENV variable #34

Closed JakubAndrysek closed 1 year ago

JakubAndrysek commented 1 year ago

Add support to deactivate the plugin using the ENV variable to speed up writing standard documentation without API generation and snippets.

More about Environment Variables in MkDocs. Inspiration from mkdocs-simple-hooks

plugins:
  - mkdoxy:
      enabled: !ENV [ENABLE_MKDOXY, True]
      ...
JakubAndrysek commented 1 year ago

Add disabling plugin support (ENV)