Skip to content
Snippets Groups Projects
Commit 36adae17 authored by cylon-x's avatar cylon-x :robot:
Browse files

Merge branch 'add-specifics-for-handbook' into 'develop'

omit numbers only for certain parts of the handbook

See merge request !184
parents dbb1a896 8aa24579
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 #35148 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