Skip to content

Commit

Permalink
[docs] make building of C++ tests section collapsable (#4340)
Browse files Browse the repository at this point in the history
  • Loading branch information
StrikerRUS authored Jun 4, 2021
1 parent c45a82f commit 28c3c45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/_static/js/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)';
Expand Down

0 comments on commit 28c3c45

Please sign in to comment.