diff --git a/apify-docs-theme/src/config.js b/apify-docs-theme/src/config.js index f0a098a0a..f4ebd53f2 100644 --- a/apify-docs-theme/src/config.js +++ b/apify-docs-theme/src/config.js @@ -137,13 +137,6 @@ const themeConfig = { }, ], }, - { - href: 'https://github.com/apify', - label: 'GitHub', - title: 'Apify on GitHub', - position: 'right', - className: 'icon', - }, { href: 'https://discord.com/invite/jyEM2PRvMU', label: 'Discord', @@ -256,6 +249,10 @@ const themeConfig = { label: 'GitHub', href: 'https://github.com/apify', }, + { + href: 'https://discord.com/invite/jyEM2PRvMU', + label: 'Discord', + }, { label: 'Trust Center', href: 'https://trust.apify.com', @@ -274,9 +271,15 @@ const themeConfig = { appId: 'N8EOCSBQGH', apiKey: 'e97714a64e2b4b8b8fe0b01cd8592870', // search only (public) API key indexName: 'test_test_apify_sdk', + placeholder: 'Search documentation', algoliaOptions: { facetFilters: ['version:VERSION'], }, + translations: { + button: { + buttonText: 'Search documentation…', + }, + }, }, hubspot: { accountId: '19497222', diff --git a/apify-docs-theme/src/theme/Footer/index.jsx b/apify-docs-theme/src/theme/Footer/index.jsx index fb5b24ee1..019c15474 100644 --- a/apify-docs-theme/src/theme/Footer/index.jsx +++ b/apify-docs-theme/src/theme/Footer/index.jsx @@ -1,5 +1,6 @@ import { useThemeConfig } from '@docusaurus/theme-common'; import LinkItem from '@theme/Footer/LinkItem'; +import ColorModeToggle from '@theme/Navbar/ColorModeToggle'; import clsx from 'clsx'; import React from 'react'; @@ -8,7 +9,7 @@ import styles from './index.module.css'; function FooterLinksColumn({ column }) { return ( <> -
{column.title}
+
{column.title}