Commit 36adae17 authored by cylon-x's avatar cylon-x 🤖
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
Pipeline #35148 passed with stages
in 2 minutes
......@@ -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'
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment