Generate title lines based on length
With warnings treated as errors in the docs build, when the cycle name size varies it results in an error with the RST title line length not matching the text length. Change-Id: Ic5da3fd11c98c1da869fe9cd9d7d285a36222236 Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
This commit is contained in:
parent
8259c8fc59
commit
ebc5590769
@ -1,12 +1,12 @@
|
||||
{{ election.capitalize() }} TC Candidates
|
||||
======================
|
||||
{{ '=' * (election|length) }}==============
|
||||
|
||||
{% for candidate in candidates['TC'] %}
|
||||
* `{{ candidate['fullname'] }} {% if candidate['ircname'] is not none %}({{ candidate['ircname'] }}){% endif %} <{{ candidate['url'] }}>`__
|
||||
{% endfor %}
|
||||
|
||||
{{ election.capitalize() }} PTL Candidates
|
||||
======================
|
||||
{{ '=' * (election|length) }}===============
|
||||
{% for project in projects|sort %}{% if project != 'TC' %}
|
||||
* {{ project.replace('_', ' ') }}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user