mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-25 12:17:52 +00:00
Add containerPort to service schema. Regenerate HTML. Add instructions for how to view HTML.
This commit is contained in:
@@ -178,7 +178,7 @@ git fetch upstream
|
||||
git rebase upstream/master
|
||||
```
|
||||
|
||||
### Regenerating the documentation
|
||||
### Regenerating the API documentation
|
||||
|
||||
```
|
||||
cd kubernetes/api
|
||||
@@ -186,3 +186,8 @@ sudo docker build -t kubernetes/raml2html .
|
||||
sudo docker run --name="docgen" kubernetes/raml2html
|
||||
sudo docker cp docgen:/data/kubernetes.html .
|
||||
```
|
||||
|
||||
View the API documentation using htmlpreview (works on your fork, too):
|
||||
```
|
||||
http://htmlpreview.github.io/?https://github.com/GoogleCloudPlatform/kubernetes/blob/master/api/kubernetes.html
|
||||
```
|
||||
|
Reference in New Issue
Block a user