Skip to content

Commit c6e83ee

Browse files
committed
respond to review by @drammock
1 parent 6947195 commit c6e83ee

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

src/pydata_sphinx_theme/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,8 @@ def update_config(app):
4444
raise ExtensionError(
4545
"`icon_links` must be a list of dictionaries, you provided "
4646
f"type {type(theme_options.get('icon_links'))}."
47+
"If you wish to disable this feature, either do not provide "
48+
"a value (leave undefined), or set to an empty list."
4749
)
4850

4951
# Set the anchor link default to be # if the user hasn't provided their own

src/pydata_sphinx_theme/theme/pydata_sphinx_theme/theme.conf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ logo_link =
3737
surface_warnings = True
3838
back_to_top_button = True
3939
search_as_you_type = False
40+
shorten_urls = True
4041

4142
# Template placement in theme layouts
4243
navbar_start = navbar-logo

0 commit comments

Comments
 (0)