From 5007970c3db5ff83fbabdfc36642d8d25edabcd4 Mon Sep 17 00:00:00 2001 From: Matthieu Riegler Date: Thu, 29 Aug 2024 23:04:49 +0200 Subject: [PATCH] docs: revert changes on API entries urls (#57589) The name `angular_` shouldn't be included in the URL. fixes #57587 PR Close #57589 --- adev/src/app/features/references/helpers/manifest.helper.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/adev/src/app/features/references/helpers/manifest.helper.ts b/adev/src/app/features/references/helpers/manifest.helper.ts index 5f8930b8c0f..1cfcdf990e4 100644 --- a/adev/src/app/features/references/helpers/manifest.helper.ts +++ b/adev/src/app/features/references/helpers/manifest.helper.ts @@ -58,7 +58,8 @@ export function getApiNavigationItems(): NavigationItem[] { } export function getApiUrl(packageEntry: ApiManifestPackage, apiName: string): string { - return `${PagePrefix.API}/${packageEntry.normalizedModuleName}/${apiName}`; + const packageName = packageEntry.normalizedModuleName.replace('angular_', ''); + return `${PagePrefix.API}/${packageName}/${apiName}`; } function getNormalizedFilename(