mirror of
https://github.com/datahub-project/datahub.git
synced 2025-12-27 09:58:14 +00:00
fix(doc): re-enable Algolia search (#12834)
This commit is contained in:
parent
2688bf39b4
commit
e5486a5353
@ -289,6 +289,15 @@ module.exports = {
|
||||
// darkTheme: require("prism-react-renderer/themes/vsDark"),
|
||||
additionalLanguages: ["ini", "java", "graphql", "shell-session"],
|
||||
},
|
||||
algolia: {
|
||||
// This is the "Search API Key" in Algolia, which means that it is ok to be public.
|
||||
apiKey: "2adf840a044a5ecbf7bdaac88cbf9ee5",
|
||||
appId: "RK0UG797F3",
|
||||
indexName: "datahubproject",
|
||||
insights: true,
|
||||
contextualSearch: true,
|
||||
// debug: true,
|
||||
},
|
||||
},
|
||||
presets: [
|
||||
[
|
||||
|
||||
@ -9,7 +9,7 @@ export default function LayoutWrapper(props) {
|
||||
<SecondNavbar />
|
||||
{props.children}
|
||||
</Layout>
|
||||
<img referrerpolicy="no-referrer-when-downgrade" src="https://static.scarf.sh/a.png?x-pxid=92db07cf-8934-4b30-857a-3fcfda4c86dd" />
|
||||
<img referrerpolicy="no-referrer-when-downgrade" src="https://static.scarf.sh/a.png?x-pxid=92db07cf-8934-4b30-857a-3fcfda4c86dd" style={{ display: 'none' }} />
|
||||
</>
|
||||
);
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user