@apify/docs-theme 1.0.87 → 1.0.88

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@apify/docs-theme",
3
- "version": "1.0.87",
3
+ "version": "1.0.88",
4
4
  "description": "",
5
5
  "main": "./src/index.js",
6
6
  "files": [
@@ -27,7 +27,7 @@
27
27
  "prism-react-renderer": "^1.3.5"
28
28
  },
29
29
  "peerDependencies": {
30
- "@docsearch/react": "*",
30
+ "@apify/docsearch-apify-docs": "*",
31
31
  "react": "*",
32
32
  "react-dom": "*"
33
33
  }
package/src/config.js CHANGED
@@ -241,8 +241,8 @@ const themeConfig = ({
241
241
  },
242
242
  algolia: {
243
243
  appId: 'N8EOCSBQGH',
244
- apiKey: 'b43e67a96ed18c7f63f5fd965906a96d', // search only (public) API key
245
- indexName: 'apify_sdk',
244
+ apiKey: 'e97714a64e2b4b8b8fe0b01cd8592870', // search only (public) API key
245
+ indexName: 'crawler_dev_apify_sdk',
246
246
  algoliaOptions: {
247
247
  facetFilters: ['version:VERSION'],
248
248
  },
@@ -1,5 +1,5 @@
1
1
  import React, { useCallback, useMemo, useRef, useState } from 'react';
2
- import { DocSearchButton, useDocSearchKeyboardEvents } from '@docsearch/react';
2
+ import { DocSearchButton, useDocSearchKeyboardEvents } from '@apify/docsearch-apify-docs';
3
3
  import Head from '@docusaurus/Head';
4
4
  import Link from '@docusaurus/Link';
5
5
  import { useSearchLinkCreator } from '@docusaurus/theme-common/internal';
@@ -96,8 +96,8 @@ function DocSearch({ contextualSearch, externalUrlRegex, ...props }) {
96
96
  return Promise.resolve();
97
97
  }
98
98
  return Promise.all([
99
- import('@docsearch/react/modal'),
100
- import('@docsearch/react/style'),
99
+ import('@apify/docsearch-apify-docs/modal'),
100
+ import('@apify/docsearch-apify-docs/style'),
101
101
  import('./styles.css'),
102
102
  ]).then(([{ DocSearchModal: Modal }]) => {
103
103
  DocSearchModal = Modal;