-
Notifications
You must be signed in to change notification settings - Fork 3.7k
When generate doc, ignore the hidden parameters. #16298
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
Conversation
|
@horizonzy Please provide a correct documentation label for your PR. |
|
@urfreespace pls check it, thanks. |
pulsar-admin/pulsar-client/pulsar-perf/pulsar all need to be fixed, I think they are different cmd class file |
|
Run pulsar-admin configFile documents generate functions at local. After this change output: |
Thanks your reminder, the new commit pushed. |
|
@Anonymitaet @momo-jun Pls confirm shall we ignore the |
| for (Field field : fields) { | ||
| FieldContext fieldContext = field.getAnnotation(FieldContext.class); | ||
| if (fieldContext == null) { | ||
| if (fieldContext == null || fieldContext.deprecated()) { |
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.
@urfreespace Pls help check this change, shall we ignore the FileContext.deprecated param.
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.
@Anonymitaet any idea? I think it's not a tech question
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.
@urfreespace I've discussed w/ @horizonzy, we'll use the parameter hidden to determine whether show a flag or not (and ignore the deprecated parameter). I'll huddle w/ u tmr.
|
/pulsarbot run-failure-checks |
1 similar comment
|
/pulsarbot run-failure-checks |
Fixes #15771
Documentation
doc-required(Your PR needs to update docs and you will update later)
doc-not-needed(Please explain why)
doc(Your PR contains doc changes)
doc-complete(Docs have been already added)