From 0cfa0fb7e89d4547fddcc812f15c894467a104e4 Mon Sep 17 00:00:00 2001 From: Jacqueline Watts Date: Wed, 30 May 2018 13:45:04 -0700 Subject: [PATCH] Update links from forge -> eng docs Summary: This commit updates any links in our setup script that used to go to Forge to their new eng doc pages (or in the case of our styleguides then to our Github repo). Test Plan: Fingers crossed Reviewers: benkraft, csilvers Reviewed By: benkraft, csilvers Subscribers: csilvers Differential Revision: https://phabricator.khanacademy.org/D45306 --- .vim/ftplugin/css.vim | 2 +- .vim/ftplugin/javascript.vim | 2 +- .vim/ftplugin/less.vim | 2 +- .vim/ftplugin/python.vim | 2 +- mac-android-setup.sh | 2 +- mac-ios-setup.sh | 2 +- setup.sh | 4 ++-- 7 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.vim/ftplugin/css.vim b/.vim/ftplugin/css.vim index 6bfb377..0f28e20 100644 --- a/.vim/ftplugin/css.vim +++ b/.vim/ftplugin/css.vim @@ -1,3 +1,3 @@ " Khan Academy style guidelines: 4-space indents -" https://sites.google.com/a/khanacademy.org/forge/for-developers/styleguide/html-css-etc +" https://github.com/Khan/style-guides/blob/master/style/css.md setlocal expandtab ts=4 sw=4 sts=4 diff --git a/.vim/ftplugin/javascript.vim b/.vim/ftplugin/javascript.vim index 2f3a6c5..5b0ed6d 100644 --- a/.vim/ftplugin/javascript.vim +++ b/.vim/ftplugin/javascript.vim @@ -1,3 +1,3 @@ " Khan Academy style guidelines: 4-space indents -" https://sites.google.com/a/khanacademy.org/forge/for-developers/styleguide/javascript +" https://github.com/Khan/style-guides/blob/master/style/javascript.md setlocal expandtab sts=4 sw=4 ts=4 diff --git a/.vim/ftplugin/less.vim b/.vim/ftplugin/less.vim index 6bfb377..0f28e20 100644 --- a/.vim/ftplugin/less.vim +++ b/.vim/ftplugin/less.vim @@ -1,3 +1,3 @@ " Khan Academy style guidelines: 4-space indents -" https://sites.google.com/a/khanacademy.org/forge/for-developers/styleguide/html-css-etc +" https://github.com/Khan/style-guides/blob/master/style/css.md setlocal expandtab ts=4 sw=4 sts=4 diff --git a/.vim/ftplugin/python.vim b/.vim/ftplugin/python.vim index f6fc6d3..5a2ea98 100644 --- a/.vim/ftplugin/python.vim +++ b/.vim/ftplugin/python.vim @@ -1,5 +1,5 @@ " Khan Academy style guidelines: 4-space indents -" https://sites.google.com/a/khanacademy.org/forge/for-developers/styleguide/python +" https://github.com/Khan/style-guides/blob/master/style/python.md setlocal expandtab ts=4 sw=4 sts=4 " PEP-8 wants this (as does Khan linters) diff --git a/mac-android-setup.sh b/mac-android-setup.sh index 1b10c52..9c31570 100755 --- a/mac-android-setup.sh +++ b/mac-android-setup.sh @@ -146,4 +146,4 @@ install_watchman install_react_native_dependencies update "Done! Complete setup instructions at \ -https://sites.google.com/a/khanacademy.org/forge/for-khan-employees/-new-employees-onboard-doc/developer-setup/mobile-setup/android-setup" +https://docs.google.com/document/d/1QMMgvycznCezczZojEdAk8WHm6oTDFwi6bEutYQJ40o" diff --git a/mac-ios-setup.sh b/mac-ios-setup.sh index 8ee1fe6..63373e6 100755 --- a/mac-ios-setup.sh +++ b/mac-ios-setup.sh @@ -69,4 +69,4 @@ install_watchman install_react_native_dependencies update "Done! Complete setup instructions at \ -https://sites.google.com/a/khanacademy.org/forge/for-khan-employees/-new-employees-onboard-doc/developer-setup/mobile-setup/ios-setup" +https://docs.google.com/document/d/15FxEYI7l_p4mMv3SYFSIM6cxiOz6I4pxEvzDLFle-eE" diff --git a/setup.sh b/setup.sh index f1d2a87..d3a075e 100755 --- a/setup.sh +++ b/setup.sh @@ -61,7 +61,7 @@ check_dependencies() { # You need to have run the setup to install binaries: node, npm/etc. if ! npm --version >/dev/null; then echo "You must install binaries before running $0. See" - echo " https://sites.google.com/a/khanacademy.org/forge/for-khan-employees/-new-employees-onboard-doc/developer-setup" + echo " https://docs.google.com/document/d/1aD1K0t8BhJABMug14zFZE_Ea73am0EiU2szjcsILkiU" exit 1 fi } @@ -234,7 +234,7 @@ install_deps() { sudo easy_install --quiet pip # Install virtualenv. - # https://sites.google.com/a/khanacademy.org/forge/for-khan-employees/-new-employees-onboard-doc/developer-setup/using-virtualenv + # https://docs.google.com/document/d/1zrmm6byPImfbt7wDyS8PpULwnEckSxna2jhSl38cWt8 sudo pip install -q virtualenv if [ ! -d "$ROOT/.virtualenv/khan27" ]; then # Note that --no-site-packages is the default on recent virtualenv,