From: Vladimír Vondruš Date: Thu, 13 Sep 2018 10:18:16 +0000 (+0200) Subject: doxygen: display the deprecation label next to the name, not after brief. X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~cjwatson/git?a=commitdiff_plain;h=83ad8df83e846d438c2fd437948a06ac0a9177d0;p=blog.git doxygen: display the deprecation label next to the name, not after brief. --- diff --git a/doxygen/templates/annotated.html b/doxygen/templates/annotated.html index f2b83fe5..c1e156ec 100644 --- a/doxygen/templates/annotated.html +++ b/doxygen/templates/annotated.html @@ -7,15 +7,13 @@ {% for i in index.symbols recursive %} {% if i.children %}
  • - {{ i.kind }} {{ i.name }} {{ i.brief }}{% if i.is_deprecated %} deprecated{% endif %} - - {# the above is here to preserve the newline #} + {{ i.kind }} {{ i.name }}{% if i.is_deprecated %} deprecated{% endif %} {{ i.brief }}
  • {% else %} -
  • {{ i.kind }} {{ i.name }} {{ i.brief }}{% if i.is_deprecated %} deprecated{% endif %}
  • +
  • {{ i.kind }} {{ i.name }}{% if i.is_deprecated %} deprecated{% endif %} {{ i.brief }}
  • {% endif %} {% endfor %} diff --git a/doxygen/templates/files.html b/doxygen/templates/files.html index 602cc8c6..09efe44a 100644 --- a/doxygen/templates/files.html +++ b/doxygen/templates/files.html @@ -7,15 +7,13 @@ {% for i in index.files recursive %} {% if i.children %}
  • - {{ i.kind }} {{ i.name }} {{ i.brief }}{% if i.is_deprecated %} deprecated{% endif %} - - {# the above is here to preserve the newline #} + {{ i.kind }} {{ i.name }}{% if i.is_deprecated %} deprecated{% endif %} {{ i.brief }}
  • {% else %} -
  • {{ i.kind }} {{ i.name }} {{ i.brief }}{% if i.is_deprecated %} deprecated{% endif %}
  • +
  • {{ i.kind }} {{ i.name }}{% if i.is_deprecated %} deprecated{% endif %} {{ i.brief }}
  • {% endif %} {% endfor %} diff --git a/doxygen/templates/modules.html b/doxygen/templates/modules.html index c43d0a56..68ab0266 100644 --- a/doxygen/templates/modules.html +++ b/doxygen/templates/modules.html @@ -7,15 +7,13 @@ {% for i in index.modules recursive %} {% if i.has_nestable_children %}
  • - module {{ i.name }} {{ i.brief }}{% if i.is_deprecated %} deprecated{% endif %} - - {# the above is here to preserve the newline #} + module {{ i.name }}{% if i.is_deprecated %} deprecated{% endif %} {{ i.brief }}
  • {% else %} -
  • module {{ i.name }} {{ i.brief }}{% if i.is_deprecated %} deprecated{% endif %}
  • +
  • module {{ i.name }}{% if i.is_deprecated %} deprecated{% endif %} {{ i.brief }}
  • {% endif %} {% endfor %} diff --git a/doxygen/templates/namespaces.html b/doxygen/templates/namespaces.html index 70b2bc8f..63794bc1 100644 --- a/doxygen/templates/namespaces.html +++ b/doxygen/templates/namespaces.html @@ -7,15 +7,13 @@ {% for i in index.symbols|selectattr('kind', 'equalto', 'namespace') recursive %} {% if i.has_nestable_children %}
  • - {{ i.kind }} {{ i.name }} {{ i.brief }}{% if i.is_deprecated %} deprecated{% endif %} - - {# the above is here to preserve the newline #} + {{ i.kind }} {{ i.name }}{% if i.is_deprecated %} deprecated{% endif %} {{ i.brief }}
  • {% else %} -
  • {{ i.kind }} {{ i.name }} {{ i.brief }}{% if i.is_deprecated %} deprecated{% endif %}
  • +
  • {{ i.kind }} {{ i.name }}{% if i.is_deprecated %} deprecated{% endif %} {{ i.brief }}
  • {% endif %} {% endfor %} diff --git a/doxygen/test/compound_deprecated/annotated.html b/doxygen/test/compound_deprecated/annotated.html index d4a13d7f..6a7fba39 100644 --- a/doxygen/test/compound_deprecated/annotated.html +++ b/doxygen/test/compound_deprecated/annotated.html @@ -22,12 +22,12 @@

    Classes

    diff --git a/doxygen/test/compound_deprecated/files.html b/doxygen/test/compound_deprecated/files.html index 4bbbc429..70f8fac8 100644 --- a/doxygen/test/compound_deprecated/files.html +++ b/doxygen/test/compound_deprecated/files.html @@ -25,12 +25,12 @@ dir Dir A directory. @@ -54,4 +54,4 @@ - \ No newline at end of file + diff --git a/doxygen/test/compound_deprecated/modules.html b/doxygen/test/compound_deprecated/modules.html index 261cffc6..215598b2 100644 --- a/doxygen/test/compound_deprecated/modules.html +++ b/doxygen/test/compound_deprecated/modules.html @@ -24,7 +24,7 @@
  • module A group
  • @@ -48,4 +48,4 @@ - \ No newline at end of file + diff --git a/doxygen/test/compound_deprecated/namespaces.html b/doxygen/test/compound_deprecated/namespaces.html index 891726dd..6ed2b5fb 100644 --- a/doxygen/test/compound_deprecated/namespaces.html +++ b/doxygen/test/compound_deprecated/namespaces.html @@ -21,7 +21,7 @@

    Namespaces