Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Matlab autosummary #211

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

changlichun
Copy link

The code might be redundant. The summary table is not completed.
Any comments and suggestions are very welcome!

* Add autosummary feature in mat_autosummary.py file

*.Add an test example in tests folder
@@ -0,0 +1,8 @@
.. autosummary::
:toctree: generated/
:template: matmodule.rst
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there documentation somewhere on when matmodule.rst, matclass.rst, or matbase.rst should be used?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

matmodule.rst, matclass.rst, matbase.rst are used as default template file for modules classes and others. It could be omitted. And users could create their own template files.

I add a simple explaination in the file.

@DutchGFX
Copy link

DutchGFX commented Aug 8, 2023

Would suggest adding this feature into the overall docs as part of the PR so that this feature is documented on the default docs page, rather than just in the test folder

@joeced
Copy link
Collaborator

joeced commented Aug 12, 2023

Hi

Thanks for the contribution. Can you by any chance make an automated test, akin to https://github.com/sphinx-contrib/matlabdomain/blob/master/tests/test_autodoc.py ?

@DutchGFX
Copy link

I can potentially help with this, but don't want to step on any toes...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants