Since commit bd99649d9d the groups of an
enum documentation entry are used to associate the documentation entry
with a definition. However, this broke the case were a matching
definition is not yet associated with a group. Reorder the searches to
fix this issue.
Fix#10151.
Doxygen requires CMake version 3.14
Removing parts that tested against CMake version 3.11 (the `testing/CMakeLists.txt` was actually introduced in CMake version 3.12, so test was not 100% either)
Due to the `split('\n')` we lost the return ant thus got a hard to read error message i.e.:
```
No declaration for attribute data-start of element divNo declaration for attribute data-end of element divNo declaration for attribute data-start of element divNo declaration for attribute data-end of element divNo declaration for attribute data-start of element divNo declaration for attribute data-end of element divNo declaration for attribute data-start of element divNo declaration for attribute data-end of element divDocument test_output_013/html/013__class_8h_source.xhtml does not validate
```
instead of
```
No declaration for attribute data-start of element div
No declaration for attribute data-end of element div
No declaration for attribute data-start of element div
No declaration for attribute data-end of element div
No declaration for attribute data-start of element div
No declaration for attribute data-end of element div
No declaration for attribute data-start of element div
No declaration for attribute data-end of element div
Document test_output_013/html/013__class_8h_source.xhtml does not validate
```
Remove the font warning in LaTeX:
```
LaTeX Font Warning: Font shape `C70/min/m/n' undefined
LaTeX Font Warning: Some font shapes were not available, defaults substituted.
```
Solution based on: https://tex.stackexchange.com/a/398856/44119
The removal has to be global, so we need an `LATEX_EXTRA_STYLESHEET`
This test case shows that the documentation entry for a variable is
added to the first variable found with the same name even if they do not
belong to the same group.
This test case produces the following warnings:
100_a.c:79: warning: Member documentation for i found several times in @ingroup groups!
This test case shows that the documentation entry for a typedef is added
to the first typedef found with the same name even if they do not belong
to the same group.
This test case produces the following warnings:
100_a.c:72: warning: Member documentation for T found several times in @ingroup groups!
This test case shows that the documentation entry for an enum field is
added to the first enum found with the same name even if they do not
belong to the same group.
This test case produces the following warnings:
100_a.c:21: warning: Member documentation for A found several times in @ingroup groups!
more_100_c.c:74: The member will remain in group A, and won't be put into group B
100_a.c:21: warning: Member documentation for B found several times in @ingroup groups!
more_100_c.c:82: The member will remain in group A, and won't be put into group B
This test case shows that the documentation entry for a static function
is not added a static function of the same name in another file even if
they belong to the same group.
This test case shows that the define documentation in a separate file is
not added to defines of the same name in another file even if they
belong to the same group.
This test case produces warnings:
more_100_c.c:38: warning: Documentation for undefined enum 'E' found.
more_100_c.c:48: warning: Documentation for undefined enum 'E' found.
This test case produces the following warnings:
101_static_assert.c:17: warning: Member _Static_assert(2==2) (function) of file 101_static_assert.c is not documented.
101_static_assert.c:18: warning: Member _Static_assert(3==3, "m3") (function) of file 101_static_assert.c is not documented.
During the translation of filenames etc. to e.g. the `@page` command a number of characters are mapped to the same id by means of an underscore resulting in warnings like:
```
additional_doc/MyMarkdownFile.md:1: warning: multiple use of page label 'md_additional_doc_MyMarkdownFile' with different titles, (other occurrence: .../additional+doc/MyMarkdownFile.md, line: 1)
```
(here it is for the directory names `additional_doc` and `additional*doc`, by using a more sophisticated translation this can be prevented
When we gave a `<details>` tag without a `<summary>` tag, we see that
- the triangle in front does not match the triangle which is used when doxygen styles the summary
- the default text is in the language that is used by the browser, not by doxygen
In case doxygen sees that there is no `<summary>` tag present doxygen will add the summary tag and use the text according to the doxygen `OUTPUT_LANGUAGE`.
The texts have been taken from the Firefox language packs at https://releases.mozilla.org/pub/firefox/releases/106.0/win64/xpi/, in case there is no text available the text is created with the aid of Google translate.