aws-cdk icon indicating copy to clipboard operation
aws-cdk copied to clipboard

(aws-certificatemanager): Typo name in packages with hyphen (-)

Open peterpham opened this issue 1 year ago • 3 comments

Describe the issue

Some TypeScript packages with - seems to be changed to _ on the public documentation

Example: aws-certificatemanager --> aws_certificatemanager aws-apigatewayv2 --> aws_apigatewayv2 aws-xray --> aws_xray

Source: https://github.com/aws/aws-cdk/tree/main/packages/aws-cdk-lib

Copy incorrect package name from the doc gave me error Cannot find module 'aws-cdk-lib/aws_certificatemanager' or its corresponding type declarations.

Links

https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_certificatemanager.CertificateValidation.html

peterpham avatar Jan 21 '25 21:01 peterpham

Are you mentioning the package names in the side panel? Makes sense to me since we are watching typescript document the package name should be consistent. I'll bring this up to the team for further inputs.

Image

pahud avatar Jan 22 '25 17:01 pahud

Correct. I was referring to the side menu, and the table breadcrumb below the heading

peterpham avatar Jan 24 '25 03:01 peterpham

Looks like a bug in docgen.

QuantumNeuralCoder avatar Feb 10 '25 21:02 QuantumNeuralCoder