Skip to content

Commit 8b2ecd5

Browse files
authored
Merge pull request #27386 from nicks/patch-1
Fixed errors in instructions for generating ref docs
2 parents c6194a2 + 34f1d61 commit 8b2ecd5

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

content/en/docs/contribute/generate-ref-docs/kubernetes-api.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -83,16 +83,16 @@ This section shows how to generate the
8383
### Setting build variables
8484

8585
* Set `K8S_ROOT` to `<k8s-base>`.
86-
* Set `WEB_ROOT` to `<web-base>`.
86+
* Set `K8S_WEBROOT` to `<web-base>`.
8787
* Set `K8S_RELEASE` to the version of the docs you want to build.
88-
For example, if you want to build docs for Kubernetes 1.17, set `K8S_RELEASE` to 1.17.
88+
For example, if you want to build docs for Kubernetes 1.17.0, set `K8S_RELEASE` to 1.17.0.
8989

9090
For example:
9191

9292
```shell
93-
export WEB_ROOT=$(GOPATH)/src/github.com/<your-username>/website
93+
export K8S_WEBROOT=$(GOPATH)/src/github.com/<your-username>/website
9494
export K8S_ROOT=$(GOPATH)/src/k8s.io/kubernetes
95-
export K8S_RELEASE=1.17
95+
export K8S_RELEASE=1.17.0
9696
```
9797

9898
### Creating versioned directory and fetching Open API spec
@@ -124,8 +124,8 @@ make copyapi
124124
Verify that these two files have been generated:
125125

126126
```shell
127-
[ -e "<rdocs-base>/gen-apidocs/generators/build/index.html" ] && echo "index.html built" || echo "no index.html"
128-
[ -e "<rdocs-base>/gen-apidocs/generators/build/navData.js" ] && echo "navData.js built" || echo "no navData.js"
127+
[ -e "<rdocs-base>/gen-apidocs/build/index.html" ] && echo "index.html built" || echo "no index.html"
128+
[ -e "<rdocs-base>/gen-apidocs/build/navData.js" ] && echo "navData.js built" || echo "no navData.js"
129129
```
130130

131131
Go to the base of your local `<web-base>`, and

0 commit comments

Comments
 (0)