@apify/docs-theme 1.0.75 → 1.0.76
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
|
@@ -5,7 +5,6 @@ import algoliaSearchHelper from 'algoliasearch-helper';
|
|
|
5
5
|
import algoliaSearch from 'algoliasearch/lite';
|
|
6
6
|
import ExecutionEnvironment from '@docusaurus/ExecutionEnvironment';
|
|
7
7
|
import Head from '@docusaurus/Head';
|
|
8
|
-
import Link from '@docusaurus/Link';
|
|
9
8
|
import { useAllDocsData } from '@docusaurus/plugin-content-docs/client';
|
|
10
9
|
import {
|
|
11
10
|
HtmlClassNameProvider,
|
|
@@ -23,6 +22,7 @@ import {
|
|
|
23
22
|
useSearchResultUrlProcessor,
|
|
24
23
|
} from '@docusaurus/theme-search-algolia/client';
|
|
25
24
|
import Layout from '@theme/Layout';
|
|
25
|
+
import { A } from '../SearchBar';
|
|
26
26
|
import styles from './styles.module.css';
|
|
27
27
|
|
|
28
28
|
// Very simple pluralization: probably good enough for now
|
|
@@ -382,7 +382,7 @@ function SearchPageContent() {
|
|
|
382
382
|
({ title, url, summary, breadcrumbs }, i) => (
|
|
383
383
|
<article key={i} className={styles.searchResultItem}>
|
|
384
384
|
<h2 className={styles.searchResultItemHeading}>
|
|
385
|
-
<
|
|
385
|
+
<A href={url} dangerouslySetInnerHTML={{ __html: title }}/>
|
|
386
386
|
</h2>
|
|
387
387
|
|
|
388
388
|
{breadcrumbs.length > 0 && (
|