sublime-build: Change docs links to point to GitHub
When configuration is not properly detected, the user will be
prompted to open the documentation. Previously the user's browser
would open to go.googlesource.com. We decided user-facing docs
should instead be accessed via github.com.
Change-Id: If105d670ab2dcc0eb6459fa5589b49741359869f
Reviewed-on: https://go-review.googlesource.com/16449
Reviewed-by: Jason Buberel <jbuberel@google.com>
diff --git a/golang_build.py b/golang_build.py
index 613c918..c76fcae 100644
--- a/golang_build.py
+++ b/golang_build.py
@@ -528,7 +528,7 @@
if sublime.ok_cancel_dialog(_format_message(prompt), 'Open Documentation'):
window.run_command(
'open_url',
- {'url': 'https://go.googlesource.com/sublime-build/+/master/docs/configuration.md'}
+ {'url': 'https://github.com/golang/sublime-build/blob/master/docs/configuration.md'}
)
except (golangconfig.EnvVarError) as e:
@@ -548,7 +548,7 @@
if sublime.ok_cancel_dialog(_format_message(prompt), 'Open Documentation'):
window.run_command(
'open_url',
- {'url': 'https://go.googlesource.com/sublime-build/+/master/docs/configuration.md'}
+ {'url': 'https://github.com/golang/sublime-build/blob/master/docs/configuration.md'}
)
return (None, None)