Skip to content
Snippets Groups Projects
Commit e2aabfd3 authored by David Dorchies's avatar David Dorchies :zany_face:
Browse files

fix(docs): missing part in latex

Due to malfunction of internal link removal

Refs #656
parent fd315ca1
No related branches found
No related tags found
2 merge requests!252release: version 4.18.0,!251Resolve "Documentation PDF: erreurs à la compilation"
......@@ -226,7 +226,7 @@ def buildDocForLang(lang):
mergedDocFilename = mergedDocFilenamePrefix + lang
mergedDocOutputPath = os.path.join(pdfBuildDir, mergedDocFilename)
# remove internal links @TODO convert them to hyperref ?
s = re.sub(r'\[([^/]+)\]\([^ ]+\.md\)', r'\1', s)
s = re.sub(r'\[([^/\^]+?)\]?\([^ ]+?\.md\)', r'\1', s)
with open('{}.md'.format(mergedDocOutputPath), 'w') as f:
f.writelines(s)
......
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