Skip to content

Commit 46af185

Browse files
committed
[FIX] README template section levels
The README generation could retuen an error like this: docutils.utils.SystemMessage: account_avatax/README.rst:349: (SEVERE/4) Title level inconsistent: Authors ~~~~~~~ In fact the Authors section is inside a Credits first level title, ``====`` , and should be a second level title, ``----`` , instead of a third level, ``~~~``.
1 parent c571700 commit 46af185

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

tools/gen_addon_readme.template

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -61,17 +61,17 @@ Credits
6161

6262
{% if authors -%}
6363
Authors
64-
~~~~~~~
64+
-------
6565

6666
{% for author in authors -%}
6767
* {{ author }}
6868
{% endfor %}
6969
{% endif -%}
7070

71-
{{ fragment('CONTRIBUTORS', 'Contributors', sub='~') }}
72-
{{- fragment('CREDITS', 'Other credits', sub='~') -}}
71+
{{ fragment('CONTRIBUTORS', 'Contributors', sub='-') }}
72+
{{- fragment('CREDITS', 'Other credits', sub='-') -}}
7373
Maintainers
74-
~~~~~~~~~~~
74+
-----------
7575
{%- if org_name == 'OCA' %}
7676

7777
This module is maintained by the OCA.

0 commit comments

Comments
 (0)