Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
tianlh
LightGBM-DCU
Commits
28c3c45d
Unverified
Commit
28c3c45d
authored
Jun 04, 2021
by
Nikita Titov
Committed by
GitHub
Jun 04, 2021
Browse files
[docs] make building of C++ tests section collapsable (#4340)
parent
c45a82f0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
docs/_static/js/script.js
docs/_static/js/script.js
+1
-1
No files found.
docs/_static/js/script.js
View file @
28c3c45d
...
...
@@ -6,7 +6,7 @@ $(function() {
if
(
window
.
location
.
pathname
.
toLocaleLowerCase
().
indexOf
(
'
installation-guide
'
)
!=
-
1
)
{
$
(
'
<style>.closed, .opened {cursor: pointer;} .closed:before, .opened:before {font-family: FontAwesome; display: inline-block; padding-right: 6px;} .closed:before {content: "
\\
f078";} .opened:before {content: "
\\
f077";}</style>
'
).
appendTo
(
'
body
'
);
var
collapsable
=
[
'
#build-threadless-version-not-recommended
'
,
'
#build-mpi-version
'
,
'
#build-gpu-version
'
,
'
#build-cuda-version-experimental
'
,
'
#build-hdfs-version
'
,
'
#build-java-wrapper
'
];
'
#build-cuda-version-experimental
'
,
'
#build-hdfs-version
'
,
'
#build-java-wrapper
'
,
'
#build-c-unit-tests
'
];
$
.
each
(
collapsable
,
function
(
i
,
val
)
{
var
header
=
val
+
'
> :header:first
'
;
var
content
=
val
+
'
:not(:header:first)
'
;
...
...
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