Skip to content

Is it possible to override template files for plugins? #3424

Answered by oprypin
Andre601 asked this question in Q&A
Discussion options

You must be logged in to vote

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

Replies: 1 comment 11 replies

Comment options

You must be logged in to vote
11 replies
@Andre601
Comment options

@oprypin
Comment options

@Andre601
Comment options

@oprypin
Comment options

@Andre601
Comment options

Answer selected by oprypin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants