Skip to content

FIX sphinx formatting in load_boston #21185

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

Merged
merged 3 commits into from
Sep 29, 2021

Conversation

ogrisel
Copy link
Member

@ogrisel ogrisel commented Sep 28, 2021

Follow-up for: #16155.

I suspect this is indirectly causing the lack of rendering of subsequent indented code snippets in:

https://scikit-learn.org/stable/modules/generated/sklearn.datasets.load_boston.html?highlight=load_boston#sklearn.datasets.load_boston

image

Let's check on the rendered HTML artifact of this PR.

This would probably deserve a backport to 1.0.X to fix the online doc for this function which was deprecated in 1.0.0.

@ogrisel ogrisel added this to the 1.0.1 milestone Sep 28, 2021
@ogrisel
Copy link
Member Author

ogrisel commented Sep 29, 2021

Ok the formatting is fixed. The content of the docstring is redundant with the deprecation warning and both are displayed in the sphinx rendering. I am not sure what we can do about it.

I think this is good enough the way it is.

@glemaitre glemaitre merged commit e13485a into scikit-learn:main Sep 29, 2021
@glemaitre
Copy link
Member

Thanks @ogrisel

@ogrisel ogrisel deleted the fix-sphinx-formating-load_boston branch September 29, 2021 12:42
@glemaitre glemaitre mentioned this pull request Oct 23, 2021
10 tasks
glemaitre pushed a commit to glemaitre/scikit-learn that referenced this pull request Oct 23, 2021
samronsin pushed a commit to samronsin/scikit-learn that referenced this pull request Nov 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants