sphinx-contrib / matlabdomain

A Sphinx extension for documenting Matlab code
Other
64 stars 45 forks source link

Question about parseing scripts and using automodule. #202

Closed changlichun closed 1 year ago

changlichun commented 1 year ago

I am a newer to sphinx and matlabdomain. I think this is a very useful and awesome extension. And I have a few questions while using.

changlichun commented 1 year ago

And

joeced commented 1 year ago

Hi and welcome.

1) there is no feature like publish or live script. That would require a running MATLAB version, which is not required at the moment.

2) the order can be controlled by: autodoc_member_order can be set to alphabetical, groupwise or bysource.

3) highly requested feature. But not possible at the moment. Definitely something to work on.

4) MATLAB usually does show the type. In practice I personally use something like % this is a :obj:

5) I don't think so. We piggy-back on the Python autodoc feature, so there might be some feature there. However, I have never used that myself.

changlichun commented 1 year ago

Thank you very much for your message. It is really useful for me!