Skip to content

Commit

Permalink
Awards on the competition pages are now displayed as Field list
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristianH99 committed Jul 26, 2024
1 parent f00f7b3 commit 5506878
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/source/_ext/populate_team_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ def run(self):
if award.get('name'):
team_label = award['team'].replace(' ', '_')

content.append(f"**{award['name']}:** :ref:`teams_{id}_{team_label}`")
content.append(f":{award['name']}: :ref:`teams_{id}_{team_label}`")
content.append( "\n")

# Parse the generated content as reStructuredText
Expand Down Expand Up @@ -229,7 +229,7 @@ def run(self):
if award.get('name'):
team_label = award['superteam'].replace(' ', '_')

content.append(f"**{award['name']}:** :ref:`superteams_{id}_{team_label}`")
content.append(f":{award['name']}: :ref:`superteams_{id}_{team_label}`")
content.append( "\n")
else:
print("NO AWARD\n")
Expand Down

0 comments on commit 5506878

Please sign in to comment.