Skip to content

Commit

Permalink
Merge pull request #140 from alxbilger/navcase
Browse files Browse the repository at this point in the history
Navcase
  • Loading branch information
hugtalbot committed Jul 29, 2024
2 parents 40644b6 + 65544b9 commit 9457c84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion script/generate_nav.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def to_lowercase(input_string):
def clean_title(s):
if s.endswith('.md'):
s = remove_extension(s)
s = clean_filename(s)
s = re.sub(r'^\d+_', '', s)
s = s.replace("_", " ")
return s

Expand Down

0 comments on commit 9457c84

Please sign in to comment.