Skip to content

Commit

Permalink
DOC Adds scikit-learn for intersphinx
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasjpfan committed Jul 3, 2023
1 parent 9f78cce commit 736a6a1
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ def run(self) -> List:
'sphinx.ext.todo',
'sphinx.ext.viewcode',
'sphinx.ext.napoleon',
"sphinx.ext.intersphinx",
]

autodoc_default_flags = ['members', 'inherited-members', 'show-inheritance']
Expand Down Expand Up @@ -206,6 +207,10 @@ def run(self) -> List:
# 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.
Expand Down

0 comments on commit 736a6a1

Please sign in to comment.