From a260b7e9f0562f006f86a4dc3546aad83fc66cae Mon Sep 17 00:00:00 2001 From: Ivan Smolin Date: Fri, 18 Aug 2017 14:54:45 +0300 Subject: [PATCH] add comments section to class, enum and method --- Web-documentation/methods.html.twig | 7 ++++++- Web-documentation/structure_enumeration.html.twig | 5 +++++ Web-documentation/structure_objects.html.twig | 5 +++++ 3 files changed, 16 insertions(+), 1 deletion(-) diff --git a/Web-documentation/methods.html.twig b/Web-documentation/methods.html.twig index 4b601f4..886f116 100644 --- a/Web-documentation/methods.html.twig +++ b/Web-documentation/methods.html.twig @@ -118,8 +118,13 @@ -

Комментарий

+

Описание

{{ description }}

+ + {% if comment is not null -%} +

Комментарий

+

{{ comment }}

+ {%- endif %} diff --git a/Web-documentation/structure_enumeration.html.twig b/Web-documentation/structure_enumeration.html.twig index 57daca3..5ca174e 100644 --- a/Web-documentation/structure_enumeration.html.twig +++ b/Web-documentation/structure_enumeration.html.twig @@ -31,6 +31,11 @@

Описание

{{ description }}

+ {% if comment is not null -%} +

Комментарий

+

{{ comment }}

+ {%- endif %} +

Возможные значения

diff --git a/Web-documentation/structure_objects.html.twig b/Web-documentation/structure_objects.html.twig index b20911d..684c996 100644 --- a/Web-documentation/structure_objects.html.twig +++ b/Web-documentation/structure_objects.html.twig @@ -34,6 +34,11 @@

Описание

{{ description }}

+ {% if comment is not null -%} +

Комментарий

+

{{ comment }}

+ {%- endif %} +

Структура данных