splintered-reality / py_trees_ros_tutorials

Tutorials for py_trees on ros
Other
10 stars 10 forks source link

[docs] sphinx #18

Closed stonier closed 5 years ago

stonier commented 5 years ago
stonier commented 5 years ago

Classes that inherit from mocked classes do not show in autodocs for some reason. Some crumbs:

stonier commented 5 years ago

This got fixed in sphinx 1.7.5, #4596 and works under the autodoc_mock_imports mechanism.

Looks also like my concern with that and submodules is fixed by 1.8.5 as well. It does however have some other problems:

stonier commented 5 years ago

PyQt5 fails with autodoc (in gui/main_window_rc.py):

    if qt_version < ['5', '8', '0']:
TypeError: '<' not supported between instances of '_MockObject' and 'list'
stonier commented 5 years ago

Closing this one out, as the individual tutorial documentation is being handled at the same time as the code development, refer to #19.