Skip to content

Commit a81aa52

Browse files
committed
Ensure docUrlRoot is defined with a fallback to an empty string
1 parent b2008d2 commit a81aa52

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/_static/searchtools.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ function _getBreadcrumbs(item, linkUrl) {
114114

115115
const _displayItem = (item, searchTerms) => {
116116
const docBuilder = DOCUMENTATION_OPTIONS.BUILDER;
117-
const docUrlRoot = DOCUMENTATION_OPTIONS.URL_ROOT;
117+
const docUrlRoot = DOCUMENTATION_OPTIONS.URL_ROOT || "";
118118
const docFileSuffix = DOCUMENTATION_OPTIONS.FILE_SUFFIX;
119119
const docLinkSuffix = DOCUMENTATION_OPTIONS.LINK_SUFFIX;
120120
const showSearchSummary = DOCUMENTATION_OPTIONS.SHOW_SEARCH_SUMMARY;

0 commit comments

Comments
 (0)