Fix midword link wrapping issues

Adds <wbr> which is suggested linebreaks to each class reference link
in the sidebar once the page is ready.
This commit is contained in:
Adam Scott
2022-12-27 20:42:22 +03:00
committed by Yuri Sizov
parent 47506dd4b0
commit 2b06a3822d
2 changed files with 25 additions and 1 deletions
+1 -1
View File
@@ -196,7 +196,7 @@ if not on_rtd:
html_css_files.append("css/dev.css")
html_js_files = [
"js/custom.js?2", # Increment the number at the end when the file changes to bust the cache.
"js/custom.js?3", # Increment the number at the end when the file changes to bust the cache.
('https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js', {'defer': 'defer'}),
('js/algolia.js', {'defer': 'defer'})
]