Skip to content
Snippets Groups Projects
Commit 13f1e065 authored by Laurent Heirendt's avatar Laurent Heirendt :airplane:
Browse files

Merge branch 'develop' into 'master'

[release] Regular merge of develop

See merge request !209
parents 51eb1df5 1733f398
No related branches found
No related tags found
4 merge requests!245Integrate data upload cloud,!235Integrate data upload cloud,!224Fixing a couple of issues in the redesign,!209[release] Regular merge of develop
Pipeline #35443 passed
......@@ -11,13 +11,11 @@ def line_prepender(filename, line):
def build_link(title, href):
# strip the number of the title
if ('handbook-1-general' in href) or ('handbook-2-additional' in href) or ('handbook-3-annexes' in href):
if ('handbook' in href) or ('handbook-additional' in href) or ('handbook-annexes' in href):
title = re.sub('[0-9.]', '', title).strip()
# remove sym link reference in href
if ('handbook-1-general' in href):
href = href.replace('handbook-1-general', 'handbook').strip()
elif ('handbook-2-additional' in href):
if ('handbook-2-additional' in href):
href = href.replace('handbook-2-additional', 'handbook').strip()
elif ('handbook-3-annexes' in href):
href = href.replace('handbook-3-annexes', 'handbook').strip()
......
......@@ -39,6 +39,6 @@ env/.jekyll-cache/
env/Gemfile.lock
env/_site/
handbook/
internal/handbook-1-general
internal/handbook-2-additional
internal/handbook-3-annexes
internal/handbook
internal/handbook-additional
internal/handbook-annexes
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