IgniteUI / igniteui-xplat-docs

cross-platform docs for Ignite UI for Angular, Blazor, React, and WebComponents
10 stars 4 forks source link

API - Broken links in Calendar component topic #277

Open gedinakova opened 2 years ago

gedinakova commented 2 years ago
  1. Navigate to https://www.infragistics.com/products/ignite-ui-web-components/web-components/components/scheduling/calendar
  2. Check the api links

image

mddifilippo89 commented 2 years ago

@HUSSAR-mtrela The issue has to do with the API. The property links use "classes" instead of "interfaces"

eg. https://staging.infragistics.com/products/ignite-ui-web-components/docs/typescript/latest/interfaces/DateRangeDescriptor.html

HUSSAR-mtrela commented 2 years ago

@gmurray81 do you know why API Mapping or xplat transformer is trying to link to DateRangeDescriptor class: https://staging.infragistics.com/products/ignite-ui-web-components/docs/typescript/latest/classes/DateRangeDescriptor.html instead of DateRangeDescriptor interface: https://staging.infragistics.com/products/ignite-ui-web-components/docs/typescript/latest/interfaces/DateRangeDescriptor.html

@gmurray81 this still issue occurs in API mapping and let me know how can we fix this issue with Classes vs Interfaces?

gmurray81 commented 1 year ago

@HUSSAR-mtrela it's because we map that one from an interface to a class in the API maps for Blazor reasons. I think we'll have to track if it was originally an interface down at the WC level in the API maps so that we know how to resolve the link properly