From 4cb18a99fe5e305d8eb17110f33707bd5857c57d Mon Sep 17 00:00:00 2001 From: Jake Date: Wed, 6 Jul 2016 22:44:09 -0700 Subject: [PATCH] Fix dead links to Google style guide A few of the links pointing to Google's cpp style guide were pointing to dead pages where the old Google code project was. The project has since switched to Github and hosts itself as html pages. This commit updates the references to point to the new urls. --- docs/style_guide.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/style_guide.md b/docs/style_guide.md index c1789af5d..3252e7c93 100644 --- a/docs/style_guide.md +++ b/docs/style_guide.md @@ -1,7 +1,7 @@ # Style Guide The style guide can be summed up as 'clang-format with the Google style set'. -In addition, the [Google Style Guide](http://google-styleguide.googlecode.com/svn/trunk/cppguide.xml) +In addition, the [Google Style Guide](https://google.github.io/styleguide/cppguide.html) is followed and cpplint is the source of truth. When in doubt, defer to what code in the project already does. @@ -10,8 +10,8 @@ Base rules: * 80 column line length max * LF (Unix-style) line endings * 2-space soft tabs, no TABs! -* [Google Style Guide](http://google-styleguide.googlecode.com/svn/trunk/cppguide.xml) for naming/casing/etc -* Sort includes according to the [style guide rules](http://google-styleguide.googlecode.com/svn/trunk/cppguide.html#Names_and_Order_of_Includes) +* [Google Style Guide](https://google.github.io/styleguide/cppguide.html) for naming/casing/etc +* Sort includes according to the [style guide rules](https://google.github.io/styleguide/cppguide.html#Names_and_Order_of_Includes) * Comments are properly punctuated (that means capitalization and periods, etc) * TODO's must be attributed like `// TODO(yourgithubname): foo.` @@ -21,7 +21,7 @@ lines. ### Why? -To quote the [Google Style Guide](http://google-styleguide.googlecode.com/svn/trunk/cppguide.xml): +To quote the [Google Style Guide](https://google.github.io/styleguide/cppguide.html): ``` One way in which we keep the code base manageable is by enforcing consistency.