diff --git a/README.rst b/README.rst index cf724da7..024c7cb2 100644 --- a/README.rst +++ b/README.rst @@ -36,6 +36,12 @@ As early as possible but at least a month before election starts: * ``edit configuration.yaml`` + .. note:: + + ``to-be-released`` tag value is used during the election process. + After the election is over, the tag value is updated + for ``openstack/governance`` repository. + * Prepare new election, e.g.: * ``tox -evenv -- create-directories`` diff --git a/doc/source/_exts/configuration.jinja b/doc/source/_exts/configuration.jinja index 906fa94b..664e3b9e 100644 --- a/doc/source/_exts/configuration.jinja +++ b/doc/source/_exts/configuration.jinja @@ -1,4 +1,8 @@ .. |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 -.. |TCSeats| replace:: {{ tc_seats }} +{% endif %} +.. |TCSeats| replace:: {{ tc_seats }} \ No newline at end of file