You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Whenever I add a new constant (m.attr("name") = value), there's no way to add docstrings to it. The global constants don't seem to show up in Sphinx at all, docs or not.
In normal Python, I could do something like this:
name=value"""docstring"""
It's a bit of a pain to have to write some Python code that just adds docs, and it seems to remove type information in that situation.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Whenever I add a new constant (
m.attr("name") = value
), there's no way to add docstrings to it. The global constants don't seem to show up in Sphinx at all, docs or not.In normal Python, I could do something like this:
It's a bit of a pain to have to write some Python code that just adds docs, and it seems to remove type information in that situation.
Beta Was this translation helpful? Give feedback.
All reactions