Skip to content

Commit a06b319

Browse files
B4nandaveomri
authored andcommitted
refactor: revert kapa and inkeep search to algolia (apify#1812)
1 parent 35a9437 commit a06b319

File tree

2 files changed

+216
-215
lines changed

2 files changed

+216
-215
lines changed

apify-docs-theme/src/config.js

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -315,37 +315,37 @@ const plugins = [
315315
];
316316

317317
const scripts = [
318-
{
319-
src: 'https://widget.kapa.ai/kapa-widget.bundle.js',
320-
'data-website-id': 'a9937f98-9c9d-44d9-a433-fec4cb1c114d',
321-
'data-project-name': 'Apify',
322-
'data-modal-title': 'Apify AI Assistant',
323-
'data-project-color': '#666666',
324-
'data-button-hide': 'true',
325-
'data-search-mode-enabled': 'true',
326-
'data-search-include-source-names': '["Docs"]',
327-
'data-project-logo': 'https://apify.com/img/apify-logo/logomark-32x32.svg',
328-
'data-modal-example-questions': 'How to run an Actor?,Create a version of an Actor?',
329-
'data-modal-override-open-id': 'ask-ai-input',
330-
'data-modal-override-open-class': 'search-input',
331-
'data-font-size-xs': '1.2rem',
332-
'data-font-size-sm': '1.4rem',
333-
'data-font-size-md': '1.6rem',
334-
'data-font-size-lg': '1.8rem',
335-
'data-font-size-xl': '2.0rem',
336-
async: true,
337-
},
338-
{
339-
src: 'https://cdn.jsdelivr.net/npm/@inkeep/[email protected]/dist/embed.js',
340-
type: 'module',
341-
async: true,
342-
},
318+
// {
319+
// src: 'https://widget.kapa.ai/kapa-widget.bundle.js',
320+
// 'data-website-id': 'a9937f98-9c9d-44d9-a433-fec4cb1c114d',
321+
// 'data-project-name': 'Apify',
322+
// 'data-modal-title': 'Apify AI Assistant',
323+
// 'data-project-color': '#666666',
324+
// 'data-button-hide': 'true',
325+
// 'data-search-mode-enabled': 'true',
326+
// 'data-search-include-source-names': '["Docs"]',
327+
// 'data-project-logo': 'https://apify.com/img/apify-logo/logomark-32x32.svg',
328+
// 'data-modal-example-questions': 'How to run an Actor?,Create a version of an Actor?',
329+
// 'data-modal-override-open-id': 'ask-ai-input',
330+
// 'data-modal-override-open-class': 'search-input',
331+
// 'data-font-size-xs': '1.2rem',
332+
// 'data-font-size-sm': '1.4rem',
333+
// 'data-font-size-md': '1.6rem',
334+
// 'data-font-size-lg': '1.8rem',
335+
// 'data-font-size-xl': '2.0rem',
336+
// async: true,
337+
// },
338+
// {
339+
// src: 'https://cdn.jsdelivr.net/npm/@inkeep/[email protected]/dist/embed.js',
340+
// type: 'module',
341+
// async: true,
342+
// },
343343
];
344344

345345
const customFields = {
346-
inkeepApiKey: process.env.LOCALHOST || process.env.DEV
347-
? 'bbbb9f1001a9b66f282431a80bb743a24e2bdefb85d4f1e4' // development, works with localhost
348-
: '8af30e40009f26622237f75aab8256064c26a3063717c48a', // production, only works on apify.com (any subdomain)
346+
// inkeepApiKey: process.env.LOCALHOST || process.env.DEV
347+
// ? 'bbbb9f1001a9b66f282431a80bb743a24e2bdefb85d4f1e4' // development, works with localhost
348+
// : '8af30e40009f26622237f75aab8256064c26a3063717c48a', // production, only works on apify.com (any subdomain)
349349
};
350350

351351
module.exports = {

0 commit comments

Comments
 (0)