Skip to content

(cli): cdk v2 docs command opens v1 document #17963

@tmokmss

Description

@tmokmss

What is the problem?

cdk docs command opens https://docs.aws.amazon.com/cdk/api/latest/ , that is currently document for CDK v1.

When docs command is used in CDK v2, it should directly open v2 document https://docs.aws.amazon.com/cdk/api/v2/.

Reproduction Steps

run cdk docs

What did you expect to happen?

document for CDK v2 would be opened.

What actually happened?

document for CDK v1 is opened.

CDK CLI Version

2.1.0

Framework Version

No response

Node.js Version

16

OS

macOS

Language

Typescript

Language Version

No response

Other information

No response

Metadata

Metadata

Assignees

Labels

bugThis issue is a bug.effort/smallSmall work item – less than a day of effortp1package/toolsRelated to AWS CDK Tools or CLI

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions