Skip to content

CLI docs generation is not working well with flags deprecated #5286

Open
@camilamacedo86

Description

@camilamacedo86

Bug Report

If we mark a command flag as deprecated the logic to generate the docs (https://github.com/operator-framework/operator-sdk/blob/master/Makefile#L42) is not adding the flag on the docs.

E.g crd-versions and webhook-versions which were flagged as deprecated

What did you do?

mark flags as deprecated and re-gen the docs

What did you expect to see?

the docs are generated with the flags deprecated and if possible with the info that they are deprecated.

What did you see instead? Under which circumstances?

the flags removed from the docs

Metadata

Metadata

Labels

kind/bugCategorizes issue or PR as related to a bug.kind/documentationCategorizes issue or PR as related to documentation.lifecycle/frozenIndicates that an issue or PR should not be auto-closed due to staleness.

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions