From 0ec2481d3b16681bd26b3c42dc70fe1e27cecab8 Mon Sep 17 00:00:00 2001 From: Aleksei Tiurin Date: Fri, 21 Jun 2024 04:46:09 +0300 Subject: [PATCH] Update docusaurus.config.ts --- docs/docusaurus.config.ts | 19 +------------------ 1 file changed, 1 insertion(+), 18 deletions(-) diff --git a/docs/docusaurus.config.ts b/docs/docusaurus.config.ts index 1cc9519b..ef491008 100644 --- a/docs/docusaurus.config.ts +++ b/docs/docusaurus.config.ts @@ -6,8 +6,6 @@ const config: Config = { title: 'Ultron', tagline: 'Compose Multiplatform and Android UI testing framework', favicon: 'img/favicon.ico', - - // Set the production url of your site here url: 'https://ultron.github.io', // Set the // pathname under which your site is served // For GitHub pages deployment, it is often '//' @@ -129,26 +127,11 @@ const config: Config = { fromExtensions: ['html', 'htm'], // /myPage.html -> /myPage toExtensions: ['exe', 'zip'], // /myAsset -> /myAsset.zip (if latter exists) redirects: [ - // /docs/oldDoc -> /docs/newDoc { - to: '/docs', + to: '/docs/', from: '/', }, - // Redirect from multiple old paths to the new path - // { - // to: '/docs/newDoc2', - // from: ['/docs/oldDocFrom2019', '/docs/legacyDocFrom2016'], - // }, ], - createRedirects(existingPath) { - if (existingPath.includes('/community')) { - // Redirect from /docs/team/X to /community/X and /docs/support/X to /community/X - return [ - existingPath.replace('/', '/docs'), - ]; - } - return undefined; // Return a falsy value: no redirect created - }, }, ], ],