Skip to content

Commit

Permalink
docs: upgrade sphinx-rtd-theme, work around readthedocs/sphinx_rtd_th…
Browse files Browse the repository at this point in the history
  • Loading branch information
whitequark committed Mar 22, 2024
1 parent 8c65a79 commit 81fcf76
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions docs/_static/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,6 @@ a { text-decoration: underline; }

/* Many of our diagnostics are even longer */
.rst-content pre.literal-block, .rst-content div[class^="highlight"] pre, .rst-content .linenodiv pre { white-space: pre-wrap; }

/* Work around https://github.com/readthedocs/sphinx_rtd_theme/issues/1301 */
.py.property { display: block !important; }
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ test = [
docs = [
"sphinx~=7.1",
"sphinxcontrib-platformpicker~=1.3",
"sphinx-rtd-theme~=1.2",
"sphinx-rtd-theme~=2.0",
"sphinx-autobuild",
]
examples = [
Expand Down

0 comments on commit 81fcf76

Please sign in to comment.