From ea6636ffbce03f7fefb0a51a2bb0056792098b37 Mon Sep 17 00:00:00 2001 From: Petar Penovic Date: Mon, 26 Aug 2024 00:05:51 +0200 Subject: [PATCH] docs: adjust banner migration link --- www/docusaurus.config.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/www/docusaurus.config.js b/www/docusaurus.config.js index f9d5264a6..5e08e6f25 100644 --- a/www/docusaurus.config.js +++ b/www/docusaurus.config.js @@ -11,8 +11,7 @@ const generateSourceLinkTemplate = (gitRevision) => gitRevision || '{gitRevision}' }/{path}#L{line}`; -// TODO: remove the /next/ fragment after the v5 official release -const migrationGuideLink = '/docs/next/guides/migrate'; +const migrationGuideLink = `${generateBaseUrl(process.env.DOCS_BASE_URL)}docs/guides/migrate`; /** @type {import('@docusaurus/types').Config} */ const config = {