@@ -25,14 +25,12 @@ const docusaurusConfig = {
2525 // // template. For example, if you need your repo's URL...
2626 // repoUrl: 'https://github.com/OpenAPITools/openapi-generator',
2727
28- plugins : [ '@docusaurus/plugin-google-analytics' ] ,
28+ // plugins: ['@docusaurus/plugin-google-analytics'],
2929
3030 themeConfig : {
3131 // Open Graph and Twitter card images.
3232 image : 'img/docusaurus.png' ,
3333
34- sidebarCollapsible : true ,
35-
3634 prism : {
3735 theme : require ( 'prism-react-renderer/themes/dracula' ) ,
3836 defaultLanguage : 'bash' ,
@@ -45,7 +43,7 @@ const docusaurusConfig = {
4543 alt : 'OpenAPI Tools logo' ,
4644 } ,
4745
48- links : [
46+ items : [
4947 { to : 'docs/installation' , label : 'Getting Started' } ,
5048 { to : 'docs/generators' , label : 'Generators' } ,
5149 { to : 'docs/roadmap' , label : 'Roadmap' } ,
@@ -56,17 +54,12 @@ const docusaurusConfig = {
5654 ] ,
5755 } ,
5856
59- googleAnalytics : {
60- trackingID : 'UA-132927057-1' ,
61- } ,
62-
6357 algolia : {
64- apiKey : '28e55aff9bab37236baa1c5f0f84f4bb' ,
58+ appId : 'MVE1LN4DBI' ,
59+ apiKey : '3c3f7f355de15fa3f392264b2e7a5300' ,
6560 indexName : 'openapi-generator' ,
66- algoliaOptions : { advancedSyntax : true , hitsPerPage : 5 } ,
6761 } ,
6862
69-
7063 footer : {
7164 style : 'dark' ,
7265
@@ -153,6 +146,7 @@ const docusaurusConfig = {
153146 */
154147 docLayoutComponent : '@theme/DocPage' ,
155148 docItemComponent : '@theme/DocItem' ,
149+ sidebarCollapsible : true ,
156150
157151 editUrl : 'https://github.com/OpenAPITools/openapi-generator/edit/master/website' ,
158152
@@ -166,6 +160,10 @@ const docusaurusConfig = {
166160 // Equivalent to `enableUpdateTime`.
167161 showLastUpdateTime : true ,
168162 } ,
163+
164+ googleAnalytics : {
165+ trackingID : 'UA-132927057-1' ,
166+ } ,
169167 } ,
170168 ] ,
171169 ] ,
0 commit comments