commercetools-docs-kit icon indicating copy to clipboard operation
commercetools-docs-kit copied to clipboard

External links identified incorrectly as internal links

Open Anshuman71 opened this issue 1 year ago • 0 comments

If an external link ends with .html it is recognized as an internal link. For example, in the following content the SDKResponse link renders as external but the narrowing link renders as internal. Removing the .html makes the narrowing link render as external.

All API methods return the SDKResponse type, which has an isError boolean property that can be used for narrowing. When isError is false the response contains a data property with the return type from the API hub, and when true there is an error property with details on the error.

17-05-2024-at-17-13-56@2x

Anshuman71 avatar May 17 '24 11:05 Anshuman71