-
Hi all, I'm using mkdocstrings with the new python module which is based on griffe. I've found it produces wonderful documentation, but I'm curious what I would need to change (or add) in order to later the visual display of classes. For example, in pytkdocs, I like how base classes are displayed inline like rather than separately below the class section, like Would it require coding a custom extension, or is this something that can be done with a configuration. Cheers, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Ah, is done through customization of the html template jinja block? |
Beta Was this translation helpful? Give feedback.
Hello, yes, you can achieve this with Jinja templates! See these two links:
You'd simply override the
class.html
template to change how bases are displayed. Something like: