@@ -20,7 +20,8 @@ module.exports = {
20
20
projectName : 'Jupyter UI' ,
21
21
plugins : [
22
22
'@datalayer/jupyter-docusaurus-plugin' ,
23
- '@docusaurus/theme-live-codeblock'
23
+ '@docusaurus/theme-live-codeblock' ,
24
+ 'docusaurus-lunr-search' ,
24
25
] ,
25
26
/*
26
27
'docusaurus-plugin-typedoc',
@@ -29,163 +30,173 @@ module.exports = {
29
30
tsconfig: '../tsconfig.json',
30
31
},
31
32
*/
32
- themeConfig : {
33
- colorMode : {
34
- defaultMode : 'light' ,
35
- disableSwitch : true ,
36
- } ,
37
- liveCodeBlock : {
38
- playgroundPosition : 'bottom' ,
39
- } ,
40
- navbar : {
41
- title : 'Jupyter UI' ,
42
- logo : {
43
- alt : 'Datalayer Logo' ,
44
- src : 'img/datalayer/logo.svg' ,
33
+ themes : [
34
+ '@docusaurus/theme-mermaid' ,
35
+ ] ,
36
+ themeConfig : {
37
+ colorMode : {
38
+ defaultMode : 'light' ,
39
+ disableSwitch : true ,
40
+ } ,
41
+ prism : {
42
+ additionalLanguages : [ 'bash' ] ,
43
+ } ,
44
+ liveCodeBlock : {
45
+ playgroundPosition : 'bottom' ,
46
+ } ,
47
+ navbar : {
48
+ title : 'Jupyter UI' ,
49
+ logo : {
50
+ alt : 'Datalayer Logo' ,
51
+ src : 'img/datalayer/logo.svg' ,
52
+ } ,
53
+ items : [
54
+ {
55
+ type : 'doc' ,
56
+ docId : 'about/index' ,
57
+ position : 'left' ,
58
+ label : 'About' ,
59
+ } ,
60
+ {
61
+ type : 'doc' ,
62
+ docId : '/category/develop' ,
63
+ position : 'left' ,
64
+ label : 'Develop' ,
65
+ } ,
66
+ {
67
+ type : 'doc' ,
68
+ docId : '/category/components' ,
69
+ position : 'left' ,
70
+ label : 'Components' ,
71
+ } ,
72
+ {
73
+ type : 'doc' ,
74
+ docId : '/category/state' ,
75
+ position : 'left' ,
76
+ label : 'State' ,
77
+ } ,
78
+ {
79
+ type : 'doc' ,
80
+ docId : '/category/deployments' ,
81
+ position : 'left' ,
82
+ label : 'Deployments' ,
83
+ } ,
84
+ {
85
+ type : 'doc' ,
86
+ docId : '/category/examples' ,
87
+ position : 'left' ,
88
+ label : 'Examples' ,
89
+ } ,
90
+ {
91
+ type : 'doc' ,
92
+ docId : '/category/integrations' ,
93
+ position : 'left' ,
94
+ label : 'Integrations' ,
95
+ } ,
96
+ {
97
+ type : 'doc' ,
98
+ docId : '/category/themes' ,
99
+ position : 'left' ,
100
+ label : 'Themes' ,
101
+ } ,
102
+ {
103
+ type : 'doc' ,
104
+ docId : '/category/demos' ,
105
+ position : 'left' ,
106
+ label : 'Demos' ,
107
+ } ,
108
+ {
109
+ type : 'doc' ,
110
+ docId : 'resources/index' ,
111
+ position : 'left' ,
112
+ label : 'Resources' ,
113
+ } ,
114
+ {
115
+ type : 'doc' ,
116
+ docId : 'support/index' ,
117
+ position : 'left' ,
118
+ label : 'Support' ,
119
+ } ,
120
+ {
121
+ type : 'doc' ,
122
+ docId : 'license/index' ,
123
+ position : 'left' ,
124
+ label : 'License' ,
125
+ } ,
126
+ {
127
+ href : 'https://www.linkedin.com/company/datalayer' ,
128
+ position : 'right' ,
129
+ className : 'header-linkedin-link' ,
130
+ 'aria-label' : 'Linkedin' ,
131
+ } ,
132
+ {
133
+ href : 'https://x.com/DatalayerIO' ,
134
+ position : 'right' ,
135
+ className : 'header-x-link' ,
136
+ 'aria-label' : 'X' ,
137
+ } ,
138
+ {
139
+ href : 'https://github.com/datalayer/jupyter-ui' ,
140
+ position : 'right' ,
141
+ className : 'header-github-link' ,
142
+ 'aria-label' : 'GitHub repository' ,
143
+ } ,
144
+ {
145
+ href : 'https://datalayer.tech' ,
146
+ position : 'right' ,
147
+ className : 'header-datalayer-io-link' ,
148
+ 'aria-label' : 'Datalayer Tech' ,
149
+ } ,
150
+ ] ,
151
+ } ,
152
+ footer : {
153
+ style : 'dark' ,
154
+ links : [
155
+ {
156
+ title : 'Community' ,
157
+ items : [
158
+ {
159
+ label : 'GitHub' ,
160
+ href : 'https://github.com/datalayer' ,
161
+ } ,
162
+ {
163
+ label : 'X' ,
164
+ href : 'https://x.com/datalayerio' ,
165
+ } ,
166
+ {
167
+ label : 'Linkedin' ,
168
+ href : 'https://www.linkedin.com/company/datalayer' ,
169
+ } ,
170
+ ] ,
171
+ } ,
172
+ {
173
+ title : 'More' ,
174
+ items : [
175
+ {
176
+ label : 'Datalayer' ,
177
+ href : 'https://datalayer.io' ,
178
+ } ,
179
+ {
180
+ label : 'Datalayer Docs' ,
181
+ href : 'https://docs.datalayer.io' ,
182
+ } ,
183
+ {
184
+ label : 'Datalayer Tech' ,
185
+ href : 'https://datalayer.tech' ,
186
+ } ,
187
+ {
188
+ label : 'Datalayer Guide' ,
189
+ href : 'https://datalayer.guide' ,
190
+ } ,
191
+ {
192
+ label : 'Datalayer Blog' ,
193
+ href : 'https://datalayer.blog' ,
194
+ } ,
195
+ ] ,
196
+ }
197
+ ] ,
198
+ copyright : `Copyright © ${ new Date ( ) . getFullYear ( ) } Datalayer, Inc.` ,
45
199
} ,
46
- items : [
47
- {
48
- type : 'doc' ,
49
- docId : 'about/index' ,
50
- position : 'left' ,
51
- label : 'About' ,
52
- } ,
53
- {
54
- type : 'doc' ,
55
- docId : '/category/develop' ,
56
- position : 'left' ,
57
- label : 'Develop' ,
58
- } ,
59
- {
60
- type : 'doc' ,
61
- docId : '/category/components' ,
62
- position : 'left' ,
63
- label : 'Components' ,
64
- } ,
65
- {
66
- type : 'doc' ,
67
- docId : '/category/state' ,
68
- position : 'left' ,
69
- label : 'State' ,
70
- } ,
71
- {
72
- type : 'doc' ,
73
- docId : '/category/deployments' ,
74
- position : 'left' ,
75
- label : 'Deployments' ,
76
- } ,
77
- {
78
- type : 'doc' ,
79
- docId : '/category/examples' ,
80
- position : 'left' ,
81
- label : 'Examples' ,
82
- } ,
83
- {
84
- type : 'doc' ,
85
- docId : '/category/integrations' ,
86
- position : 'left' ,
87
- label : 'Integrations' ,
88
- } ,
89
- {
90
- type : 'doc' ,
91
- docId : '/category/themes' ,
92
- position : 'left' ,
93
- label : 'Themes' ,
94
- } ,
95
- {
96
- type : 'doc' ,
97
- docId : '/category/demos' ,
98
- position : 'left' ,
99
- label : 'Demos' ,
100
- } ,
101
- {
102
- type : 'doc' ,
103
- docId : 'resources/index' ,
104
- position : 'left' ,
105
- label : 'Resources' ,
106
- } ,
107
- {
108
- type : 'doc' ,
109
- docId : 'support/index' ,
110
- position : 'left' ,
111
- label : 'Support' ,
112
- } ,
113
- {
114
- type : 'doc' ,
115
- docId : 'license/index' ,
116
- position : 'left' ,
117
- label : 'License' ,
118
- } ,
119
- {
120
- href : 'https://www.linkedin.com/company/datalayer' ,
121
- position : 'right' ,
122
- className : 'header-linkedin-link' ,
123
- 'aria-label' : 'Linkedin' ,
124
- } ,
125
- {
126
- href : 'https://x.com/DatalayerIO' ,
127
- position : 'right' ,
128
- className : 'header-x-link' ,
129
- 'aria-label' : 'X' ,
130
- } ,
131
- {
132
- href : 'https://github.com/datalayer/jupyter-ui' ,
133
- position : 'right' ,
134
- className : 'header-github-link' ,
135
- 'aria-label' : 'GitHub repository' ,
136
- } ,
137
- {
138
- href : 'https://datalayer.tech' ,
139
- position : 'right' ,
140
- className : 'header-datalayer-io-link' ,
141
- 'aria-label' : 'Datalayer Tech' ,
142
- } ,
143
- ] ,
144
- } ,
145
- footer : {
146
- style : 'dark' ,
147
- links : [
148
- {
149
- title : 'Community' ,
150
- items : [
151
- {
152
- label : 'GitHub' ,
153
- href : 'https://github.com/datalayer' ,
154
- } ,
155
- {
156
- label : 'X' ,
157
- href : 'https://x.com/datalayerio' ,
158
- } ,
159
- {
160
- label : 'Linkedin' ,
161
- href : 'https://www.linkedin.com/company/datalayer' ,
162
- } ,
163
- ] ,
164
- } ,
165
- {
166
- title : 'More' ,
167
- items : [
168
- {
169
- label : 'Datalayer' ,
170
- href : 'https://datalayer.io' ,
171
- } ,
172
- {
173
- label : 'Datalayer Tech' ,
174
- href : 'https://datalayer.tech' ,
175
- } ,
176
- {
177
- label : 'Datalayer Guide' ,
178
- href : 'https://datalayer.guide' ,
179
- } ,
180
- {
181
- label : 'Datalayer Blog' ,
182
- href : 'https://datalayer.blog' ,
183
- } ,
184
- ] ,
185
- }
186
- ] ,
187
- copyright : `Copyright © ${ new Date ( ) . getFullYear ( ) } Datalayer, Inc.` ,
188
- } ,
189
200
} ,
190
201
presets : [
191
202
[
0 commit comments