Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
R3
howto-cards
Commits
0b4d5a02
Verified
Commit
0b4d5a02
authored
Oct 07, 2021
by
Laurent Heirendt
✈
Browse files
remove special headers for subsections of handbook
parent
a125c9a0
Pipeline
#48021
passed with stages
in 2 minutes and 41 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
.ci/generateIndex.py
View file @
0b4d5a02
...
...
@@ -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
+
"/"
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment