File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
content/en/docs/contribute/generate-ref-docs Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -83,16 +83,16 @@ This section shows how to generate the
83
83
### Setting build variables
84
84
85
85
* Set ` K8S_ROOT ` to ` <k8s-base> ` .
86
- * Set ` WEB_ROOT ` to ` <web-base> ` .
86
+ * Set ` K8S_WEBROOT ` to ` <web-base> ` .
87
87
* 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 .
89
89
90
90
For example:
91
91
92
92
``` shell
93
- export WEB_ROOT =$( GOPATH) /src/github.com/< your-username> /website
93
+ export K8S_WEBROOT =$( GOPATH) /src/github.com/< your-username> /website
94
94
export K8S_ROOT=$( GOPATH) /src/k8s.io/kubernetes
95
- export K8S_RELEASE=1.17
95
+ export K8S_RELEASE=1.17.0
96
96
```
97
97
98
98
### Creating versioned directory and fetching Open API spec
@@ -124,8 +124,8 @@ make copyapi
124
124
Verify that these two files have been generated:
125
125
126
126
``` 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"
129
129
```
130
130
131
131
Go to the base of your local ` <web-base> ` , and
You can’t perform that action at this time.
0 commit comments