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
e4658e1a
Unverified
Commit
e4658e1a
authored
Jul 03, 2023
by
Thomas J. Fan
Committed by
GitHub
Jul 03, 2023
Browse files
[docs] Add scikit-learn for intersphinx (fixes #5954) (#5956)
parent
9f78ccee
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
docs/conf.py
docs/conf.py
+5
-0
No files found.
docs/conf.py
View file @
e4658e1a
...
...
@@ -84,6 +84,7 @@ extensions = [
'sphinx.ext.todo'
,
'sphinx.ext.viewcode'
,
'sphinx.ext.napoleon'
,
"sphinx.ext.intersphinx"
,
]
autodoc_default_flags
=
[
'members'
,
'inherited-members'
,
'show-inheritance'
]
...
...
@@ -206,6 +207,10 @@ htmlhelp_basename = 'LightGBMdoc'
# the title page.
latex_logo
=
str
(
CURR_PATH
/
'logo'
/
'LightGBM_logo_black_text_small.png'
)
# intersphinx configuration
intersphinx_mapping
=
{
"sklearn"
:
(
"https://scikit-learn.org/stable/"
,
None
),
}
def
generate_doxygen_xml
(
app
:
Sphinx
)
->
None
:
"""Generate XML documentation for C API by Doxygen.
...
...
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