Skip to content

Commit

Permalink
fixup homepage generation
Browse files Browse the repository at this point in the history
  • Loading branch information
chris-durand committed Aug 29, 2022
1 parent 1bc1e22 commit 0572fc7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/scripts/generate_module_docs.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ def replace(text, key, content):
return re.sub(r"# {0}.*?# /{0}".format(key), "# {0}\n{1}\n# /{0}".format(key, content), text, flags=re.DOTALL | re.MULTILINE)

def url_name(name):
for c in ":., ({": name = name.replace(c, "-");
for c in ":.,/ ({": name = name.replace(c, "-");
for c in "})": name = name.replace(c, "");
return name

Expand Down

0 comments on commit 0572fc7

Please sign in to comment.