Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: submodule doc upload is incorrect #1349

Merged
merged 1 commit into from
Nov 1, 2023

Conversation

otaviomacedo
Copy link
Contributor

When rendering and uploading documentation for the submodules, we are using the Assembly.submodules property and taking only the second component. This does not match up with the actual submodules. For example, in the cdk-nag assembly, there are 46 submodules with prefix cdk-nag.rules: cdk-nag.rules, cdk-nag.rules.apigw, cdk-nag.rules.appsync etc. This logic creates an array with 46 repetitions of the string rules.

Change the selection logic to use the names provided by the listSubmodules() method.


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license

@cdklabs-automation cdklabs-automation added this pull request to the merge queue Nov 1, 2023
Merged via the queue into main with commit a9f1bb1 Nov 1, 2023
7 checks passed
@cdklabs-automation cdklabs-automation deleted the otaviom/submodule-names branch November 1, 2023 15:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants