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

Doxygen + Documentation Maintenance #1626

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

Conversation

dmadison
Copy link
Contributor

This PR updates Doxygen and its CI dependencies to the latest version:

Software Before After
Doxygen 1.9.7 1.11.0
jothepro/doxygen-awesome-css 2.2.0 2.3.3
actions/checkout 3 4
peaceiris/actions-gh-pages 3 4

The Doxyfile has also been updated to 1.11.0, and the Doxygen layout file (DoxygenLayout.xml) has been updated to support the change of "Modules" to "Topics". The two documentation CI actions were updated to their latest versions, as the previous versions are using Node 16 which is now deprecated.

This PR also fixes an issue where inline class documentation was generating warnings for Doxygen (460d441). I've also fixed a few minor documentation issues related to recent PRs (#1461, #1619).

There are no (intended) functional changes to the codebase. Documentation should be regenerated from GitHub Actions after this is merged.

Node.js 16 is deprecated. Updating this to the latest version so that it continues working.
Node.js 16 is deprecated. Updating this to the latest version so that it continues working.
Starting with Doxygen 1.9.5, running Doxygen would result in a host of warnings: "warning: unexpected token TK_COMMAND_BS as the argument of \ifile".

These doxygen warnings were pointing to lines in `chipsets.h`, which was confusing since these seem to be properly documented? It turns out that this was due to the inline comments for the chipsets in `FastLED.h` using copydoc, and referencing their base classes.

This appears to be a bug in Doxygen. Changing these single-line definitions to multi-line (with the associated multi-line comments) fixes the issue and gets rid of the warnings. I'll follow up with a bug report on the Doxygen repo.
This isn't used by the documentation and results in numerous errors in the output since `epstopdf` is not installed by default.
This also fixes a function definition which changed due to the FASTLED_REGISTER addition.
The change in naming of "modules" to "topics" broke the display of all groups.
Not sure why this macro expansion wasn't working, but adding the flag directly to the 'if' statements works fine.
This function changed its signature with FastLED#1619. This corrects the copydetails commands to the new signature.
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.

None yet

1 participant