-
-
Notifications
You must be signed in to change notification settings - Fork 26.9k
[DOC] sklearn.utils.deprecated yields indentations in HTML output #15741
Copy link
Copy link
Closed
Labels
Description
Description
sklearn.utils.deprecated modifies the docstring of a function or a class to warn users for the deprecation. However it does not seem to render very well with the documentation because it adds a definition description which adds a lot of indentations.
Example
Solution
I think that there could be two solutions:
- finding why it adds a definition description and removing it, or
- removing the update of the docstring since there already is a directive from sphinx.
Reactions are currently unavailable