@@ -35,23 +35,23 @@ const config: Config = {
3535} ,
3636
3737plugins :[
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+ // ],
5555[
5656"@docusaurus/plugin-client-redirects" ,
5757{
@@ -135,21 +135,7 @@ const config: Config = {
135135hideable :true ,
136136} ,
137137} ,
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" } ] ,
153139navbar :{
154140title :"" ,
155141hideOnScroll :true ,
@@ -172,6 +158,27 @@ const config: Config = {
172158theme :prismThemes . github ,
173159darkTheme :prismThemes . dracula ,
174160} ,
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+ } ,
175182} satisfies Preset . ThemeConfig ,
176183} ;
177184