Skip to content

Commit 2b0671d

Browse files
committed
Add deprecation warning for html_logo
1 parent 3336467 commit 2b0671d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/pydata_sphinx_theme/__init__.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ def update_config_deprecations(app):
5959
logo["text"] = theme_options.get("logo_text")
6060
theme_options["logo"] = logo
6161
logger.warning(
62-
"The configuration `logo_text` is deprecated. " "Use `'logo': {'text': }`."
62+
"The configuration `logo_text` is deprecated. Use `'logo': {'text': }`."
6363
)
6464

6565
# DEPRECATE >= 0.13
@@ -76,7 +76,7 @@ def update_config_deprecations(app):
7676
if hasattr(config, "html_logo"):
7777
config.__dict__["html_logo_url"] = config.html_logo
7878
logger.warning(
79-
"Config value `html_logo` is deprecated. " "Use `html_logo_url` instead."
79+
"Config value `html_logo` is deprecated. Use `html_logo_url` instead."
8080
)
8181

8282

0 commit comments

Comments
 (0)