-
Notifications
You must be signed in to change notification settings - Fork 2k
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
doc: Use the correct Doxygen Logo File Type in the Footer #21274
base: master
Are you sure you want to change the base?
Conversation
... Or add that same CSS rule to our RIOT tree to fix it for all users? |
I'm a bit torn here, because the old Doxygen versions are not supported anyway due to various bugs, which motivated #21277. The This might be a personal thing, but I'd rather have the users/developers update their Doxygen version that working around one bug while still having many other bugs. |
Sure I agree, but reality is that those versions are still around on developer machines. #21273 would continue to work around the markdown issue on local machines even when we have our CI and website doxygens updated. I don't think adding another CSS rule with a comment on it being a workaround would harm. |
Unfortunately I don't really have the CSS skills to develop a solution that won't interfere with future Doxygen updates. Considering 22.04 LTS is the last LTS distro to use Doxygen 1.9.1 and 24.04 LTS uses 1.9.8 ( https://launchpad.net/ubuntu/noble/+source/doxygen ) which doesn't have the same issue anymore, I'm not convinced to include a hack that might cause issues in the future when it's long forgotten. But I'm open for a third opinion (or a proposal for the CSS rule). |
Summoning @kfessel here since he was advocating for keeping local user installations functional here #21273 (review). Maybe an alternative solution would be to allow users to use the doxygen version in |
Contribution description
Apparently Doxygen changed the default file type from PNG to SVG at some point and the footer was never updated, leading to the ugly "image not found" symbol in the footer.
The SVG file is already present and accessible on the webserver ( https://doc.riot-os.org/doxygen.svg ) but not in the
footer.html
.Current state:

With this PR:

Testing procedure
Check that the generated documentation contains the logo in the footer.Apparently the old doxygen version (1.9.1) in the CI container has some issues displaying the SVG, because there is no size specification:

In newer Doxygen versions (1.12.0), the CSS settings for the footer were extended:

So you have test it locally, wait for the CI container to be updated or just trust me :D
Issues/PRs references
None.