From 692a2fc135e319204805b34aeca9db0cfaa5988e Mon Sep 17 00:00:00 2001 From: ridiculousfish Date: Sat, 24 Sep 2022 12:34:15 -0700 Subject: [PATCH] Sphinx: disable hyphenation Hyphenation in our documentation is aggressive, even to the point of caus- ing options themselves to be broken across lines. This makes the document- ation hard to read, especially when you have an option like `string colle- ct` which gets a weird hyphen. Remove the hyphenation from the CSS. --- doc_src/python_docs_theme/static/pydoctheme.css | 6 ------ 1 file changed, 6 deletions(-) diff --git a/doc_src/python_docs_theme/static/pydoctheme.css b/doc_src/python_docs_theme/static/pydoctheme.css index b83c20258..0c3247c80 100644 --- a/doc_src/python_docs_theme/static/pydoctheme.css +++ b/doc_src/python_docs_theme/static/pydoctheme.css @@ -80,12 +80,6 @@ div.body h1, div.body h2, div.body h3, div.body h4, div.body h5, div.body h6 { font-weight: normal; } -div.body p, div.body dd, div.body li, div.body blockquote { - -ms-hyphens: auto; - -webkit-hyphens: auto; - hyphens: auto; -} - :not(li) > ol > li:last-child > :last-child, :not(li) > ul > li:last-child > :last-child { margin-bottom: 0px; }