#=============================================================================== # @file {{filename}} {% if authors %} # {% for author in authors %} # @author {{author}} {% endfor %} {% endif %} {% if date_style == 'creation_modification' and creation_date and last_modification_date %} # # @date creation: {{creation_date.strftime(date_format)}} # @date last modification: {{last_modification_date.strftime(date_format)}} {% elif date_style == 'last_modification' and last_modification_date %} # # @date: {{creation_date.strftime(date_format)}} {% elif date_style == 'creation' and creation_date %} # # @date: {{creation_date.strftime(date_format)}} {% endif %} {%- if brief %} # # @brief {{ brief | wordwrap(78) | replace('\n', '\n# ') }} {% endif %} {% if copyright_txt %} # # # @section LICENSE # # {{ copyright_txt | wordwrap(78) | replace('\n', '\n# ') }} {% endif %} {% if license_header %} # # {{ license_header | wordwrap(78) | replace('\n', '\n# ') }} {% endif %} # {% for section in sections %} {{ section }} {% endfor %} {% if not sections %} #=============================================================================== {% endif %}