Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
howto-cards LEGACY VERSION
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
R3
howto-cards LEGACY VERSION
Commits
70e1b5fa
Verified
Commit
70e1b5fa
authored
4 years ago
by
Laurent Heirendt
Browse files
Options
Downloads
Patches
Plain Diff
include link to come back to main landing page
parent
d31b0c51
No related branches found
Branches containing commit
No related tags found
Tags containing commit
2 merge requests
!204
[release] Regular merge of develop
,
!198
Change index page
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.ci/generateIndex.py
+4
-1
4 additions, 1 deletion
.ci/generateIndex.py
with
4 additions
and
1 deletion
.ci/generateIndex.py
+
4
−
1
View file @
70e1b5fa
...
...
@@ -32,7 +32,7 @@ def build_section_start(title, shortcut):
title
=
title
.
replace
(
"
Handbook 3 annexes
"
,
"
Handbook - Annexes
"
)
title
=
title
.
replace
(
"
Covid 19
"
,
"
COVID-19
"
)
return
f
'
\n\t
<div class=
"
index-box
"
id=
"
{
shortcut
}
"
>
\n\t\t
<h3>
{
title
}
</h3>
\n\t\t
<ul>
\n
'
return
f
'
\n\t
<div class=
"
index-box
noborderbox
"
id=
"
{
shortcut
}
"
>
\n\t\t
<h3>
{
title
}
</h3>
\n\t\t
<ul>
\n
'
def
build_section_end
():
return
"
\t\t
</ul>
\n\t
</div>
"
...
...
@@ -199,6 +199,9 @@ for s in sections:
# Close the container
index
+=
"
\n
</div>
"
## add link to return to main index
index
+=
"
<br><center><a href=
'
/
'
>Overview of all HowTo cards</a></center>
"
# output the index
#print(index)
# Read in the file
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment