Hide Forgot
Description of problem: Dynamic plugin doc generation script does not render parameters. Version-Release number of selected component (if applicable): 4.11 How reproducible: Always Steps to Reproduce: 1. cd into ./packages/console-dynamic-plugin-sdk 2. Run `yarn generate-docs` 3. Check in ./packages/console-dynamic-plugin-sdk/generated/doc/api.md Actual results: No parameter fields are rendered in the generated markdown Expected results: Documentation for parameters should be rendered in the API docs Additional info: There is a typo in ./packages/console-dynamic-plugin-sdk/scripts/templates/api.md.ejs where parameters are supposed to be rendered, but the logic also needs to be updated so that when parameters is empty, no section is rendered.
1. cd into ./packages/console-dynamic-plugin-sdk 2. Run `yarn generate-docs` 3. Check in ./packages/console-dynamic-plugin-sdk/generated/doc/api.md WHEN no parameters, Parameters section table is not rendered, also the parameters are now correctly rendered
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Important: OpenShift Container Platform 4.11.0 bug fix and security update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2022:5069