Skip to content

fix: Java enum constants links were broken.#24

Merged
Antonz0 merged 1 commit intodevelopfrom
bugfix/fix_java_enum_constant_links
Apr 24, 2025
Merged

fix: Java enum constants links were broken.#24
Antonz0 merged 1 commit intodevelopfrom
bugfix/fix_java_enum_constant_links

Conversation

@Antonz0
Copy link
Owner

@Antonz0 Antonz0 commented Apr 24, 2025

Doxygen entities of "kind" equal to "variable" with empty <type> child tag, which are mapped to internal Kind::JAVAENUMCONSTANT (Java enums constants) were written as "enum constant" (with space) in the generated links URLs. It causes links to be broken. Spaces must be replaced with - instead of space, this is what Markdown processors use to replace spaces with in generated anchors.

Doxygen entities of "kind" equal to "variable" with empty `<type>` child tag, which are mapped to internal  Kind::JAVAENUMCONSTANT (Java enums constants) were written as "enum constant" (with space) in the generated links URLs. It causes links to be broken. Spaces must be replaced with `-` instead of space, this is what Markdown processors use to replace spaces with in generated anchors.
@Antonz0 Antonz0 merged commit c802689 into develop Apr 24, 2025
5 checks passed
@Antonz0 Antonz0 deleted the bugfix/fix_java_enum_constant_links branch April 24, 2025 21:00
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.

1 participant