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:
authorAchilleas Pipinellis <axil@gitlab.com>2019-04-19 12:45:19 +0300
committerAchilleas Pipinellis <axil@gitlab.com>2019-04-19 12:45:19 +0300
commit9acdf97c5bd193cf70b0d0ebc4c68bca1a05cb33 (patch)
treee6afa55681dc83b85a4407652b7f24779d209cc8 /layouts/redirect.html
parenta5fb0ff01155cae4bf732c2bc424976fb13b584f (diff)
Remove Algolia override for mobile and use latest docsearch CSS
The dropdown is now responsive by default, we just have to use the latest docsearch CSS https://github.com/algolia/docsearch/pull/197.
Diffstat (limited to 'layouts/redirect.html')
-rw-r--r--layouts/redirect.html4
1 files changed, 3 insertions, 1 deletions
diff --git a/layouts/redirect.html b/layouts/redirect.html
index 0b4aab45..1c004c25 100644
--- a/layouts/redirect.html
+++ b/layouts/redirect.html
@@ -9,7 +9,9 @@
<link rel="stylesheet" href="<%= @items['/assets/stylesheets/bootstrap.min.*'].path %>">
<link rel="stylesheet" href="<%= @items['/assets/stylesheets/stylesheet.*'].path %>">
<link rel="stylesheet" href="<%= @items['/assets/stylesheets/footer.*'].path %>">
- <link rel="stylesheet" href="<%= @items['/assets/stylesheets/docsearch.min.*'].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">
+ <!-- end of docsearch -->
<script async src="<%= @items['/assets/javascripts/docs.*'].path %>"></script>
<link href='//fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,600,400italic' rel='stylesheet' type='text/css'>
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">