DOC Add instructions how to use dropdowns in contributing guide#26636
DOC Add instructions how to use dropdowns in contributing guide#26636glemaitre merged 23 commits intoscikit-learn:mainfrom
Conversation
…-learn into doc_guidelines
✔️ Linting PassedAll linting checks passed. Your pull request is in excellent shape! ☀️ Generated for commit: 185cf45 |
|
Merging with main should fix the linter issue. |
…nto doc_guidelines
…into doc_guidelines
…nto doc_guidelines
doc/developers/contributing.rst
Outdated
| - narrative that is too use-case specific; | ||
| - narrative that may only interest users that want to go beyond the pragmatics | ||
| of a given tool. | ||
|
|
There was a problem hiding this comment.
We don't have enough spacing between the end of the itemize and the beginning of the paragraph.
There was a problem hiding this comment.
I don't know how to add spacing. Seems like a bug to me.
Nevermind.
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
GaelVaroquaux
left a comment
There was a problem hiding this comment.
LGTM.
I had a look at the rendered docs, and it looks fine
|
I few comments from @glemaitre still need to be addressed, in particular "We don't have enough spacing between the end of the itemize and the beginning of the paragraph." |
doc/developers/contributing.rst
Outdated
| * Too much information makes it difficult for users to access to the | ||
| content they are interested in. Use dropdowns to hide by default: | ||
|
|
||
| - low hierarchy sections such as `Examples`, `References`, `Properties`, etc. |
There was a problem hiding this comment.
After a discussion with @ogrisel that was inline with @GaelVaroquaux, let's not fold Examples. Instead, we should advocate for making sure that the Examples section comes right after the main discussion with the least possible folded section in-between.
There was a problem hiding this comment.
Added a small mention on this regard.
…nto doc_guidelines
|
Thanks @ArturoAmorQ |
…it-learn#26636) Co-authored-by: Gael Varoquaux <gael.varoquaux@normalesup.org> Co-authored-by: ArturoAmorQ <arturo.amor-quiroz@polytechnique.edu> Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
Co-authored-by: Gael Varoquaux <gael.varoquaux@normalesup.org> Co-authored-by: ArturoAmorQ <arturo.amor-quiroz@polytechnique.edu> Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
…it-learn#26636) Co-authored-by: Gael Varoquaux <gael.varoquaux@normalesup.org> Co-authored-by: ArturoAmorQ <arturo.amor-quiroz@polytechnique.edu> Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
Reference Issues/PRs
Follows #26625.
What does this implement/fix? Explain your changes.
#26625 introduces the use of dropdowns. This PR adds some simple guidelines on the contributing guide on how to use them.
Any other comments?