From ddc287e5511ba06017476562b7db4da1e582bcd4 Mon Sep 17 00:00:00 2001 From: ylemkimon Date: Tue, 4 Sep 2018 06:58:28 +0900 Subject: [PATCH] Enable Algolia Docsearch (#1688) --- website/siteConfig.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/website/siteConfig.js b/website/siteConfig.js index 6c0e17cb..d40684ff 100644 --- a/website/siteConfig.js +++ b/website/siteConfig.js @@ -172,6 +172,14 @@ const siteConfig = { separateCss: ['static/static', 'static\\static'], + algolia: { + apiKey: '46ecd80046d78d4e5d9a5c06f559dfaa', + indexName: 'katex', + algoliaOptions: { + facetFilters: ['language:LANGUAGE', 'version:VERSION'], + }, + }, + /* On page navigation for the current documentation page */ onPageNav: 'separate',