forked from OffchainLabs/arbitrum-docs
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinkeep.js
More file actions
36 lines (31 loc) · 1.08 KB
/
Copy pathinkeep.js
File metadata and controls
36 lines (31 loc) · 1.08 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
// Shared Inkeep configuration.
// The Inkeep `onEvent` analytics handler lives in `./inkeep.config.js` (client module).
// Functions can't be passed through themeConfig — they get stripped during JSON serialization.
const { themes: prismThemes } = require('prism-react-renderer');
const inkeepBaseSettings = {
apiKey: process.env.INKEEP_API_KEY,
primaryBrandColor: '#213147',
organizationDisplayName: 'Arbitrum',
theme: {
syntaxHighlighter: {
lightTheme: prismThemes.github,
darkTheme: prismThemes.palenight,
},
},
};
const inkeepModalSettings = {
placeholder: 'Search documentation...',
defaultQuery: '',
maxResults: 40,
debounceTimeMs: 300,
shouldOpenLinksInNewTab: true,
};
const inkeepExampleQuestions = [
'How to estimate gas in Arbitrum?',
'What is the difference between Arbitrum One and Nova?',
'How to deploy a smart contract on Arbitrum?',
'What are Arbitrum Orbit chains?',
'How does Arbitrum handle L1 to L2 messaging?',
'What is Arbitrum Stylus?',
];
module.exports = { inkeepBaseSettings, inkeepModalSettings, inkeepExampleQuestions };