Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[docs] Add scikit-learn for intersphinx (fixes #5954) #5956

Merged
merged 1 commit into from
Jul 4, 2023

Conversation

thomasjpfan
Copy link
Contributor

Fixes #5954

This PR enables Sphinx's intersphinx extension such that links to scikit-learn's docs can be resolved. Note that the sphinx.ext.intersphinx extension comes with Sphinx.

@jameslamb jameslamb changed the title DOC Adds scikit-learn for intersphinx [docs] Add scikit-learn for intersphinx (fixes #5954) Jul 4, 2023
@jameslamb jameslamb added the doc label Jul 4, 2023
Copy link
Collaborator

@jameslamb jameslamb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is great, thanks so much @thomasjpfan !

I think this is a much better solution than what I proposed in scikit-learn/scikit-learn#26747. It's lightweight for any project to implement, and gives a much stronger guarantee of being future-proof against future changes upstream in scikit-learn.

Appreciate you taking the time to open this 😊

@jameslamb jameslamb merged commit e4658e1 into microsoft:master Jul 4, 2023
sachaMorin added a commit to Labo-Lacourse/stepmix that referenced this pull request Jul 5, 2023
Recent sklearn changes to BaseEstimator seems to break the documentation. See microsoft/LightGBM#5956.
fernandezfran added a commit to fernandezfran/galpynostatic that referenced this pull request Jul 5, 2023
@github-actions
Copy link

github-actions bot commented Oct 4, 2023

This pull request has been automatically locked since there has not been any recent activity since it was closed. To start a new related discussion, open a new issue at https://github.com/microsoft/LightGBM/issues including a reference to this.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 4, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[ci] [docs] docs rendering failing with 'undefined label: 'metadata_routing'
2 participants