[templates] Update links

Since switching to the release_id instead of the release_name we're no
longer generating HTML anchors as expected.

The generated RST:
'
2024.1 TC Candidates
====================
'

Doesn't generate #2024.1-tc-candidates, instead it generates #tc-candidates.
This is because docutils 'ids' cannot start with numerics ([1] is the
implementation).  So we need to change the text/anchors.  It seems like
including release specific names or ids isn't actually helpful.  Let's
drop them.

[1] https://repo.or.cz/docutils.git/blob/refs/heads/master:/docutils/docutils/nodes.py#l2226

Change-Id: I4c48ade272ae3d9bd4a97fba7d30f909aac696f9
This commit is contained in:
Tony Breeds 2024-03-06 12:10:32 +11:00
parent 710115af85
commit 64e7417bcc
7 changed files with 8 additions and 8 deletions

View File

@ -21,6 +21,6 @@ Polling will start {{ election_start }}.
Thank you,
[0] https://governance.openstack.org/election/#{{ release }}-ptl-candidates
[1] https://governance.openstack.org/election/#{{ release }}-tc-candidates
[0] https://governance.openstack.org/election/#ptl-candidates
[1] https://governance.openstack.org/election/#tc-candidates
[2] {{ leaderless_url }}

View File

@ -13,7 +13,7 @@ for those will be posted shortly after we setup the CIVS system.
Thank you,
[0] https://governance.openstack.org/election/#{{ release }}-ptl-candidates
[0] https://governance.openstack.org/election/#ptl-candidates
[1] {{ leaderless_url }}

View File

@ -22,7 +22,7 @@ Additional information about the nomination process can be found here:
https://governance.openstack.org/election/
Shortly after election officials approve candidates, they will be listed here:
https://governance.openstack.org/election/#{{ release }}-ptl-candidates
https://governance.openstack.org/election/#ptl-candidates
The electorate is requested to confirm their email address in gerrit[1],
prior to {{ email_deadline }} so that the emailed ballots are mailed to the correct email

View File

@ -36,7 +36,7 @@ please exercise your right to vote!
Candidate statements/platforms can be found linked to Candidate
names on this page:
https://governance.openstack.org/election/#{{ release }}-ptl-candidates
https://governance.openstack.org/election/#ptl-candidates
Happy voting,

View File

@ -11,4 +11,4 @@ Polling will start {{ election_start }}.
Thank you,
[0] https://governance.openstack.org/election/#{{ release }}-tc-candidates
[0] https://governance.openstack.org/election/#tc-candidates

View File

@ -52,4 +52,4 @@ Thank you,
at the email listed as your preferred email. That is where the ballot has
been sent.
[5] https://governance.openstack.org/election/#election-officials
[6] https://governance.openstack.org/election/#{{ release }}-tc-candidates
[6] https://governance.openstack.org/election/#tc-candidates

View File

@ -12,7 +12,7 @@ vote. If you have voted, please encourage your colleagues to vote.
Candidate statements are linked to the names of all confirmed
candidates:
https://governance.openstack.org/election/#{{ release }}-tc-candidates
https://governance.openstack.org/election/#tc-candidates
What to do if you don't see the email and have a commit in at least
one of the official project teams' deliverable repositories[1]: