Skip to content

Commit 6c6d491

Browse files
committed
update settings
1 parent 85834d6 commit 6c6d491

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

docusaurus.config.ts

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import type * as Preset from '@docusaurus/preset-classic';
55
const config: Config = {
66
title: 'Dreamflow Documentation',
77
tagline: 'Learn how to build mobile, web and desktop apps incredibly fast - without sacrificing on app quality or features',
8-
url: 'https://docs.dreamflow.io',
8+
url: 'https://docs.dreamflow.com',
99
baseUrl: '/',
1010
onBrokenLinks: 'throw',
1111
onBrokenMarkdownLinks: 'throw',
@@ -151,19 +151,22 @@ const config: Config = {
151151
// externalUrlRegex: 'external\\.com|domain\\.com',
152152

153153
// Optional: Replace parts of the item URLs from Algolia. Useful when using the same search index for multiple deployments using a different baseUrl. You can use regexp or string in the `from` param. For example: localhost:3000 vs myCompany.com/docs
154-
replaceSearchResultPathname: {
155-
from: '/docs/', // or as RegExp: /\/docs\//
156-
to: '/',
157-
},
154+
// replaceSearchResultPathname: {
155+
// from: '/docs/', // or as RegExp: /\/docs\//
156+
// to: '/',
157+
// },
158158

159159
// Optional: Algolia search parameters
160-
searchParameters: {},
160+
searchParameters: {
161+
// Add debugging to see what's happening
162+
hitsPerPage: 20,
163+
},
161164

162165
// Optional: path for search page that enabled by default (`false` to disable it)
163166
searchPagePath: 'search',
164167

165168
// Optional: whether the insights feature is enabled or not on Docsearch (`false` by default)
166-
insights: true,
169+
insights: false,
167170

168171
//... other Algolia params
169172
},

0 commit comments

Comments
 (0)