-
I'm using I now wonder: Can I somehow override the used template files of the plugin to customize some of its output? I also asked in the essentials-openapi repository, but given the maintainer's recent activity here on GitHub I have doubts to receive any reply to it... One alternative I've been thinking about here is to maybe use templating itself with the openapi file? Would that be a thing to work with? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 11 replies
-
This question is 100% specific to the plugin. But just pointing that out, it's not forbidden to ask. essentials-openapi seems pluggable, you'd just provide your own package with themes. The plugin does not seem to expose this pluggability, but on the other hand the plugin itself is trivial, it's just this 1 file |
Beta Was this translation helpful? Give feedback.
This question is 100% specific to the plugin. But just pointing that out, it's not forbidden to ask.
essentials-openapi seems pluggable, you'd just provide your own package with themes.
https://github.com/Neoteroi/essentials-openapi/blob/6bbd8c51934c65ec2c315797f6fb4b64bba14dc8/openapidocs/mk/v3/__init__.py#L101
https://github.com/Neoteroi/essentials-openapi/blob/6bbd8c51934c65ec2c315797f6fb4b64bba14dc8/openapidocs/mk/jinja.py#L101
The plugin does not seem to expose this pluggability, but on the other hand the plugin itself is trivial, it's just this 1 file
https://github.com/Neoteroi/mkdocs-plugins/blob/d196ab67594e9cd6adcdda75089bd7020253a08e/neoteroi/mkdocs/oad/__init__.py#L32