1
0
mirror of https://github.com/nophead/NopSCADlib.git synced 2025-07-31 12:40:10 +02:00

Make front page readme.md labels lower case as GitHub seems have stopped working with uppercase.

This commit is contained in:
Chris
2023-07-22 19:08:53 +01:00
parent acf45d2aae
commit 3c370359c8
2 changed files with 167 additions and 167 deletions

View File

@@ -201,7 +201,7 @@ def tests(tests):
body = bodies[type]
index[type] += [cap_name]
body += ['<a name="%s"></a>' % cap_name]
body += ['<a name="%s"></a>' % cap_name.lower()]
body += ["## " + cap_name]
doc = None
@@ -301,7 +301,7 @@ def tests(tests):
for type in types:
if i < len(index[type]):
name = sorted(index[type])[i]
print('<td> <a href = "#' + name + '">' + name + '</a> </td>', file = doc_file, end = '')
print('<td> <a href = "#' + name.lower() + '">' + name + '</a> </td>', file = doc_file, end = '')
else:
print('<td></td>', file = doc_file, end = '')
print('</tr>', file = doc_file)