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

Fix C API metadata handling #2861

Merged
merged 4 commits into from
Mar 26, 2025
Merged

Fix C API metadata handling #2861

merged 4 commits into from
Mar 26, 2025

Conversation

frankharkins
Copy link
Member

Currently, we're looking for an ID attribute starting with group__ to work out if a page is a module or not. This isn't very robust because the group__ ID only appears if there's a doxygengroup in the page, which isn't always the case.

Instead, this PR treats all pages as modules except the index page and the release notes page, which we identify by their <h1>.

Copy link
Collaborator

@arnaucasau arnaucasau left a comment

Choose a reason for hiding this comment

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

Awesome! Thanks!

Copy link
Collaborator

@Eric-Arellano Eric-Arellano left a comment

Choose a reason for hiding this comment

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

🚀

@frankharkins frankharkins added this pull request to the merge queue Mar 26, 2025
Merged via the queue into main with commit 8322937 Mar 26, 2025
3 checks passed
@frankharkins frankharkins deleted the FH/c-meta branch March 26, 2025 18:42
frankharkins added a commit that referenced this pull request Apr 1, 2025
Currently, we're looking for an ID attribute starting with `group__` to
work out if a page is a module or not. This isn't very robust because
the `group__` ID only appears if there's a `doxygengroup` in the page,
which isn't always the case.

Instead, this PR treats all pages as modules except the index page and
the release notes page, which we identify by their `<h1>`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants