Skip to content

Commit a756764

Browse files
authored
Merge pull request #75 from FoamyGuy/docs_fix
workaround for vertical stacking issue with docs theme
2 parents b867283 + 100af3b commit a756764

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

docs/_static/custom.css

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
/*
2+
SPDX-FileCopyrightText: 2024 Tim Cocks for Adafruit Industries
3+
4+
SPDX-License-Identifier: MIT
5+
*/
6+
7+
/*
8+
Fix for horizontal stacking weirdness in the RTD theme with Python properties:
9+
https://github.com/readthedocs/sphinx_rtd_theme/issues/1301
10+
*/
11+
.py.property {
12+
display: block !important;
13+
}

docs/conf.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,8 @@
116116
#
117117
html_favicon = "_static/favicon.ico"
118118

119+
html_css_files = ["custom.css"]
120+
119121
# Output file base name for HTML help builder.
120122
htmlhelp_basename = "AdafruitDisplay_shapesLibrarydoc"
121123

0 commit comments

Comments
 (0)