Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs(lambda): log group docs not being rendered properly (#28871)
TSDoc for `logGroup` is not being rendered properly due to the use of `<` and `>`. This affects Vscode: ![Screenshot 2024-01-25 164442](https://github.com/aws/aws-cdk/assets/61606375/9db93b8c-dcbc-437e-8c07-a5f6b30c99b7) And `aws-cdk-lib` docs as well: https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_lambda.Function.html#loggroup ![Screenshot 2024-01-25 164752](https://github.com/aws/aws-cdk/assets/61606375/a924353e-f5c2-4355-80d8-b511bb6488a3) Fixed by escaping `<` and `>` properly This is probably caused by `<` is interpreted as opening `JSX` tags by `MDX`. After fix: ![Screenshot 2024-01-25 165425](https://github.com/aws/aws-cdk/assets/61606375/c40c225b-cfac-4cf8-a102-832bc5f00213) ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
- Loading branch information