Situationally disable extensions #318
Unanswered
multimeric
asked this question in
Q&A
Replies: 1 comment
-
There are two obstacles to this:
The solution to this must come from the extension itself. You could ask that it supports configuration options to exclude some objects from being processed. Depending on the complexity of what users of the extension need, we could consider adding the concept of "sub-extensions" to Griffe, so that extensions themselves can be hooked on too, with custom events. See #315. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm using the excellent
griffe_fieldz
extension.However in some cases I want to disable the dataclass handling. In my
mkdocs.yml
I have:However, in the markdown file, even if I set the extensions list to empty, it doesn't get disabled:
Any ideas how I might do this?
Beta Was this translation helpful? Give feedback.
All reactions