Commit b6d4ad83 authored by Nikita Titov's avatar Nikita Titov Committed by James Lamb
Browse files

added JS file (#2387)

parent 33d0378f
^build_package.R$
\.gitkeep$
^docs$
^_pkgdown\.yml$
^pkgdown$
# Objects created by compilation
\.o$
......
$(function() {
if(window.location.pathname.toLocaleLowerCase().indexOf('/r/reference') != -1) {
/* Replace '/R/' with '/R-package/R/' in all external links to .R files of LightGBM GitHub repo */
$('a[href^="https://github.com/Microsoft/LightGBM/blob/master/R"][href*=".R"]').attr('href', (i, val) => { return val.replace('/R/', '/R-package/R/'); });
}
});
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