Skip to content

Commit 62bcff3

Browse files
committed
build: fix readthedocs visuals
1 parent 44c3d3e commit 62bcff3

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.readthedocs.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ build:
1010
os: ubuntu-22.04
1111
tools:
1212
python: "3.7"
13+
apt_packages:
14+
- graphviz
1315

1416
# Build documentation in the docs/ directory with Sphinx
1517
sphinx:

docs/conf.py

+2-4
Original file line numberDiff line numberDiff line change
@@ -127,10 +127,8 @@
127127

128128
# The theme to use for HTML and HTML Help pages. See the documentation for
129129
# a list of builtin themes.
130-
if on_rtd:
131-
html_theme = "default"
132-
else:
133-
html_theme = "sphinx_rtd_theme"
130+
html_theme = "sphinx_rtd_theme"
131+
if not on_rtd:
134132
html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
135133

136134
# Theme options are theme-specific and customize the look and feel of a

0 commit comments

Comments
 (0)