From fc9af98e7555ee9fe7445cb8b987479e072d3a4a Mon Sep 17 00:00:00 2001 From: Thomas Kunwar Date: Wed, 8 Jun 2022 23:04:53 +0545 Subject: [PATCH 1/2] quick fix docssearch --- .../components/Documentation/Layout/SearchForm/index.tsx | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/packages/gatsby-theme-iterative/src/components/Documentation/Layout/SearchForm/index.tsx b/packages/gatsby-theme-iterative/src/components/Documentation/Layout/SearchForm/index.tsx index 5920b329..da3300f3 100644 --- a/packages/gatsby-theme-iterative/src/components/Documentation/Layout/SearchForm/index.tsx +++ b/packages/gatsby-theme-iterative/src/components/Documentation/Layout/SearchForm/index.tsx @@ -34,6 +34,14 @@ const SearchForm: React.FC = props => { setSearchAvailable(true) } }) + } else { + window.docsearch({ + apiKey: '755929839e113a981f481601c4f52082', + indexName: 'dvc', + inputSelector: '#doc-search', + debug: false // Set to `true` if you want to inspect the dropdown + }) + setSearchAvailable(true) } } }, []) From 7de68a4840afc5b60b3e63b13965a995f7ea1ab3 Mon Sep 17 00:00:00 2001 From: Thomas Kunwar Date: Wed, 8 Jun 2022 23:05:26 +0545 Subject: [PATCH 2/2] v0.1.7 --- packages/gatsby-theme-iterative/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/gatsby-theme-iterative/package.json b/packages/gatsby-theme-iterative/package.json index 538a81ae..0f84abb2 100644 --- a/packages/gatsby-theme-iterative/package.json +++ b/packages/gatsby-theme-iterative/package.json @@ -1,6 +1,6 @@ { "name": "@dvcorg/gatsby-theme-iterative", - "version": "0.1.6", + "version": "0.1.7", "description": "", "main": "index.js", "types": "src/typings.d.ts",