Skip to content
Snippets Groups Projects
Verified Commit 8aa24579 authored by Laurent Heirendt's avatar Laurent Heirendt :airplane:
Browse files

omit numbers only for certain parts of the handbook

parent 85d5cb83
No related branches found
No related tags found
2 merge requests!185[release] Regular merge of develop,!184omit numbers only for certain parts of the handbook
Pipeline #35088 passed
......@@ -11,7 +11,8 @@ def line_prepender(filename, line):
def build_link(title, href):
# strip the number of the title
title = re.sub('[0-9.]', '', title).strip()
if ('handbook:1-general' in href) or ('handbook:2-additional' in href):
title = re.sub('[0-9.]', '', title).strip()
return f'\t\t\t<li><a href="{href}">{title}</a></li>\n'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment