mirror of
https://github.com/nophead/NopSCADlib.git
synced 2025-08-05 15:07:28 +02:00
Make front page readme.md labels lower case as GitHub seems have stopped working with uppercase.
This commit is contained in:
@@ -201,7 +201,7 @@ def tests(tests):
|
|||||||
body = bodies[type]
|
body = bodies[type]
|
||||||
|
|
||||||
index[type] += [cap_name]
|
index[type] += [cap_name]
|
||||||
body += ['<a name="%s"></a>' % cap_name]
|
body += ['<a name="%s"></a>' % cap_name.lower()]
|
||||||
body += ["## " + cap_name]
|
body += ["## " + cap_name]
|
||||||
|
|
||||||
doc = None
|
doc = None
|
||||||
@@ -301,7 +301,7 @@ def tests(tests):
|
|||||||
for type in types:
|
for type in types:
|
||||||
if i < len(index[type]):
|
if i < len(index[type]):
|
||||||
name = sorted(index[type])[i]
|
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:
|
else:
|
||||||
print('<td></td>', file = doc_file, end = '')
|
print('<td></td>', file = doc_file, end = '')
|
||||||
print('</tr>', file = doc_file)
|
print('</tr>', file = doc_file)
|
||||||
|
Reference in New Issue
Block a user