From 4917e91f62a06dfe6db373d077612ec7743dfdc6 Mon Sep 17 00:00:00 2001 From: Sunil Arora Date: Fri, 3 Aug 2018 16:56:30 -0700 Subject: [PATCH] gitbook: fixed installation instructions --- docs/README.md | 4 ++-- .../getting_started/installation_and_setup.md | 24 +++++++++---------- docs/book/quick_start.md | 12 +++++----- 3 files changed, 20 insertions(+), 20 deletions(-) diff --git a/docs/README.md b/docs/README.md index 649ac2c02d7..b10c7a23a3a 100644 --- a/docs/README.md +++ b/docs/README.md @@ -4,5 +4,5 @@ 1. Follow the instructions at [https://toolchain.gitbook.com/](https://toolchain.gitbook.com/) to install gitbook. 2. cd into the `docs/book` directory -3. Run `gitbook server` -4. Visit `localhost:4000` \ No newline at end of file +3. Run `gitbook serve` +4. Visit `localhost:4000` diff --git a/docs/book/getting_started/installation_and_setup.md b/docs/book/getting_started/installation_and_setup.md index 80c4f80d7d5..bdcc73a66c8 100644 --- a/docs/book/getting_started/installation_and_setup.md +++ b/docs/book/getting_started/installation_and_setup.md @@ -15,11 +15,11 @@ version=1.0.0 # latest stable version arch=amd64 # download the release -curl -L -O https://github.com/kubernetes-sigs/kubebuilder/releases/download/v$version/kubebuilder_$version_darwin_$arch.tar.gz +curl -L -O https://github.com/kubernetes-sigs/kubebuilder/releases/download/v${version}/kubebuilder_${version}_darwin_${arch}.tar.gz # extract the archive -tar -zxvf kubebuilder_$version_darwin_$arch.tar.gz -sudo mv kubebuilder_$version_darwin_$arch /usr/local/kubebuilder +tar -zxvf kubebuilder_${version}_darwin_${arch}.tar.gz +sudo mv kubebuilder_${version}_darwin_${arch} /usr/local/kubebuilder # update your PATH to include /usr/local/kubebuilder/bin export PATH=$PATH:/usr/local/kubebuilder/bin @@ -31,11 +31,11 @@ version=1.0.0 # latest stable version arch=amd64 # download the release -curl -L -O https://github.com/kubernetes-sigs/kubebuilder/releases/download/v$version/kubebuilder_$version_linux_$arch.tar.gz +curl -L -O https://github.com/kubernetes-sigs/kubebuilder/releases/download/v${version}/kubebuilder_${version}_linux_${arch}.tar.gz # extract the archive -tar -zxvf kubebuilder_$version_linux_$arch.tar.gz -sudo mv kubebuilder_$version_linux_$arch /usr/local/kubebuilder +tar -zxvf kubebuilder_${version}_linux_${arch}.tar.gz +sudo mv kubebuilder_${version}_linux_${arch} /usr/local/kubebuilder # update your PATH to include /usr/local/kubebuilder/bin export PATH=$PATH:/usr/local/kubebuilder/bin @@ -55,11 +55,11 @@ this release is not well tested, so you might encounter some bugs. arch=amd64 # download the release -curl -L -O https://storage.googleapis.com/kubebuilder-release/kubebuilder_master_darwin_$arch.tar.gz +curl -L -O https://storage.googleapis.com/kubebuilder-release/kubebuilder_master_darwin_${arch}.tar.gz # extract the archive -tar -zxvf kubebuilder_master_darwin_$arch.tar.gz -sudo mv kubebuilder_master_darwin_$arch /usr/local/kubebuilder +tar -zxvf kubebuilder_master_darwin_${arch}.tar.gz +sudo mv kubebuilder_master_darwin_${arch} /usr/local/kubebuilder # update your PATH to include /usr/local/kubebuilder/bin export PATH=$PATH:/usr/local/kubebuilder/bin @@ -69,11 +69,11 @@ export PATH=$PATH:/usr/local/kubebuilder/bin arch=amd64 # download the release -curl -L -O https://storage.googleapis.com/kubebuilder-release/kubebuilder_master_linux_$arch.tar.gz +curl -L -O https://storage.googleapis.com/kubebuilder-release/kubebuilder_master_linux_${arch}.tar.gz # extract the archive -tar -zxvf kubebuilder_master_linux_$arch.tar.gz -sudo mv kubebuilder_master_linux_$arch /usr/local/kubebuilder +tar -zxvf kubebuilder_master_linux_${arch}.tar.gz +sudo mv kubebuilder_master_linux_${arch} /usr/local/kubebuilder # update your PATH to include /usr/local/kubebuilder/bin export PATH=$PATH:/usr/local/kubebuilder/bin diff --git a/docs/book/quick_start.md b/docs/book/quick_start.md index 9b37665b4e7..a96e32e7845 100644 --- a/docs/book/quick_start.md +++ b/docs/book/quick_start.md @@ -21,11 +21,11 @@ version=1.0.0 # latest stable version arch=amd64 # download the release -curl -L -O https://github.com/kubernetes-sigs/kubebuilder/releases/download/v$version/kubebuilder_$version_darwin_$arch.tar.gz +curl -L -O https://github.com/kubernetes-sigs/kubebuilder/releases/download/v${version}/kubebuilder_${version}_darwin_${arch}.tar.gz # extract the archive -tar -zxvf kubebuilder_$version_darwin_$arch.tar.gz -sudo mv kubebuilder_$version_darwin_$arch /usr/local/kubebuilder +tar -zxvf kubebuilder_${version}_darwin_${arch}.tar.gz +sudo mv kubebuilder_${version}_darwin_${arch} /usr/local/kubebuilder # update your PATH to include /usr/local/kubebuilder/bin export PATH=$PATH:/usr/local/kubebuilder/bin @@ -37,11 +37,11 @@ version=1.0.0 # latest stable version arch=amd64 # download the release -curl -L -O https://github.com/kubernetes-sigs/kubebuilder/releases/download/v$version/kubebuilder_$version_linux_$arch.tar.gz +curl -L -O https://github.com/kubernetes-sigs/kubebuilder/releases/download/v${version}/kubebuilder_${version}_linux_${arch}.tar.gz # extract the archive -tar -zxvf kubebuilder_$version_linux_$arch.tar.gz -sudo mv kubebuilder_$version_linux_$arch /usr/local/kubebuilder +tar -zxvf kubebuilder_${version}_linux_${arch}.tar.gz +sudo mv kubebuilder_${version}_linux_${arch} /usr/local/kubebuilder # update your PATH to include /usr/local/kubebuilder/bin export PATH=$PATH:/usr/local/kubebuilder/bin