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

Commit

Permalink
Merge pull request #57 from mbeckem/master
Browse files Browse the repository at this point in the history
Default templates: Ensure newline after brief when there is no detailed description.
  • Loading branch information
matusnovak authored Jul 26, 2021
2 parents 09065b6 + 0ebb851 commit 468b0aa
Showing 1 changed file with 4 additions and 12 deletions.
16 changes: 4 additions & 12 deletions src/Doxybook/DefaultTemplates.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -809,9 +809,7 @@ static const std::string TEMPLATE_KIND_NONCLASS =
{% include "breadcrumbs" -%}
{% if exists("brief") %}{{brief}}{% endif %}{% if hasDetails %} [More...](#detailed-description)
{% endif -%}
{% if exists("brief") %}{{brief}}{% endif %}{% if hasDetails %} [More...](#detailed-description){% endif %}
{% include "nonclass_members_tables" -%}
Expand All @@ -828,9 +826,7 @@ static const std::string TEMPLATE_KIND_CLASS =
{% include "breadcrumbs" %}
{% if exists("brief") %}{{brief}}{% endif %}{% if hasDetails %} [More...](#detailed-description)
{% endif -%}
{% if exists("brief") %}{{brief}}{% endif %}{% if hasDetails %} [More...](#detailed-description){% endif %}
{% if exists("includes") %}
`#include {{includes}}`
Expand Down Expand Up @@ -870,9 +866,7 @@ static const std::string TEMPLATE_KIND_GROUP =
{% include "breadcrumbs" -%}
{% if exists("brief") %}{{brief}}{% endif %}{% if hasDetails %} [More...](#detailed-description)
{% endif -%}
{% if exists("brief") %}{{brief}}{% endif %}{% if hasDetails %} [More...](#detailed-description){% endif %}
{% include "nonclass_members_tables" -%}
Expand All @@ -888,9 +882,7 @@ static const std::string TEMPLATE_KIND_GROUP =
static const std::string TEMPLATE_KIND_FILE =
R"({% include "header" -%}
{% if exists("brief") %}{{brief}}{% endif %}{% if hasDetails %} [More...](#detailed-description)
{% endif -%}
{% if exists("brief") %}{{brief}}{% endif %}{% if hasDetails %} [More...](#detailed-description){% endif %}
{% include "nonclass_members_tables" -%}
Expand Down

0 comments on commit 468b0aa

Please sign in to comment.