Skip to content

Fix sidebar clipping of long dotted identifiers - #46

Open
lizzyjunedavis wants to merge 2 commits into
apple:mainfrom
lizzyjunedavis:u/elizabethdavis/sphinx-sidebar-fix
Open

Fix sidebar clipping of long dotted identifiers#46
lizzyjunedavis wants to merge 2 commits into
apple:mainfrom
lizzyjunedavis:u/elizabethdavis/sphinx-sidebar-fix

Conversation

@lizzyjunedavis

Copy link
Copy Markdown

Adds sidebar-wrap.js (injects zero-width spaces after dots in FQNs so they wrap at segment boundaries) and CSS overrides to allow overflow and enable word-break in sidebar links.

@TobyRoseman

Copy link
Copy Markdown
Contributor

Could you update the gh-pages of your fork to include these changes, so we can try it out?

@lizzyjunedavis

lizzyjunedavis commented Jul 27, 2026

Copy link
Copy Markdown
Author

Could you update the gh-pages of your fork to include these changes, so we can try it out?

Here it is: https://lizzyjunedavis.github.io/coreai-torch

@lizzyjunedavis
lizzyjunedavis force-pushed the u/elizabethdavis/sphinx-sidebar-fix branch from 24cdfbf to 84a8049 Compare July 27, 2026 16:58
Adds sidebar-wrap.js (injects zero-width spaces after dots in FQNs so
they wrap at segment boundaries) and CSS overrides to allow overflow
and enable word-break in sidebar links.
@lizzyjunedavis
lizzyjunedavis force-pushed the u/elizabethdavis/sphinx-sidebar-fix branch from 28efa1a to f3b67c2 Compare July 29, 2026 13:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants