You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
documentation/doxygen: added support for C++20 concepts
also:
- fixed `static` and `constexpr` leaking into variables (basically the same problem as #228)
- fixed a few tests that were broken with Doxygen 1.9.0+
- added support for C++20's `constinit`
Copy file name to clipboardExpand all lines: documentation/templates/doxygen/annotated.html
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -5,14 +5,14 @@
5
5
<h1>Classes</h1>
6
6
<ulclass="m-doc">
7
7
{% for i in index.symbols recursive %}
8
-
{% if i.children %}
8
+
{% if i.children and i.has_class_descendents %}
9
9
<liclass="m-doc-collapsible{% if loop.depth > CLASS_INDEX_EXPAND_LEVELS or (i.kind != 'namespace' and not CLASS_INDEX_EXPAND_INNER) %} collapsed{% endif %}">
Copy file name to clipboardExpand all lines: documentation/templates/doxygen/base-reference.html
+18-2Lines changed: 18 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -7,6 +7,7 @@
7
7
{% macro entry_file(file) %}{% include 'entry-file.html' %}{% endmacro %}
8
8
{% macro entry_namespace(namespace) %}{% include 'entry-namespace.html' %}{% endmacro %}
9
9
{% macro entry_class(class) %}{% include 'entry-class.html' %}{% endmacro %}
10
+
{% macro entry_concept(concept) %}{% include 'entry-concept.html' %}{% endmacro %}
10
11
{% macro entry_enum(enum) %}{% include 'entry-enum.html' %}{% endmacro %}
11
12
{% macro entry_typedef(typedef) %}{% include 'entry-typedef.html' %}{% endmacro %}
12
13
{% macro entry_func(func) %}{% include 'entry-func.html' %}{% endmacro %}
@@ -25,7 +26,7 @@
25
26
{% if compound.brief %}
26
27
<p>{{ compound.brief }}</p>
27
28
{% endif %}
28
-
{% if compound.sections or compound.modules or compound.dirs or compound.files or compound.namespaces or compound.classes or compound.typedefs or compound.funcs or compound.vars or compound.defines or compound.groups %}
29
+
{% if compound.sections or compound.modules or compound.dirs or compound.files or compound.namespaces or compound.classes or compound.concepts or compound.typedefs or compound.funcs or compound.vars or compound.defines or compound.groups %}
29
30
<navclass="m-block m-default">
30
31
<h3>Contents</h3>
31
32
<ul>
@@ -41,7 +42,7 @@ <h3>Contents</h3>
41
42
<li><ahref="#{{ id }}">{{ name }}</a></li>
42
43
{% endif %}
43
44
{% endfor %}
44
-
{% if compound.modules or compound.dirs or compound.files or compound.namespaces or compound.classes or compound.typedefs or compound.funcs or compound.vars or compound.defines or compound.groups %}
45
+
{% if compound.modules or compound.dirs or compound.files or compound.namespaces or compound.classes or compound.concepts or compound.typedefs or compound.funcs or compound.vars or compound.defines or compound.groups %}
<liclass="m-doc-collapsible{% if loop.depth > CLASS_INDEX_EXPAND_LEVELS or (i.kind != 'namespace' and not CLASS_INDEX_EXPAND_INNER) %} collapsed{% endif %}">
0 commit comments