From 08a34843564ad463a9b5b9b6375aaf0766661222 Mon Sep 17 00:00:00 2001 From: Artem Dzhemesiuk Date: Fri, 23 Jun 2023 03:02:54 +0200 Subject: [PATCH] Fixed API Root menu item --- plugins/js-api/src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/js-api/src/index.ts b/plugins/js-api/src/index.ts index c3c3287..0cb85a7 100644 --- a/plugins/js-api/src/index.ts +++ b/plugins/js-api/src/index.ts @@ -238,7 +238,7 @@ export default function typedocApiPlugin( removeScopes, changelogs, options.sortSidebar, - '/' + options.routeBasePath, + '/' + options.routeBasePath + (metadata.isLast ? '' : ('/' + metadata.versionName)), options.rootEntryName ), };