docs: revert changes on API entries urls (#57589)

The name `angular_` shouldn't be included in the URL.

fixes #57587

PR Close #57589
This commit is contained in:
Matthieu Riegler 2024-08-29 23:04:49 +02:00 committed by Andrew Kushnir
parent c068045d69
commit 5007970c3d

View file

@ -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(