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/head.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/head.html')
-rw-r--r--layouts/head.html4
1 files changed, 3 insertions, 1 deletions
diff --git a/layouts/head.html b/layouts/head.html
index 5ff96a8e..c24217fb 100644
--- a/layouts/head.html
+++ b/layouts/head.html
@@ -17,12 +17,14 @@
<link rel="stylesheet" href="<%= @items['/assets/stylesheets/stylesheet.*'].path %>">
<link rel="stylesheet" href="<%= @items['/assets/stylesheets/highlight.*'].path %>">
<link rel="stylesheet" href="<%= @items['/assets/stylesheets/footer.*'].path %>">
-<link rel="stylesheet" href="<%= @items['/assets/stylesheets/docsearch.min.*'].path %>">
<link rel="stylesheet" href="<%= @items['/assets/stylesheets/toc.*'].path %>">
<link rel="stylesheet" href="<%= @items['/assets/stylesheets/comments.*'].path %>">
<!-- new fontawesome version 4 - via CDN -->
<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.js@2/dist/cdn/docsearch.min.css">
+<!-- end of docsearch -->
<% if ENV['NANOC_ENV'] == 'production' %>
<%# Adds GTM only in production %>
<!-- Google Tag Manager -->