Closed cunyap closed 3 years ago
Hi,
I am trying to understand why I get the following error:
line 726, in make_baseclass_links obj_bases = obj.bases AttributeError: 'MatModule' object has no attribute 'bases'
if I add the following line to .conf.py
autodoc_default_options = {'members': True, 'show-inheritance': True}
If I have this line commented out and in my doc source files something like
.. automodule:: +MyToolbox.@MyClass :members: :show-inheritance:
I do not get this error.
Any idea what might be the cause?
You should do somthing like this instead
.. automodule:: +MyToolbox
.. autoclass::myclass :members: :show-inheritance:
Assuming this was the solution.
Yes indeed. Thanks again for the fast help!
Hi,
I am trying to understand why I get the following error:
line 726, in make_baseclass_links obj_bases = obj.bases AttributeError: 'MatModule' object has no attribute 'bases'
if I add the following line to .conf.py
autodoc_default_options = {'members': True, 'show-inheritance': True}
If I have this line commented out and in my doc source files something like
.. automodule:: +MyToolbox.@MyClass :members: :show-inheritance:
I do not get this error.
Any idea what might be the cause?