Files
election/doc/source/_exts/configuration.jinja
Ian Y. Choi 8b656f6102 Tag value handling for governance repo with note
- Do not use "to-be-released" value used for election
  rendering page to refer to projects.yaml file on governance
  repo. Instead, render the link on the master branch.
- Document the purpose of the tag value on README

Change-Id: I8d6c72ccd0abf11131a98619f73de7b800935004
2025-02-22 15:25:28 +09:00

8 lines
513 B
Django/Jinja

.. |Timeframe| replace:: {{ timeframe['name'] }} timeframe ({{ timeframe['start_str'] }} to {{ timeframe['end_str'] }})
.. |PreferredEmailDeadLine| replace:: {{ timeframe['email_deadline_str'] }}
{% if tag == 'to-be-released' %}
.. |Projects.yaml| replace:: https://opendev.org/openstack/governance/src/branch/master/reference/projects.yaml
{% else %}
.. |Projects.yaml| replace:: https://opendev.org/openstack/governance/src/tag/{{ tag }}/reference/projects.yaml
{% endif %}
.. |TCSeats| replace:: {{ tc_seats }}