diff --git a/apify-docs-theme/package.json b/apify-docs-theme/package.json
index a014ef42c7..f5806e3bc4 100644
--- a/apify-docs-theme/package.json
+++ b/apify-docs-theme/package.json
@@ -20,7 +20,7 @@
},
"dependencies": {
"@apify/docs-search-modal": "^1.2.2",
- "@docusaurus/theme-common": "3.7.0",
+ "@docusaurus/theme-common": "^3.7.0",
"@stackql/docusaurus-plugin-hubspot": "^1.1.0",
"algoliasearch": "^5.19.0",
"algoliasearch-helper": "^3.22.6",
diff --git a/apify-docs-theme/src/config.js b/apify-docs-theme/src/config.js
index c23150c3e9..5cb7c0b85e 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: 'apify_sdk_v2',
+ 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 fb5b24ee12..019c154742 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}
{column.items.map((item, i) => (
-
@@ -28,8 +29,8 @@ function Footer() {
const { links, style } = footer;
return (