Skip to content

Commit 6b51252

Browse files
committed
docs: upgrade sphinx-rtd-theme, work around readthedocs/sphinx_rtd_theme#1301.
1 parent 8861b8a commit 6b51252

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

docs/_static/custom.css

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,6 @@ a { text-decoration: underline; }
2020

2121
/* Many of our diagnostics are even longer */
2222
.rst-content pre.literal-block, .rst-content div[class^="highlight"] pre, .rst-content .linenodiv pre { white-space: pre-wrap; }
23+
24+
/* Work around https://github.com/readthedocs/sphinx_rtd_theme/issues/1301 */
25+
.py.property { display: block !important; }

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ test = [
7171
docs = [
7272
"sphinx~=7.1",
7373
"sphinxcontrib-platformpicker~=1.3",
74-
"sphinx-rtd-theme~=1.2",
74+
"sphinx-rtd-theme~=2.0",
7575
"sphinx-autobuild",
7676
]
7777
examples = [

0 commit comments

Comments
 (0)