-
Notifications
You must be signed in to change notification settings - Fork 54
/
Copy pathdoczrc.js
52 lines (51 loc) · 998 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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
import pkg from './package.json';
export default {
description: pkg.description,
dest: 'dist/docs',
editBranch: 'main',
htmlContext: {
favicon: null,
},
menu: [
'Readme',
'Props',
{
name: 'Usage',
menu: [
'Globe',
'Textures',
'Camera',
'Lights',
'Focus',
'Markers',
'Marker Transitions',
'Callbacks',
'Animations',
'Globe Instance',
],
},
{
name: 'Gallery',
menu: ['Submissions', 'Google Globe Trends'],
},
'FAQ',
'Changelog',
],
modifyBundlerConfig: bundlerConfig => {
const rules = [
{
test: /\.css$/,
loader: 'style-loader!css-loader',
},
];
bundlerConfig.module.rules.push(...rules);
return bundlerConfig;
},
public: 'public',
themeConfig: {
linesToScrollEditor: 10000,
showPlaygroundEditor: true,
},
title: `🌎 ${pkg.name} (v${pkg.version})`,
typescript: true,
};