Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
grid5000
reference-repository
Commits
81365eee
Commit
81365eee
authored
May 19, 2018
by
Lucas Nussbaum
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[dev/wiki] add links to sites on global Hardware page as well
parent
6cc09130
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
generators/wiki/lib/generators/hardware.rb
generators/wiki/lib/generators/hardware.rb
+1
-0
No files found.
generators/wiki/lib/generators/hardware.rb
View file @
81365eee
...
...
@@ -14,6 +14,7 @@ class G5KHardwareGenerator < WikiGenerator
@site_uids
=
G5K
::
SITES
@generated_content
=
"__NOEDITSECTION__
\n
"
@generated_content
+=
"<div class=
\"
sitelink
\"
>[[Hardware|Global]] | "
+
G5K
::
SITES
.
map
{
|
e
|
"[[
#{
e
.
capitalize
}
:Hardware|
#{
e
.
capitalize
}
]]"
}.
join
(
" | "
)
+
"</div>
\n
"
@generated_content
+=
"
\n
= Clusters =
\n
"
@generated_content
+=
SiteHardwareGenerator
.
generate_all_clusters
@generated_content
+=
generate_totals
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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