Repository navigation
ci(docs): use the shared header and version selector - #13
Merged
Merged
Conversation
html-header.html and version-selector.js are now provided by the stm32duino/actions library-docs-setup action (stm32duino/actions#1). The workflows append HTML_HEADER and HTML_EXTRA_FILES to the Doxyfile, so remove the two files and the two tags. A local doxygen run uses the default Doxygen header. Merging before the action is updated only hides the version selector. Assisted-by: GitHub Copilot: claude-sonnet-5.5 Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
fpistm
added a commit
to stm32duino/actions
that referenced
this pull request
Dec 2, 2026
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: #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
html-header.htmlandversion-selector.jsare now provided by thestm32duino/actionslibrary-docs-setupaction (stm32duino/actions#1, merged). The reusable workflows addHTML_HEADERandHTML_EXTRA_FILESto theDoxyfileat build time, so the library no longer needs:docs/html-header.htmldocs/version-selector.jsHTML_HEADERandHTML_EXTRA_FILEStags in theDoxyfileA local
doxygen Doxyfilestill works and uses the default Doxygen header (no version selector).Testing
Before the change, with the new CI command (
cat Doxyfile+ appended tags piped todoxygen -) andmkdocs build --strict: success, with the version selector markup andversion-selector.jsinsite/. TheDocumentation buildcheck of this pull request runs the merged workflow.