Skip to content
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

Fix proto comments for better markdown output #1331

Merged
merged 4 commits into from
Jan 15, 2021
Merged

Fix proto comments for better markdown output #1331

merged 4 commits into from
Jan 15, 2021

Conversation

hsorellana
Copy link
Contributor

What this PR does / Why we need it:
Improves the definition in protobuf objects so when the autogenerated documentation has an improved display of it

Which issue(s) this PR fixes:

Special notes for your reviewer:

api/frontend.proto Outdated Show resolved Hide resolved
@@ -239,9 +236,10 @@ message Match {
reserved 5, 6;
}

// Represents a backfill entity which is used to fill partially full matches.
//

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You removed this newline between the comment and the beta feature warning elsewhere, why add it here?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My initial intention was to keep a separate line between object description and the beta feature warning but i realized this only works at top level. If i put a separate line in an inner field, the markdown generated has tables broken visually

@Laremere Laremere merged commit a17eb3b into googleforgames:master Jan 15, 2021
@syntxerror syntxerror added this to the v1.2.0 milestone Mar 25, 2021
@syntxerror syntxerror added area/developer-experience This issue impacts developer experience when building a Matchmaker using Open Match area/refinement labels Mar 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/developer-experience This issue impacts developer experience when building a Matchmaker using Open Match area/refinement cla: yes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants