-
Notifications
You must be signed in to change notification settings - Fork 1k
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
address some Doxygen warnings and issue #632 #639
Conversation
Did some testing with an unrelated C++ repo of mine about using That lead about m.css looks ok. However, their doxygen theme seems to require other dependencies to getting it working. I've decided to try using doxygen HTML output with a custom doxygen XML layout file, so that I could incorporate the Bulma CSS framework (true drop-in-place functionality, mobile friendly, & no JS needed). I realize it requires some knowledge of CSS (specifically the |
How's that an issue? |
Its not a huge issue, but after trying the So initial tests with Bulma CSS didn't work out well. Turns out the div elements stylizing the navbar are generated completely, and injecting property names like |
should I raise an issue about the Arduino IDE requirements as this PR changed the minimum version slightly, or are you not worried? |
I'm not.
Building the final HTML docs is not super mandatory when adding a bit of new documentation or changing existing one, so it really isn't imposing it on everyone. |
🤔 I thought the docs are updated only when a contributor builds the docs and then uploads the changes to TMRh20's repo (which is then approved by another PR to get them live via github pages). Notice that this PR hasn't actually affected the github pages deployment... yet. |
Yes, exactly, they're built by a contributor that uploads them, not everyone who makes a PR. |
could be automated better via github actions, but that's an issue for another time because the docs (in TMRh20's repo) are spread out among the RF24* repos. I have a simple example of this. |
Theoretically the repository can be configured to serve a subfolder of the repository under the github.io domain, but that needs setting up. |
this PR addresses issue #632 & some doxygen warnings caused by
Also I've updated the Doxygen file's
PROJECT_NUMBER
tag used to display what version the docs are built for. It now readsV1.3.9
These are the warnings that have been addressed:
This is the only warning that I have not been able to addresses: (seems to be a doxygen problem)
PROGMEM placement
Doxygen gets confused because the keyword
PROGMEM
was placed after the variable name in its declaration. Here is a quote from arduino.cc about PROGMEM placement:Query
If we want to continue support for Arduino 13 (released in Feb 2009) or prior, I can undo the
PROGMEM
placement changes. But if not we should specify that the latest Arduino IDE version 14 or later is required.With all that said, changing
static const <datatype> var_name[] PROGMEM = { ... };
to
static const PROGMEM <datatype> var_name[] = { ... };
fixes the following warnings.