Skip to content

fix(library-docs): update html header for doxygen 1.15 - #3

Merged
fpistm merged 1 commit into
stm32duino:mainfrom
fpistm:fix/library-docs-header-doxygen-1.15
Dec 2, 2026
Merged

fpistm merged 1 commit into
stm32duino:mainfrom
fpistm:fix/library-docs-header-doxygen-1.15

Conversation

@fpistm

@fpistm fpistm commented Dec 2, 2026

Copy link
Copy Markdown
Member

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.html was based on an older Doxygen template where the side navigation and the title area were hard-coded. Doxygen 1.15 only generates them within the FULL_SIDEBAR and TITLEAREA conditionals.

Changes

  • Regenerate html-header.html from the Doxygen 1.15.0 default template.
  • Re-apply the STM32duino additions: documentation home link, version selector and its styles.
  • Keep the link and the selector outside the TITLEAREA conditional so they are always generated.
  • Keep the selector hidden until version-selector.js has loaded the versions (display: flex overrode hidden).

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.

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>
@fpistm fpistm added the enhancement New feature or request label Dec 2, 2026
@fpistm
fpistm merged commit c9f9703 into stm32duino:main Dec 2, 2026
@fpistm
fpistm deleted the fix/library-docs-header-doxygen-1.15 branch December 2, 2026 15:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant