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
8e721c56
Unverified
Commit
8e721c56
authored
Mar 18, 2022
by
Nikita Titov
Committed by
GitHub
Mar 17, 2022
Browse files
[docs] Improve rendering of class properties in docs (fixes #5073)
parent
f77e0adf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
docs/_static/js/script.js
docs/_static/js/script.js
+6
-0
No files found.
docs/_static/js/script.js
View file @
8e721c56
...
@@ -2,6 +2,12 @@ $(function() {
...
@@ -2,6 +2,12 @@ $(function() {
/* Use wider container for the page content */
/* Use wider container for the page content */
$
(
'
.wy-nav-content
'
).
each
(
function
()
{
this
.
style
.
setProperty
(
'
max-width
'
,
'
none
'
,
'
important
'
);
});
$
(
'
.wy-nav-content
'
).
each
(
function
()
{
this
.
style
.
setProperty
(
'
max-width
'
,
'
none
'
,
'
important
'
);
});
/* List each class property item on a new line
https://github.com/microsoft/LightGBM/issues/5073 */
if
(
window
.
location
.
pathname
.
toLocaleLowerCase
().
indexOf
(
'
pythonapi
'
)
!=
-
1
)
{
$
(
'
.py.property
'
).
each
(
function
()
{
this
.
style
.
setProperty
(
'
display
'
,
'
inline
'
,
'
important
'
);
});
}
/* Point to the same version of R API as the current docs version */
/* Point to the same version of R API as the current docs version */
var
current_version_elems
=
$
(
'
.rst-current-version
'
);
var
current_version_elems
=
$
(
'
.rst-current-version
'
);
if
(
current_version_elems
.
length
!==
0
)
{
if
(
current_version_elems
.
length
!==
0
)
{
...
...
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