-
Notifications
You must be signed in to change notification settings - Fork 192
Update generate-all-docs command logic to fetch installed plugins #3192
Conversation
Codecov Report
@@ Coverage Diff @@
## main #3192 +/- ##
==========================================
+ Coverage 45.78% 46.49% +0.70%
==========================================
Files 361 342 -19
Lines 37653 35301 -2352
==========================================
- Hits 17240 16412 -828
+ Misses 18836 17405 -1431
+ Partials 1577 1484 -93
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
29d318f
to
8cd1959
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very nice. LGTM.
Just a couple of nits and suggestions.
6a649f5
to
e2f7f94
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
a45576c
to
fb30554
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Thanks for the fix.
3792dc0
to
34bd886
Compare
27c6954
to
7c4e4da
Compare
…rect directory The tanzu generate-all-docs command is broken because it's using the legacy API to fetch installed plugins and does not consider user input value for the output directory; this PR fixes below: 1. 'tanzu generate-all-docs' command logic updated to use context-aware plugin list API, and deprecate the legacy API 2. 'tanzu generate-all-docs --docs-dir' command logic updated to consider the user input value for the input flag '--docs-dir' docs output directory and generate docs to the given output directory 3. update the error message if there is any error while reading the output directory
aafb53d
to
b098f7e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
What this PR does / why we need it
The
tanzu generate-all-docs
command is broken because it's using the legacy API to fetch installed plugins and does not consider user input value for the output directory; this PR fixes below:tanzu generate-all-docs
command logic updated to use context-aware plugin list API, and deprecate the legacy APItanzu generate-all-docs --docs-dir
command logic updated to consider the user input value for the input flag '--docs-dir' docs output directory and generate docs to the given output directoryWhich issue(s) this PR fixes
Fixes #1765
Describe testing done for PR
tanzu generate-all-docs
to test docs for all installed pluginstanzu generate-all-docs --docs-dir
to test docs to be generated on the given output directoryRelease note
Additional information
Special notes for your reviewer