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
5dc1507e
Unverified
Commit
5dc1507e
authored
Jul 27, 2019
by
Nikita Titov
Committed by
GitHub
Jul 27, 2019
Browse files
[docs] updated js file attaching mechanism (#2287)
parent
5d3a3ea4
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
docs/conf.py
docs/conf.py
+2
-1
No files found.
docs/conf.py
View file @
5dc1507e
...
...
@@ -220,4 +220,5 @@ def setup(app):
app
.
connect
(
"builder-inited"
,
generate_doxygen_xml
)
else
:
app
.
add_directive
(
'doxygenfile'
,
IgnoredDirective
)
app
.
add_javascript
(
"js/script.js"
)
add_js_file
=
getattr
(
app
,
'add_js_file'
,
False
)
or
app
.
add_javascript
add_js_file
(
"js/script.js"
)
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