"...git@developer.sourcefind.cn:tianlh/lightgbm-dcu.git" did not exist on "e906a82c4386e4363720971f6cff4fbc86b33f93"
Unverified Commit 28c3c45d authored by Nikita Titov's avatar Nikita Titov Committed by GitHub
Browse files

[docs] make building of C++ tests section collapsable (#4340)

parent c45a82f0
...@@ -6,7 +6,7 @@ $(function() { ...@@ -6,7 +6,7 @@ $(function() {
if(window.location.pathname.toLocaleLowerCase().indexOf('installation-guide') != -1) { 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'); $('<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', 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) { $.each(collapsable, function(i, val) {
var header = val + ' > :header:first'; var header = val + ' > :header:first';
var content = val + ' :not(:header:first)'; var content = val + ' :not(:header:first)';
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment