forked from nick-keller/react-datasheet-grid
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocusaurus.config.js
More file actions
129 lines (128 loc) · 3.51 KB
/
docusaurus.config.js
File metadata and controls
129 lines (128 loc) · 3.51 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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
const darkCodeTheme = require('prism-react-renderer/themes/dracula')
/** @type {import('@docusaurus/types').DocusaurusConfig} */
module.exports = {
title: 'React Datasheet Grid',
tagline: 'An Excel-like React component to create beautiful spreadsheets',
url: 'https://react-datasheet-grid.netlify.app/',
baseUrl: '/',
onBrokenLinks: 'throw',
onBrokenMarkdownLinks: 'warn',
favicon: 'img/favicon.ico',
organizationName: 'nick-keller', // Usually your GitHub org/user name.
projectName: 'react-datasheet-grid', // Usually your repo name.
themeConfig: {
algolia: {
appId: 'OVO3D4IJS9',
apiKey: '0f37b9b0bd96aa1069cba400c005410b',
indexName: 'react-datasheet-grid',
contextualSearch: false,
searchPagePath: 'search',
},
announcementBar: {
content:
'⭐️ <b>If you like React-Datasheet-Grid, give it a star on <a target="_blank" href="https://github.com/nick-keller/react-datasheet-grid">GitHub</a> and follow us on <a target="_blank" href="https://twitter.com/NicolasKa3">Twitter</a>!</b>',
backgroundColor: '#8bd6c4',
},
navbar: {
title: 'React Datasheet Grid',
items: [
{
href: '/docs/features',
position: 'left',
label: 'Features',
},
{
type: 'doc',
docId: 'getting-started',
position: 'left',
label: 'Doc',
},
{
href: 'https://www.npmjs.com/package/react-datasheet-grid',
label: 'NPM',
position: 'right',
},
{
href: 'https://github.com/nick-keller/react-datasheet-grid',
label: 'GitHub',
position: 'right',
},
],
},
prism: {
theme: darkCodeTheme,
darkTheme: darkCodeTheme,
},
footer: {
style: 'dark',
links: [
{
title: 'Docs',
items: [
{
label: 'Features',
to: '/docs/features',
},
{
label: 'Getting started',
to: '/docs/getting-started',
},
{
label: 'Examples',
to: '/docs/examples/default-values',
},
{
label: 'Reference',
to: '/docs/api-reference/props',
},
],
},
{
title: 'Socials',
items: [
{
label: 'GitHub',
href: 'https://github.com/nick-keller/react-datasheet-grid',
},
{
label: 'NPM',
href: 'https://www.npmjs.com/package/react-datasheet-grid',
},
{
label: 'Tggl: Feature flags for teams',
to: 'https://tggl.io',
rel: '',
},
{
label: 'RabbitGUI: RabbitMQ IDE',
to: 'https://rabbitgui.com/',
rel: '',
},
],
},
],
},
},
presets: [
[
'@docusaurus/preset-classic',
{
docs: {
sidebarPath: require.resolve('./sidebars.js'),
// Please change this to your repo.
editUrl:
'https://github.com/nick-keller/react-datasheet-grid/edit/master/website/',
},
theme: {
customCss: [
require.resolve('./src/css/custom.css'),
require.resolve('react-datasheet-grid/dist/style.css'),
],
},
gtag: {
trackingID: 'G-PZ8BTMNFN9',
},
},
],
],
}