From bb261a4e7ac4e418e3bd01f2a42afe5c719adee1 Mon Sep 17 00:00:00 2001 From: Sylvain Pace Date: Thu, 20 Feb 2020 12:20:05 +0100 Subject: [PATCH 1/4] feat: add DocSearch as recommended by docusaurus. --- website/docusaurus.config.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/website/docusaurus.config.js b/website/docusaurus.config.js index bf43015..837722b 100644 --- a/website/docusaurus.config.js +++ b/website/docusaurus.config.js @@ -15,6 +15,13 @@ module.exports = { favicon: 'img/favicon.ico', organizationName: 'neutronjs', projectName: 'neutron-cli', + algolia: { + apiKey: '7ff42c6bf2833e56fbabd0f4da10e002', + indexName: 'neutron', + algoliaOptions: { + facetFilters: [`version:${versions[0]}`], + }, + }, themeConfig: { navbar: { title: 'Neutron JS', From bc97309ba449a9d2ec598d2bb8981f3405720d5e Mon Sep 17 00:00:00 2001 From: Sylvain Pace Date: Wed, 11 Mar 2020 11:09:53 +0100 Subject: [PATCH 2/4] fix: use proper config for DocSearch --- website/docusaurus.config.js | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/website/docusaurus.config.js b/website/docusaurus.config.js index 837722b..4ea7e7e 100644 --- a/website/docusaurus.config.js +++ b/website/docusaurus.config.js @@ -15,14 +15,14 @@ module.exports = { favicon: 'img/favicon.ico', organizationName: 'neutronjs', projectName: 'neutron-cli', - algolia: { - apiKey: '7ff42c6bf2833e56fbabd0f4da10e002', - indexName: 'neutron', - algoliaOptions: { - facetFilters: [`version:${versions[0]}`], - }, - }, themeConfig: { + algolia: { + apiKey: '7ff42c6bf2833e56fbabd0f4da10e002', + indexName: 'neutron', + algoliaOptions: { + facetFilters: [`version:${versions[0]}`], + }, + }, navbar: { title: 'Neutron JS', logo: { From 4fa3301bd19d00cb79caf5a066e52e0a3e12b715 Mon Sep 17 00:00:00 2001 From: Sylvain Pace Date: Wed, 11 Mar 2020 11:15:50 +0100 Subject: [PATCH 3/4] fix: remove version --- website/docusaurus.config.js | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/website/docusaurus.config.js b/website/docusaurus.config.js index 4ea7e7e..87b8583 100644 --- a/website/docusaurus.config.js +++ b/website/docusaurus.config.js @@ -17,11 +17,8 @@ module.exports = { projectName: 'neutron-cli', themeConfig: { algolia: { - apiKey: '7ff42c6bf2833e56fbabd0f4da10e002', - indexName: 'neutron', - algoliaOptions: { - facetFilters: [`version:${versions[0]}`], - }, + apiKey: '7ff42c6bf2833e56fbabd0f4da10e002', + indexName: 'neutron', }, navbar: { title: 'Neutron JS', From 61b9e3d9a8349dbb932381249cbed4fb00d779f6 Mon Sep 17 00:00:00 2001 From: Sylvain Pace Date: Wed, 11 Mar 2020 17:44:09 +0100 Subject: [PATCH 4/4] trigger new build --- website/docusaurus.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/docusaurus.config.js b/website/docusaurus.config.js index 87b8583..e0bc92f 100644 --- a/website/docusaurus.config.js +++ b/website/docusaurus.config.js @@ -17,8 +17,8 @@ module.exports = { projectName: 'neutron-cli', themeConfig: { algolia: { - apiKey: '7ff42c6bf2833e56fbabd0f4da10e002', indexName: 'neutron', + apiKey: '7ff42c6bf2833e56fbabd0f4da10e002', }, navbar: { title: 'Neutron JS',