Skip to content

DOC: a simple implementation of folding #26625

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 5 commits into from
Jun 21, 2023

Conversation

GaelVaroquaux
Copy link
Member

An alternative to #26619

Implement html folding via "raw-html" directives.

This is just a first iteration of the idea to demonstrate the feasibility.

The benefit that I see is that it does not collide with other sphinx directives (unlike the dropdown code explored in #26619 )

cc @ArturoAmorQ @Tech-Netiums

Todo:

  • If people are good with CSS, it could be improved. I just did a first iteration.
  • Document this

@github-actions
Copy link

github-actions bot commented Jun 19, 2023

Linting Passed

All linting checks passed. Your pull request is in excellent shape! ☀️

@GaelVaroquaux
Copy link
Member Author

@glemaitre : I have implemented tooltips, as you asked for

@GaelVaroquaux
Copy link
Member Author

@glemaitre : can I haz review? Merge?

Copy link
Member

@glemaitre glemaitre left a comment

Choose a reason for hiding this comment

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

I will really like the addition of the hover.

@glemaitre glemaitre merged commit 23ff51c into scikit-learn:main Jun 21, 2023
@glemaitre
Copy link
Member

Merging this part. @ArturoAmorQ you can go back to the documentation. I will review it after the sync.

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.

2 participants