-
Notifications
You must be signed in to change notification settings - Fork 81
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
added documentation template #299
added documentation template #299
Conversation
d4a019d
to
daa18ef
Compare
daa18ef
to
0a352af
Compare
Here is the sample of the generated markdown document. I think it can be reviewed from there easily. https://gist.github.com/mdumandag/85dbfdaea7a8f57151bc90565126ba7d |
@mdumandag |
@sancar It is because of this codec documentation. https://github.com/hazelcast/hazelcast-client-protocol/blob/master/protocol-definitions/Client.yaml#L519 . Do you think that this level of detail is needed for this codec ? |
Are we describing what Also I see |
I think the documentation is valuable for the ClientStatistics. |
877dedf
to
66ff26f
Compare
c8052a0
to
b8be733
Compare
b8be733
to
84dfb7e
Compare
{% endfor %} | ||
{% endif %} | ||
{% endfor %} | ||
{% for service in services %} |
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.
Does it make sense to mark some services as internal ones and exclude them from the documentation? I'm primarily talking of MC service.
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.
I am not really sure about this. I agree that it makes some sense to hide them but on the other hand, they are publicly defined and we don't have such separation in other parts of the protocol.
I am thinking of leaving the things as it is but I can quickly change the template to ignore these if we decide to hide them.
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.
As we discuss MC service primarily, it makes sense to hear from @emre. Emre are you fine with having MC-related client messages in the generated protocol documentation?
58694c8
to
6d51479
Compare
Thanks a lot for the detailed review Andrey, I have resolved almost all of them apart from two. Could you take a look at them? Also, added |
@mdumandag changes look good to me. Thanks! As for the second one, if we decide that we should hide internal services from the doc, we could address it in a subsequent PR. |
Thanks a lot for the reviews guys. I am merging this as it is (with hiding internal services like MC). If there will be any objections to that, we can revisit this decision |
A rendered version can be found at https://gist.github.com/mdumandag/edfe7fa2422a9220590cf0f19f8e93ed