Skip to content
This repository was archived by the owner on Oct 20, 2022. It is now read-only.

Commit 468b0aa

Browse files
authored
Merge pull request #57 from mbeckem/master
Default templates: Ensure newline after brief when there is no detailed description.
2 parents 09065b6 + 0ebb851 commit 468b0aa

File tree

1 file changed

+4
-12
lines changed

1 file changed

+4
-12
lines changed

src/Doxybook/DefaultTemplates.cpp

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -809,9 +809,7 @@ static const std::string TEMPLATE_KIND_NONCLASS =
809809
810810
{% include "breadcrumbs" -%}
811811
812-
{% if exists("brief") %}{{brief}}{% endif %}{% if hasDetails %} [More...](#detailed-description)
813-
814-
{% endif -%}
812+
{% if exists("brief") %}{{brief}}{% endif %}{% if hasDetails %} [More...](#detailed-description){% endif %}
815813
816814
{% include "nonclass_members_tables" -%}
817815
@@ -828,9 +826,7 @@ static const std::string TEMPLATE_KIND_CLASS =
828826
829827
{% include "breadcrumbs" %}
830828
831-
{% if exists("brief") %}{{brief}}{% endif %}{% if hasDetails %} [More...](#detailed-description)
832-
833-
{% endif -%}
829+
{% if exists("brief") %}{{brief}}{% endif %}{% if hasDetails %} [More...](#detailed-description){% endif %}
834830
835831
{% if exists("includes") %}
836832
`#include {{includes}}`
@@ -870,9 +866,7 @@ static const std::string TEMPLATE_KIND_GROUP =
870866
871867
{% include "breadcrumbs" -%}
872868
873-
{% if exists("brief") %}{{brief}}{% endif %}{% if hasDetails %} [More...](#detailed-description)
874-
875-
{% endif -%}
869+
{% if exists("brief") %}{{brief}}{% endif %}{% if hasDetails %} [More...](#detailed-description){% endif %}
876870
877871
{% include "nonclass_members_tables" -%}
878872
@@ -888,9 +882,7 @@ static const std::string TEMPLATE_KIND_GROUP =
888882
static const std::string TEMPLATE_KIND_FILE =
889883
R"({% include "header" -%}
890884
891-
{% if exists("brief") %}{{brief}}{% endif %}{% if hasDetails %} [More...](#detailed-description)
892-
893-
{% endif -%}
885+
{% if exists("brief") %}{{brief}}{% endif %}{% if hasDetails %} [More...](#detailed-description){% endif %}
894886
895887
{% include "nonclass_members_tables" -%}
896888

0 commit comments

Comments
 (0)