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

i#6681: Fix Doxygen file generation for GitHub pages. #6724

Merged
merged 3 commits into from
Mar 27, 2024

Conversation

brettcoon
Copy link
Contributor

@brettcoon brettcoon commented Mar 26, 2024

Doxygen 1.9.8 changed the way javascript menu files are generated, by inlining much of the menu hierarchy that was previously written to a separate file per page.

Updates cmake rules to handle the new javascript. Also removes extra curly braces from a doxygen page that were inadvertently triggering GitHub's Liquid template expansion and removing the intended text.

This fix was verified by building the embedded doxygen files, copying them to a
local dynamorio.github.io workspace, running a Jekyll server to host the pages,
and comparing the local site vs. the online dynamorio.org pages.

Issue: #6681

Doxygen 1.9.8 changed the way javascript menu files are generated,
by inlining much of the menu hierarchy that was previously written to
page_user_docs.js, and eliminating this latter file entirely.

Updates cmake rules to handle the new javascript.  Also removes extra
curly braces from a doxygen page that were inadvertently triggering
GitHub's Liquid template expansion and removing the intended text.

Issue: #6681
Copy link
Contributor

@derekbruening derekbruening left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the fix!

api/docs/CMake_rundoxygen.cmake Show resolved Hide resolved
api/docs/CMake_rundoxygen.cmake Show resolved Hide resolved
Fail if both the new inline-navigation and the old page_user_docs
menu modifications are triggered.
@brettcoon brettcoon merged commit ac8c418 into master Mar 27, 2024
16 checks passed
@brettcoon brettcoon deleted the i6681-doxygen-menus branch March 27, 2024 00:43
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.

2 participants