-
Notifications
You must be signed in to change notification settings - Fork 516
generate API docs for Firmata #16
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
Comments
I'd like to help with this. At first glance, most code is documented and would only need to set up Doxygen, is it correct? |
That would be great! Setting up Doxygen is a good first step, code comments were greatly improved since I filed this request, but we'd have to inspect the output of Doxygen to see if any changes are necessary. My initial thought is adding a |
I've set up doxygen at the fork here: https://github.com/mexchip/arduino/tree/doxygen-docs And also integrated into the fork's master to be able to set github pages as per the guide you suggested, so that you can have a look at how it looks: https://mexchip.github.io/arduino/ Please let me know what you think. |
That was quick :D. For now we can set the readme as the main page. Looks like you can do that by setting Other than that this is a good start. I will override the css at some point to at least flatten the appearance of the header bar so it doesn't look so iPhone 2006 LoL. |
Didn't know about that option! I've added it: https://mexchip.github.io/arduino/ Previously, I tried adding readme.md but had to add {#main_page} tag to current readme.md to make it appear on docs main page, but github doesn't hide those tags and it would appear in the repo main page too. |
Yes, default doxygen style looks a bit outdated today 😝 |
I've added a .nojekyll file to fix doxygen generated html files that start with underscore not showing on github pages, as stated here: https://github.blog/2009-12-29-bypassing-jekyll-on-github-pages/ I also searched for some doxygen themes and applied this one: https://github.com/Velron/doxygen-bootstrapped The problem with this doxygen theme it that it does not work with doxygen versions >=1.8.12 (Velron/doxygen-bootstrapped#20) I generated the docs using doxygen 1.8.11 (had to compile it), I guess it'd be a problem whenever someone needs to rebuild the docs, what do you think? |
Thanks for taking the time to look into alternate themes. However, I would like to avoid being constrained to a specific doxygen version just to have an alternate theme. Let's keep the default theme for now and I'll experiment with overriding the css and custom headers after your branch is merged. |
Ok 👍 |
Thanks again for your help on this! Let me know if you think anything is missing documentation-wise. For example, I've been debating whether or not I should add the constants from FirmataConstants.h. |
It was a pleasure! |
Uh oh!
There was an error while loading. Please reload this page.
Use Doxygen or other doc generator to create documentation for the Firmata library. This will require adding appropriate doc commentes to Firmata.h and Firmata.cpp.
Anyone have a preference for a C++ doc generator?
The text was updated successfully, but these errors were encountered: