-
Notifications
You must be signed in to change notification settings - Fork 32
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
Title line overflows in documentation #365
Comments
We actually implemented a more API-friendly solution for ToC entries using sphinx-immaterial/sphinx_immaterial/nav_adapt.py Lines 184 to 192 in 3951651
However, we don't alter the doc/section titles in the same way. |
A solution based on |
Describe the bug
While browsing the documentation for statsmodels, certain functions have really long names that overflow. The problem is the text doesn't wrap, causing some of the text to not be selectable or even visible (as showing in the image). Eg: https://www.statsmodels.org/stable/generated/statsmodels.regression.mixed_linear_model.MixedLM.html
Original:
Potential Fix 1:
I believe this could be a simple fix by enabling overflow to scroll. A potential solution could be adding the following to the documentation's CSS:
Potential Fix 2:
I believe this could also be a simple fix by enabling overflow-wrap to anywhere or break-word. A potential solution could be adding the following to the documentation's CSS:
The text was updated successfully, but these errors were encountered: