Skip to content

Commit ecb10bd

Browse files
committed
Update docs config
1 parent c09eb24 commit ecb10bd

File tree

1 file changed

+8
-12
lines changed

1 file changed

+8
-12
lines changed

docs/conf.py

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -97,25 +97,21 @@
9797
#
9898
on_rtd = os.environ.get("READTHEDOCS", None) == "True"
9999

100-
if not on_rtd: # only import and set the theme if we're building docs locally
101-
try:
102-
import sphinx_rtd_theme
103-
104-
html_theme = "sphinx_rtd_theme"
105-
html_theme_path = [sphinx_rtd_theme.get_html_theme_path(), "."]
106-
except:
107-
html_theme = "default"
108-
html_theme_path = ["."]
109-
else:
110-
html_theme_path = ["."]
100+
html_theme = "sphinx_rtd_theme"
111101

112102
# Add any paths that contain custom static files (such as style sheets) here,
113103
# relative to this directory. They are copied after the builtin static files,
114104
# so a file named "default.css" will overwrite the builtin "default.css".
115105
html_static_path = ["_static"]
116106

107+
# The name of an image file (relative to this directory) to use as a favicon of
108+
# the docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32
109+
# pixels large.
110+
#
111+
html_favicon = "_static/favicon.ico"
112+
117113
# Output file base name for HTML help builder.
118-
htmlhelp_basename = "AdafruitBlinkaLibrarydoc"
114+
htmlhelp_basename = "Adafruit_blinkaDisplayioLibrarydoc"
119115

120116
# -- Options for LaTeX output ---------------------------------------------
121117

0 commit comments

Comments
 (0)