Skip to content

Commit f4a03dd

Browse files
gabalafoudrammock
andauthored
Update src/pydata_sphinx_theme/__init__.py
Co-authored-by: Daniel McCloy <[email protected]>
1 parent c6e83ee commit f4a03dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pydata_sphinx_theme/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ def setup(app: Sphinx) -> Dict[str, str]:
285285
app.add_html_theme("pydata_sphinx_theme", str(theme_path))
286286

287287
theme_options = utils.get_theme_options_dict(app)
288-
if theme_options.get("shorten_urls") is True:
288+
if theme_options.get("shorten_urls"):
289289
app.add_post_transform(short_link.ShortenLinkTransform)
290290

291291
app.connect("builder-inited", translator.setup_translators)

0 commit comments

Comments
 (0)