Verified Commit 0b4d5a02 authored by Laurent Heirendt's avatar Laurent Heirendt
Browse files

remove special headers for subsections of handbook

parent a125c9a0
Pipeline #48021 passed with stages
in 2 minutes and 41 seconds
......@@ -138,10 +138,10 @@ for folder in cardDirs:
print(" > Generating header for: " + fileName)
# remove the previous header
#if "handbook" in fileName:
# remove_header(localroot, root, file, 10)
#else:
remove_header(localroot, root, file, 8)
if "handbook-annexes" in fileName or "handbook-additional" in fileName:
remove_header(localroot, root, file, 10)
else:
remove_header(localroot, root, file, 8)
# generate a permalink
permalink = "/" + root + "/"
......
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