Repository navigation
fix(library-docs): update html header for doxygen 1.15 - #3
Merged
fpistm merged 1 commit intoDec 2, 2026
Merged
Conversation
The shared header was based on an older Doxygen template with the side navigation and title area hard-coded. Doxygen 1.15, installed on ubuntu-latest (26.04), only emits them within the FULL_SIDEBAR and TITLEAREA conditionals, which left the generated pages unrendered. Regenerate the header from the Doxygen 1.15.0 default template and re-apply the STM32duino additions: documentation home link, version selector and its styles. The link and selector are kept outside the TITLEAREA conditional so they are always generated. Also keep the selector hidden until version-selector.js has loaded the versions. Tested by building the HTS221 documentation with Doxygen 1.15.0. Refs: stm32duino#1 Refs: stm32duino/HTS221#13 Assisted-by: GitHub Copilot: claude-sonnet-5.5 Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Since the move to
ubuntu-latest(Ubuntu 26.04), Doxygen 1.15 is installed and the library documentation is no longer rendered: the generated pages are blank.The shared
html-header.htmlwas based on an older Doxygen template where the side navigation and the title area were hard-coded. Doxygen 1.15 only generates them within theFULL_SIDEBARandTITLEAREAconditionals.Changes
html-header.htmlfrom the Doxygen 1.15.0 default template.TITLEAREAconditional so they are always generated.version-selector.jshas loaded the versions (display: flexoverrodehidden).Validation
Built the HTS221 documentation with Doxygen 1.15.0 and the shared header, then checked the pages in a browser: title area, home link, menu, search, navigation tree and content are rendered. The same build with the previous header produces a blank page.
Related to #1 and stm32duino/HTS221#13.