-
Notifications
You must be signed in to change notification settings - Fork 0
/
doczrc.js
35 lines (33 loc) · 886 Bytes
/
doczrc.js
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
require('dotenv').config();
export default {
files: 'docs/**/*.{md,mdx,markdown}',
title: 'Docz & Netlify CMS',
siteUrl: 'https://docz-migration.netlify.app',
search: {
indexingModule: require.resolve(
'@component-controls/search-algolia/indexing',
),
searchingModule: '@component-controls/search-algolia',
options: {
saveIndex: true, // turn to false when no more needed to re-index algolia search
indexName: process.env.ALGOLIA_SEARCH_INDEX_NAME,
appID: process.env.ALGOLIA_SEARCH_APP_ID,
searchAPIKey: process.env.ALGOLIA_SEARCH_SEARCH_KEY,
adminAPIKey: process.env.ALGOLIA_SEARCH_ADMIN_KEY,
},
},
menu: [
{
name: 'Quick Start',
menu: [''],
},
{
name: 'Getting Started',
menu: ['Manual Installation'],
},
{
name: 'Configuration',
},
'Components',
],
};