diff options
author | Achilleas Pipinellis <axil@gitlab.com> | 2019-09-12 11:42:08 +0300 |
---|---|---|
committer | Achilleas Pipinellis <axil@gitlab.com> | 2019-09-12 11:42:08 +0300 |
commit | 69868c913abe73426c3fd5e6ee0a6b22681fb44f (patch) | |
tree | 0b7a0d1c87d28364132fa52e8865f6d3ecf02d85 /layouts/docsearch.html | |
parent | 9cedf55183458e7a41d3c9d61b3090baf3c6cdb2 (diff) |
Add charts to Algolia filters
Diffstat (limited to 'layouts/docsearch.html')
-rw-r--r-- | layouts/docsearch.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/docsearch.html b/layouts/docsearch.html index 30f55e8c..9946b5c9 100644 --- a/layouts/docsearch.html +++ b/layouts/docsearch.html @@ -7,7 +7,7 @@ var search = docsearch({ inputSelector: '.docsearch', algoliaOptions: { // Filter by tags as described in https://github.com/algolia/docsearch-configs/blob/master/configs/gitlab.json - 'filters': "tags:gitlab<score=3> OR tags:omnibus<score=2> OR tags:runner<score=1>", + 'filters': "tags:gitlab<score=4> OR tags:omnibus<score=3> OR tags:runner<score=2> OR tags:charts<score=1>", // Number of results shown in the search dropdown 'hitsPerPage': 10 }, @@ -23,7 +23,7 @@ var mobileSearch = docsearch({ inputSelector: '.docsearch-mobile', algoliaOptions: { // Filter by tags as described in https://github.com/algolia/docsearch-configs/blob/master/configs/gitlab.json - 'filters': "tags:gitlab<score=3> OR tags:omnibus<score=2> OR tags:runner<score=1>", + 'filters': "tags:gitlab<score=4> OR tags:omnibus<score=3> OR tags:runner<score=2> OR tags:charts<score=1>", // Number of results shown in the search dropdown 'hitsPerPage': 10 }, |