Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 32d709d

Browse files
docs: add algolia config
1 parent 38f408c commit 32d709d

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

‎documentation/docusaurus.config.js‎

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,26 @@ const config = {
4141
themeConfig:
4242
/** @type {import('@docusaurus/preset-classic').ThemeConfig} */
4343
({
44+
algolia: {
45+
// If Algolia did not provide you any appId, use 'BH4D9OD16A'
46+
appId: 'PI3J7PM083',
47+
48+
// Public API key: it is safe to commit it
49+
apiKey: '6e7f760b010b86880a25aae88e288671',
50+
51+
indexName: 'react-scroll-parallax.damnthat.tv',
52+
53+
// Optional: see doc section below
54+
contextualSearch: true,
55+
56+
// Optional: Specify domains where the navigation should occur through window.location instead on history.push. Useful when our Algolia config crawls multiple documentation sites and we want to navigate with window.location.href to them.
57+
externalUrlRegex: 'external\\.com|domain\\.com',
58+
59+
// Optional: Algolia search parameters
60+
searchParameters: {},
61+
62+
//... other Algolia params
63+
},
4464
navbar: {
4565
hideOnScroll: true,
4666
title: 'React Scroll Parallax',

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /