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

Merge branch 'fix-script-qms' into 'develop'

fix script for preparing qms docs

See merge request !398
parents 4d03a516 ee568883
No related branches found
Tags v2.1.0
2 merge requests!403[release] Regular merge of develop,!398fix script for preparing qms docs
Pipeline #61789 passed with warnings
......@@ -249,7 +249,7 @@ def prepare_qms(localroot, root, filename):
filedata += line
# shift the subtitles by 1 level down
filedata = filedata.replace("#", "##")
filedata = filedata.replace("# ", "## ")
# replace latex command for titles
filedata = filedata.replace("{-}", "##")
......@@ -259,7 +259,7 @@ def prepare_qms(localroot, root, filename):
filedata = filedata.replace("sops/"+filename[:-3]+"/", "")
# replace img attributes
filedata = filename.replace("{ width=50% }", "")
filedata = filedata.replace("{ width=50% }", "")
# Write the file out again
with open(filename, 'w') as file:
......
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