-
Notifications
You must be signed in to change notification settings - Fork 4
-
Notifications
You must be signed in to change notification settings - Fork 4
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
Make Doxygen output more Matlab-esque #9
Comments
Nicolas Cottaris has some pointers to other tools:
|
The second tool, mtoc++ looks pretty nice. It makes output like this: One novel feature is that it post-processes the HTML output from Doxygen. This allows it to do some nice things, like putting multiple function returns in a comma-separated list, like so:
It does other interesting things. It allows types for variables and class members, which is weird because Matlab is not typed. It handles Matlab packages, which would be nice if we used them. It also looks like mtoc++ uses some custom CSS and customizes some of the output names, like replacing the word "Modules" with "Miscellaneous". But overall, the output is not that different from our own oom2cpp. For example, My sense is that it would be easy to crib niceties like comma-separated output lists, and nicer CSS. But adopting mtoc++ as a new dependency might not be worth the config, unless we plan to use some of its the other features. |
Nicolas Cottaris has been working on Doxygen tools for Matlab and has some that seem to work better than the one we're using. We should see if it makes sense to change over to what he has found/developed. |
Nicolas Cottaris sent me some links about using m2cpp. I plan to adopt his approach: My latest approach is to use the mtocpp pre- and post-processing filters. The page about installing and compiling mtocpp can be found at: The page about using the mtocpp filters with a Matlab class or a directory of Matlab functions, can be found at: Finally, the Matlab functions that I wrote to manage the pre- and post-processing filters can be found |
For 1.0, just make sure to run the Doxygen filter so it is up to date. |
Regenerating the Doxygen docs is now covered in issue #38. I'm moving this issue back out of version 1.0. |
The current oom2cpp converter (in the RenderToolbox3 gh-pages branch) is OK for fitering Matlab code into something Doxygen can parse. But the results look unfamiliar to some Matlab users.
There are other Matlab converters that work with Doxygen, and produce results that are more Matlabish. What features do we want to crib, to improve oom2cpp?
The text was updated successfully, but these errors were encountered: