Revert file name changes (for Windows support)
Signed-off-by: Richie Bendall <richiebendall@gmail.com>
This commit is contained in:
@@ -10,7 +10,7 @@ Make sure to see [contributing.md](/contributing.md) for instructions on contrib
|
|||||||
<!--Languages start-->
|
<!--Languages start-->
|
||||||
## Languages (761 total)
|
## Languages (761 total)
|
||||||
|
|
||||||
* [!@#$%^&∗()_+](%23/%21%40%23%24%25%5E%26%E2%88%97%28%29_%2B)
|
* [!@#$%^&*()_+](%23/%21%40%23%24%25%5E%26%E2%88%97%28%29_%2B)
|
||||||
* [05AB1E](%23/05AB1E)
|
* [05AB1E](%23/05AB1E)
|
||||||
* [0815](%23/0815.0815)
|
* [0815](%23/0815.0815)
|
||||||
* [1C Enterprise](%23/1C%20Enterprise)
|
* [1C Enterprise](%23/1C%20Enterprise)
|
||||||
@@ -198,7 +198,7 @@ Make sure to see [contributing.md](/contributing.md) for instructions on contrib
|
|||||||
* [Brainloller](b/Brainloller.png)
|
* [Brainloller](b/Brainloller.png)
|
||||||
* [Broccoli](b/Broccoli.brocc)
|
* [Broccoli](b/Broccoli.brocc)
|
||||||
* [BRZRK](b/BRZRK.brzrk)
|
* [BRZRK](b/BRZRK.brzrk)
|
||||||
* [BuddyScript](BuddyScript)
|
* [BuddyScript](b/BuddyScript)
|
||||||
* [Burlesque](b/Burlesque.burlesque)
|
* [Burlesque](b/Burlesque.burlesque)
|
||||||
* [Byter](b/Byter.byter)
|
* [Byter](b/Byter.byter)
|
||||||
* [C++](c/C%2B%2B.cpp)
|
* [C++](c/C%2B%2B.cpp)
|
||||||
@@ -250,7 +250,7 @@ Make sure to see [contributing.md](/contributing.md) for instructions on contrib
|
|||||||
* [Cuneiform](c/Cuneiform.cfl)
|
* [Cuneiform](c/Cuneiform.cfl)
|
||||||
* [Curry](c/Curry.curry)
|
* [Curry](c/Curry.curry)
|
||||||
* [CypherNeo4j](c/CypherNeo4j.cypher)
|
* [CypherNeo4j](c/CypherNeo4j.cypher)
|
||||||
* [C∗](c/C%E2%88%97)
|
* [C*](c/C%E2%88%97)
|
||||||
* [D](d/D.d)
|
* [D](d/D.d)
|
||||||
* [dark](d/dark.txt)
|
* [dark](d/dark.txt)
|
||||||
* [Dart](d/Dart.dart)
|
* [Dart](d/Dart.dart)
|
||||||
|
|||||||
@@ -18,7 +18,17 @@ for directory in sorted(os.listdir('.')):
|
|||||||
if not (directory == '.' or directory == '..' or directory[0] == '.' or os.path.isfile(directory)):
|
if not (directory == '.' or directory == '..' or directory[0] == '.' or os.path.isfile(directory)):
|
||||||
for filename in sorted(os.listdir(directory), key=lambda s: s.lower()):
|
for filename in sorted(os.listdir(directory), key=lambda s: s.lower()):
|
||||||
if os.path.isfile(os.path.join(directory, filename)):
|
if os.path.isfile(os.path.join(directory, filename)):
|
||||||
language = os.path.splitext(filename)[0]
|
language = (os.path.splitext(filename)[0]
|
||||||
|
.replace("-", "-")
|
||||||
|
.replace("∕", "/")
|
||||||
|
.replace("\", "\\")
|
||||||
|
.replace("˸", ":")
|
||||||
|
.replace("∗", "*")
|
||||||
|
.replace("?", "?")
|
||||||
|
.replace(""", "\"")
|
||||||
|
.replace("﹤", "<")
|
||||||
|
.replace("﹥", ">")
|
||||||
|
.replace("❘", "|"))
|
||||||
languagesText += f'* [{language}]({posixpath.join(quote(directory), quote(filename))})\n'
|
languagesText += f'* [{language}]({posixpath.join(quote(directory), quote(filename))})\n'
|
||||||
languageCount += 1
|
languageCount += 1
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user