angular / angular

Deliver web apps with confidence 🚀
https://angular.dev
MIT License
95.29k stars 25.02k forks source link

Bad link on https://angular.dev/api/elements/NgElementConstructor #56857

Closed fredsa closed 5 days ago

fredsa commented 1 week ago

Describe the problem that you experienced

https://angular.dev/api/elements/NgElementConstructor contains a bad link:

Enter the URL of the topic with the problem

https://angular.dev/api/elements/NgElementConstructor

Describe what you were looking for in the documentation

No response

Describe the actions that led you to experience the problem

No response

Describe what you want to experience that would fix the problem

No response

Add a screenshot if that helps illustrate the problem

No response

If this problem caused an exception or error, please paste it here

No response

If the problem is browser-specific, please specify the device, OS, browser, and version

No response

Provide any additional information here in as much as detail as you can

No response

JeanMeche commented 1 week ago

The link is actually a valid markdown link but adev doesn't handle it correctly. This needs a fix on the infra part.

https://github.com/angular/angular/blob/e7da8c2b02ae454f377cfa8a854f669cbdde034c/packages/elements/src/create-custom-element.ts#L21