@@ -35,23 +35,23 @@ const config: Config = {
35
35
} ,
36
36
37
37
plugins : [
38
- [
39
- "./plugins/blog-plugin" ,
40
- {
41
- id : "blog" ,
42
- routeBasePath : "blog" ,
43
- path : "./blog" ,
44
- blogTitle : "CodeRabbit Blog" ,
45
- blogDescription : "Blog" ,
46
- tagsBasePath : "/tags" ,
47
- editLocalizedFiles : false ,
48
- showReadingTime : true ,
49
- blogSidebarCount : "ALL" ,
50
- blogSidebarTitle : "All our posts" ,
51
- blogListComponent : "@theme/BlogListPage" ,
52
- blogPostComponent : "@theme/BlogPostPage" ,
53
- } ,
54
- ] ,
38
+ // [
39
+ // "./plugins/blog-plugin",
40
+ // {
41
+ // id: "blog",
42
+ // routeBasePath: "blog",
43
+ // path: "./blog",
44
+ // blogTitle: "CodeRabbit Blog",
45
+ // blogDescription: "Blog",
46
+ // tagsBasePath: "/tags",
47
+ // editLocalizedFiles: false,
48
+ // showReadingTime: true,
49
+ // blogSidebarCount: "ALL",
50
+ // blogSidebarTitle: "All our posts",
51
+ // blogListComponent: "@theme/BlogListPage",
52
+ // blogPostComponent: "@theme/BlogPostPage",
53
+ // },
54
+ // ],
55
55
[
56
56
"@docusaurus/plugin-client-redirects" ,
57
57
{
@@ -135,21 +135,7 @@ const config: Config = {
135
135
hideable : true ,
136
136
} ,
137
137
} ,
138
- metadata : [
139
- { name : "keywords" , content : "ai, blog" } ,
140
- { name : "twitter:card" , content : "summary_large_image" } ,
141
- ] ,
142
- headTags : [
143
- // Declare a <link> preconnect tag
144
- {
145
- tagName : "link" ,
146
- attributes : {
147
- rel : "preconnect" ,
148
- href : "https://coderabbit.ai/blog/coderabbit-deep-dive" ,
149
- } ,
150
- } ,
151
- // Declare some json-ld structured data
152
- ] ,
138
+ metadata : [ { name : "twitter:card" , content : "summary_large_image" } ] ,
153
139
navbar : {
154
140
title : "" ,
155
141
hideOnScroll : true ,
@@ -172,6 +158,27 @@ const config: Config = {
172
158
theme : prismThemes . github ,
173
159
darkTheme : prismThemes . dracula ,
174
160
} ,
161
+ algolia : {
162
+ // The application ID provided by Algolia
163
+ appId : "4MKM4DJT5D" ,
164
+
165
+ // Public API key: it is safe to commit it
166
+ apiKey : "506abdefe85f2dc642b70e28b5026d77" ,
167
+
168
+ indexName : "coderabbit" ,
169
+
170
+ // Optional: see doc section below
171
+ contextualSearch : true ,
172
+
173
+ // Optional: Algolia search parameters
174
+ searchParameters : { } ,
175
+
176
+ // Optional: path for search page that enabled by default (`false` to disable it)
177
+ searchPagePath : "search" ,
178
+
179
+ // Optional: whether the insights feature is enabled or not on Docsearch (`false` by default)
180
+ insights : false ,
181
+ } ,
175
182
} satisfies Preset . ThemeConfig ,
176
183
} ;
177
184
0 commit comments