-
Notifications
You must be signed in to change notification settings - Fork 13k
Update Java and C++ style guides with various changes since last update #196
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
Linking to the internal style groups to make sure there's buy-in before we merge this. |
|
||
<p>Namespaces wrap the entire source file after | ||
includes, | ||
<a href="https://gflags.github.io/gflags/"> | ||
<a href="http://google-gflags.googlecode.com/"> |
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 think we want the LHS github URL.
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.
This has been reverted. The internal version of this file had gotten out of sync.
@@ -1594,50 +1599,30 @@ <h3 id="Access_Control">Access Control</h3> | |||
be <code>protected</code> when using | |||
|
|||
|
|||
<a href="https://code.google.com/p/googletest/">Google | |||
<a href="http://code.google.com/p/googletest/">Google |
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.
Do we really want to drop https? Double check other URLs in this edit. Also this particular URL should be https://github.com/google/googletest.
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.
Same here - this should be fixed now.
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.
Looks good.
LGTM (C++ only, didn't look at Java) |
BTW, without wanting to spoil all the fun of manually editing HTML, maybe any of the google maintainers would be interested in converting all guidelines to markdown? As I sketched here a long time ago: #36 |
Internally the new JS guide is markdown. Unfortunately, or internal On Nov 5, 2016 6:10 PM, "Thibault Kruse" [email protected] wrote:
|
Interesting. But still how is html better than hoedown on github? |
Because we can actually produce it and have it render correctly. Our style It's a great feature request to work toward, and I'd personally love to see On Nov 5, 2016 9:58 PM, "Thibault Kruse" [email protected] wrote: Interesting. But still how is html better than hoedown on github? — |
So this "externalization process" cut's away pieces that must not be open-source for now? Or could Google publish the raw hoedown and externalization scripts on github as well as the HTML so that contributors may both contribute to the raw sources directly as well as work on the transformation? Additionally, what about the guides provided as xml files (objc, shell, lisp, ...), are they internally in hoedown, or is it interesting for them to be converted to markdown? |
Internal Java people are okay with this. Can somebody merge it? |
No description provided.