mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
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:
parent
c068045d69
commit
5007970c3d
1 changed files with 2 additions and 1 deletions
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Reference in a new issue