@@ -162,7 +162,7 @@ const config: Config = {
162162 // Please change this to your repo.
163163 // Remove this to remove the "edit this page" links.
164164 editUrl :
165- "https://github.com/openmultiplayer/web/tree /master/frontend/" ,
165+ "https://github.com/openmultiplayer/web/edit /master/frontend/" ,
166166 } ,
167167 blog : {
168168 showReadingTime : true ,
@@ -173,7 +173,7 @@ const config: Config = {
173173 // Please change this to your repo.
174174 // Remove this to remove the "edit this page" links.
175175 editUrl :
176- "https://github.com/openmultiplayer/web/tree /master/frontend/blog" ,
176+ "https://github.com/openmultiplayer/web/edit /master/frontend/blog" ,
177177 // Useful options to enforce blogging best practices
178178 onInlineTags : "warn" ,
179179 onInlineAuthors : "warn" ,
@@ -206,11 +206,11 @@ const config: Config = {
206206 { to : "https://forum.open.mp/" , label : "Forums" , position : "right" } ,
207207 { to : "/servers" , label : "Servers" , position : "right" } ,
208208 { to : "/partners" , label : "Partners" , position : "right" } ,
209- {
210- href : "https://github.com/openmultiplayer" ,
211- label : "GitHub" ,
212- position : "right" ,
213- } ,
209+ // {
210+ // href: "https://github.com/openmultiplayer",
211+ // label: "GitHub",
212+ // position: "right",
213+ // },
214214 {
215215 href : "https://opencollective.com/openmultiplayer" ,
216216 label : "Donate" ,
@@ -299,6 +299,24 @@ const config: Config = {
299299 theme : prismThemes . github ,
300300 darkTheme : prismThemes . dracula ,
301301 } ,
302+ algolia : {
303+ // The application ID provided by Algolia
304+ appId : "AOKXGK39Z7" ,
305+
306+ // Public API key: it is safe to commit it
307+ apiKey : "54204f37e5c8fc2871052d595ee0505e" ,
308+
309+ indexName : "open" ,
310+
311+ // Optional: see doc section below
312+ contextualSearch : true ,
313+
314+ // Optional: path for search page that enabled by default (`false` to disable it)
315+ searchPagePath : "search" ,
316+
317+ // Optional: whether the insights feature is enabled or not on Docsearch (`false` by default)
318+ insights : false ,
319+ } ,
302320 } satisfies Preset . ThemeConfig ,
303321} ;
304322
0 commit comments