From 9fbc643d4360203d64f9c41e93c8bc04d30a9bbd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Olender?= <92638966+TC-MO@users.noreply.github.com> Date: Mon, 11 Aug 2025 11:19:03 +0200 Subject: [PATCH 1/2] docs:make inkeep and kapa display docs first when using search --- apify-docs-theme/src/config.js | 1 + apify-docs-theme/src/theme/SearchBar/index.js | 10 ++-------- 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/apify-docs-theme/src/config.js b/apify-docs-theme/src/config.js index aab1283f7a..b9352d4e17 100644 --- a/apify-docs-theme/src/config.js +++ b/apify-docs-theme/src/config.js @@ -323,6 +323,7 @@ const scripts = [ 'data-project-color': '#666666', 'data-button-hide': 'true', 'data-search-mode-enabled': 'true', + 'data-search-include-source-names': 'Docs', 'data-project-logo': 'https://apify.com/img/apify-logo/logomark-32x32.svg', 'data-modal-example-questions': 'How to run an Actor?,Create a version of an Actor?', 'data-modal-override-open-id': 'ask-ai-input', diff --git a/apify-docs-theme/src/theme/SearchBar/index.js b/apify-docs-theme/src/theme/SearchBar/index.js index 0de4f5a216..8353369618 100644 --- a/apify-docs-theme/src/theme/SearchBar/index.js +++ b/apify-docs-theme/src/theme/SearchBar/index.js @@ -155,15 +155,9 @@ export default function SearchBar({ onClick }) { }, searchSettings: { tabs: [ - 'All', - 'Docs', - 'Publications', - 'PDFs', + ['Docs', { isAlwaysVisible: true }], 'GitHub', - 'Forums', - 'Discord', - 'Slack', - 'StackOverflow', + 'All', ], }, aiChatSettings: { From adcb86c456c90ad22d1a4e3d793539841bdd4481 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Olender?= <92638966+TC-MO@users.noreply.github.com> Date: Mon, 11 Aug 2025 16:04:44 +0200 Subject: [PATCH 2/2] Update apify-docs-theme/src/config.js MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Jindřich Bär --- apify-docs-theme/src/config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apify-docs-theme/src/config.js b/apify-docs-theme/src/config.js index b9352d4e17..d10c339f2c 100644 --- a/apify-docs-theme/src/config.js +++ b/apify-docs-theme/src/config.js @@ -323,7 +323,7 @@ const scripts = [ 'data-project-color': '#666666', 'data-button-hide': 'true', 'data-search-mode-enabled': 'true', - 'data-search-include-source-names': 'Docs', + 'data-search-include-source-names': '["Docs"]', 'data-project-logo': 'https://apify.com/img/apify-logo/logomark-32x32.svg', 'data-modal-example-questions': 'How to run an Actor?,Create a version of an Actor?', 'data-modal-override-open-id': 'ask-ai-input',