aboutsummaryrefslogtreecommitdiff
path: root/site/layouts/partials/scripts.html
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2022-05-06 16:56:43 -0700
committerGitHub <[email protected]>2022-05-06 16:56:43 -0700
commit6b49d26b21cabb7322a820183c6d925263cddba1 (patch)
treea20884b37e88ed3f4bb7ac2b653f10d64816396d /site/layouts/partials/scripts.html
parentd2497b0384d05af9159743d7ff58fd071d5c5cbb (diff)
downloadbootstrap-6b49d26b21cabb7322a820183c6d925263cddba1.tar.xz
bootstrap-6b49d26b21cabb7322a820183c6d925263cddba1.zip
v5.2.0: Migrate to DocSearch 3 (#36176)
* Migrate to DocSearch v3 Fixes #33338 * initialize `siteDocsVersion` const after the proper check * Update site/layouts/partials/stylesheet.html Co-authored-by: GeoSot <[email protected]> * Update header.html * code review changes * Update search.js * Fix contrast issue, tweak some styles * Fix some navbar changes * temporary safari fix for docsearch3 Co-authored-by: GeoSot <[email protected]> Co-authored-by: XhmikosR <[email protected]>
Diffstat (limited to 'site/layouts/partials/scripts.html')
-rw-r--r--site/layouts/partials/scripts.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/site/layouts/partials/scripts.html b/site/layouts/partials/scripts.html
index 5e2e52e90..56513c7ff 100644
--- a/site/layouts/partials/scripts.html
+++ b/site/layouts/partials/scripts.html
@@ -5,7 +5,7 @@
{{- end }}
{{ if eq .Page.Layout "docs" -}}
-<script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script>
+<script src="https://cdn.jsdelivr.net/npm/@docsearch/js@3"></script>
<script src="https://cdn.jsdelivr.net/npm/@stackblitz/sdk@1/bundles/sdk.umd.js"></script>
{{- end }}