Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-docs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSarah German <sgerman@gitlab.com>2022-04-28 19:51:11 +0300
committerSarah German <sgerman@gitlab.com>2022-04-28 19:51:20 +0300
commitbaf548222d380ad9d7caf70b8634ccbc091127cf (patch)
tree6b93222e61be8e088d775be4316d4a2576ea4c2e
parent93c20b29e62d62c604a25ccb3dd3251e3452ead6 (diff)
Update Docsearch CDN linksdevtools-404
Pinning a specific version clears up the 404 for the JS source map file.
-rw-r--r--layouts/docsearch.html2
-rw-r--r--layouts/head.html2
-rw-r--r--layouts/redirect.html2
3 files changed, 3 insertions, 3 deletions
diff --git a/layouts/docsearch.html b/layouts/docsearch.html
index 7f8262f5..71a89ceb 100644
--- a/layouts/docsearch.html
+++ b/layouts/docsearch.html
@@ -1,3 +1,3 @@
<!-- Algolia docsearch https://community.algolia.com/docsearch/ -->
-<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/@docsearch/js@3"></script>
+<script src="https://cdn.jsdelivr.net/npm/@docsearch/js@3.0.0/dist/umd/index.min.js"></script>
<script src="<%= @items['/assets/javascripts/docsearch.*'].path %>"></script>
diff --git a/layouts/head.html b/layouts/head.html
index 361aeeb3..55c42b31 100644
--- a/layouts/head.html
+++ b/layouts/head.html
@@ -39,7 +39,7 @@
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<!-- end of fontawesome -->
<!-- Docsearch https://community.algolia.com/docsearch/ - via CDN -->
-<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@docsearch/css@3" />
+<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@docsearch/css@3.0.0/dist/style.css" />
<!-- end of docsearch -->
<% if production? %>
diff --git a/layouts/redirect.html b/layouts/redirect.html
index 5533ba91..7cd451fb 100644
--- a/layouts/redirect.html
+++ b/layouts/redirect.html
@@ -10,7 +10,7 @@
<link rel="stylesheet" href="<%= @items['/assets/stylesheets/stylesheet.*'].path %>">
<link rel="stylesheet" href="<%= @items['/assets/stylesheets/footer.*'].path %>">
<!-- Docsearch https://community.algolia.com/docsearch/ - via CDN -->
- <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.css">
+ <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@docsearch/css@3.0.0/dist/style.css" />
<!-- end of docsearch -->
<script async src="<%= @items['/assets/javascripts/docs.*'].path %>"></script>
<link href='https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,600,400italic' rel='stylesheet' type='text/css'>