diff --git a/docusaurus.config.js b/docusaurus.config.js index e7892aea299..5a877d5ed8f 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -180,7 +180,9 @@ const config = { { type: 'docsVersionDropdown', position: 'right', - dropdownItemsAfter: [{ to: '/ontology/schemas/credential-dataset-description', label: 'Latest version' }], + dropdownItemsAfter: [ + { to: '/ontology/schemas/credential-dataset-description', label: 'Latest version' } + ], docsPluginId: 'ontology', dropdownActiveClassDisabled: true }, @@ -375,6 +377,17 @@ const config = { path: 'commands', routeBasePath: 'commands/' } + ], + [ + '@docusaurus/plugin-client-redirects', + { + redirects: [ + { + to: '/academy/overview', + from: '/academy' + } + ] + } ] ], scripts: ['/js/matomo.js', '/js/redirect.js']