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
As part of the goal of supplying in-source documentation that looks good and works well with both Sphinx and MATLAB's help and doc commands (see #140), it would be a great improvement if we could display class members in separate lists, e.g. for properties and methods, with corresponding headings, similar to the "Property Summary" and "Method Summary" in the MATLAB doc output.
Currently using the :members: option with the autoclass directive results in a single list (with some sorting options) with no headings.
I like the idea you (@joeced) suggested here of using Jinja templates. That seems like the most flexible approach and could work nicely with the existing :members:.
But, I'm also happy to help work on a much simpler option if there is one. I'm thinking of something like adding :properties: and :methods: options for the autoclass directive. Essentially, duplicating the functionality of :members: and adding filtering to skip over members that are not properties and methods, respectively.
The text was updated successfully, but these errors were encountered:
As part of the goal of supplying in-source documentation that looks good and works well with both Sphinx and MATLAB's
help
anddoc
commands (see #140), it would be a great improvement if we could display class members in separate lists, e.g. for properties and methods, with corresponding headings, similar to the "Property Summary" and "Method Summary" in the MATLABdoc
output.Currently using the
:members:
option with theautoclass
directive results in a single list (with some sorting options) with no headings.I like the idea you (@joeced) suggested here of using Jinja templates. That seems like the most flexible approach and could work nicely with the existing
:members:
.But, I'm also happy to help work on a much simpler option if there is one. I'm thinking of something like adding
:properties:
and:methods:
options for theautoclass
directive. Essentially, duplicating the functionality of:members:
and adding filtering to skip over members that are not properties and methods, respectively.The text was updated successfully, but these errors were encountered: