Skip to content

Commit 7dfbadc

Browse files
authored
Update update_index_md.py
1 parent cc52b72 commit 7dfbadc

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/scripts/update_index_md.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,8 @@ def main():
8989
if ' ' in demo_path:
9090
demo_path = '%20'.join(demo_path.split())
9191
demo_path_output = f'[/{REPO_NAME}/{title}/]({demo_path} "view the result of {title}")'
92+
if title == 'root' or title == '{init}':
93+
demo_path_output = f'[/{REPO_NAME}/]({demo_path} "view the result of {title}")'
9294

9395
# Appending all data together
9496
updated_lines.append(f'| {title} | {contributors_names_output} | {pull_requests_output} | {demo_path_output} |\n')
@@ -105,4 +107,4 @@ def main():
105107

106108

107109
if __name__ == '__main__':
108-
main()
110+
main()

0 commit comments

Comments
 (0)