@docusaurus/theme-search-algolia 0.0.0-4596 → 0.0.0-4605
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": "@docusaurus/theme-search-algolia",
|
|
3
|
-
"version": "0.0.0-
|
|
3
|
+
"version": "0.0.0-4605",
|
|
4
4
|
"description": "Algolia search component for Docusaurus.",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"exports": {
|
|
@@ -26,12 +26,12 @@
|
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"@docsearch/react": "^3.0.0-alpha.50",
|
|
29
|
-
"@docusaurus/core": "0.0.0-
|
|
30
|
-
"@docusaurus/logger": "0.0.0-
|
|
31
|
-
"@docusaurus/theme-common": "0.0.0-
|
|
32
|
-
"@docusaurus/theme-translations": "0.0.0-
|
|
33
|
-
"@docusaurus/utils": "0.0.0-
|
|
34
|
-
"@docusaurus/utils-validation": "0.0.0-
|
|
29
|
+
"@docusaurus/core": "0.0.0-4605",
|
|
30
|
+
"@docusaurus/logger": "0.0.0-4605",
|
|
31
|
+
"@docusaurus/theme-common": "0.0.0-4605",
|
|
32
|
+
"@docusaurus/theme-translations": "0.0.0-4605",
|
|
33
|
+
"@docusaurus/utils": "0.0.0-4605",
|
|
34
|
+
"@docusaurus/utils-validation": "0.0.0-4605",
|
|
35
35
|
"algoliasearch": "^4.12.1",
|
|
36
36
|
"algoliasearch-helper": "^3.7.0",
|
|
37
37
|
"clsx": "^1.1.1",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"utility-types": "^3.10.0"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
|
-
"@docusaurus/module-type-aliases": "0.0.0-
|
|
44
|
+
"@docusaurus/module-type-aliases": "0.0.0-4605",
|
|
45
45
|
"fs-extra": "^10.0.0"
|
|
46
46
|
},
|
|
47
47
|
"peerDependencies": {
|
|
@@ -51,5 +51,5 @@
|
|
|
51
51
|
"engines": {
|
|
52
52
|
"node": ">=14"
|
|
53
53
|
},
|
|
54
|
-
"gitHead": "
|
|
54
|
+
"gitHead": "1accdf614a2844670e33e2f5aea642efe80cec3f"
|
|
55
55
|
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
3
|
-
*
|
|
4
|
-
* This source code is licensed under the MIT license found in the
|
|
5
|
-
* LICENSE file in the root directory of this source tree.
|
|
6
|
-
*/
|
|
7
|
-
/// <reference types="@docusaurus/theme-classic" />
|
|
8
|
-
/// <reference types="react" />
|
|
9
|
-
import type { Props } from '@theme/SearchMetadata';
|
|
10
|
-
declare function SearchMetadata({ locale, version, tag }: Props): JSX.Element;
|
|
11
|
-
export default SearchMetadata;
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
3
|
-
*
|
|
4
|
-
* This source code is licensed under the MIT license found in the
|
|
5
|
-
* LICENSE file in the root directory of this source tree.
|
|
6
|
-
*/
|
|
7
|
-
import React from 'react';
|
|
8
|
-
import Head from '@docusaurus/Head';
|
|
9
|
-
// Override default/agnostic SearchMetadata to use Algolia-specific metadata
|
|
10
|
-
function SearchMetadata({locale, version, tag}) {
|
|
11
|
-
// Seems safe to consider here the locale is the language, as the existing
|
|
12
|
-
// docsearch:language filter is afaik a regular string-based filter
|
|
13
|
-
const language = locale;
|
|
14
|
-
return (
|
|
15
|
-
<Head>
|
|
16
|
-
{language && <meta name="docsearch:language" content={language} />}
|
|
17
|
-
{version && <meta name="docsearch:version" content={version} />}
|
|
18
|
-
{tag && <meta name="docsearch:docusaurus_tag" content={tag} />}
|
|
19
|
-
</Head>
|
|
20
|
-
);
|
|
21
|
-
}
|
|
22
|
-
export default SearchMetadata;
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
3
|
-
*
|
|
4
|
-
* This source code is licensed under the MIT license found in the
|
|
5
|
-
* LICENSE file in the root directory of this source tree.
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
|
-
import React from 'react';
|
|
9
|
-
|
|
10
|
-
import Head from '@docusaurus/Head';
|
|
11
|
-
import type {Props} from '@theme/SearchMetadata';
|
|
12
|
-
|
|
13
|
-
// Override default/agnostic SearchMetadata to use Algolia-specific metadata
|
|
14
|
-
function SearchMetadata({locale, version, tag}: Props): JSX.Element {
|
|
15
|
-
// Seems safe to consider here the locale is the language, as the existing
|
|
16
|
-
// docsearch:language filter is afaik a regular string-based filter
|
|
17
|
-
const language = locale;
|
|
18
|
-
|
|
19
|
-
return (
|
|
20
|
-
<Head>
|
|
21
|
-
{language && <meta name="docsearch:language" content={language} />}
|
|
22
|
-
{version && <meta name="docsearch:version" content={version} />}
|
|
23
|
-
{tag && <meta name="docsearch:docusaurus_tag" content={tag} />}
|
|
24
|
-
</Head>
|
|
25
|
-
);
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
export default SearchMetadata;
|