differentiate between :ivar: and :cvar: #81
Unanswered
arndflatten
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
currently autodoc2 (as well as autodoc) does not differentiate between the
:ivar:
(instance varaiable) and:cvar:
(class variable), see this discussion as well.So both
:ivar:
and:cvar:
definitions within a docstring will be rendered under single sectionVariables:
.Would it be difficult to distinguish the outcome in
Class Variables:
andInstance Variables:
(maybe, via some templating?!). Or, if you wanted to differentiate, what would be your recommendation?Beta Was this translation helpful? Give feedback.
All reactions