Skip to content

Release v1.6.0#27

Merged
Antonz0 merged 16 commits intomainfrom
feature/release/v1.6.0
Apr 28, 2025
Merged

Release v1.6.0#27
Antonz0 merged 16 commits intomainfrom
feature/release/v1.6.0

Conversation

@Antonz0
Copy link
Owner

@Antonz0 Antonz0 commented Apr 28, 2025

No description provided.

Antonz0 and others added 16 commits April 22, 2025 23:56
revert: "style: Reformatted Doxyfile to use nice default tempalte gen…
- switch to use `main` branch instead of `master`;
- skip running on branches by default (except for direct pushes to `develop` or `main).
- use XML line-breaks;
- made `R"()"`  literals more unambiguous by using `~~~` prefixes and suffixes.
ci: fix getting only first parent when using `git describe`, it skips tags from merges.
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.
fix: Java enum constants links were broken.
- Wrong formatting in the documentation line for `linkAndInlineCodeAsHTML`;
- Sorted all tables alphabetically;
- Added missing documentation values: `useFolders` and `templateKindJavaEnum`.
- Added mapping for missing `templateKindJavaEnum` value, it allows configuring it from JSON and dumping default JSON config.
- Sorted `Config` class alphabetically (with bool values at the end), same for mapping between variables and their names. Makes navigation easier.
When processing links in Java code (`{@link class#method(argType1, argType2, argType3)}`) Doxygen wraps them first in the `<computeroutput>` tag (a Doxygen semantic for `<code>` tag in Markdown) and inside in the `<ref>` tag (used for creating various links).

It leads to putting links inside code, which is not valid, those links will not be parsed, unless `linkAndInlineCodeAsHTML` config option is used (which can be also problematic in some cases).

Added a hack-tweak that when we encounter such case (a `<computeroutput>` tag with a single `<ref>` tag in it), and `linkAndInlineCodeAsHTML` option is not set, we effectively inverting them, by putting links braces over code marks (backtick).
…within_code

feat: Fix Java links being inside code blocks.
@Antonz0 Antonz0 merged commit c227982 into main Apr 28, 2025
10 checks passed
@Antonz0 Antonz0 deleted the feature/release/v1.6.0 branch April 28, 2025 10:16
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