Contribute to Kubernetes docs

Edit This Page

Generating Reference Documentation for Kubernetes Federation API

This page shows how to automatically generate reference pages for the Kubernetes Federation API.

Before you begin

Running the script

If you don’t already have the Kubernetes federation source code, get it now:

mkdir $GOPATH/src
cd $GOPATH/src
go get

Determine the base directory of your local kubernetes/federation repository. For example, if you followed the preceding step to get the federation source code, your base directory is $GOPATH/src/ The remaining steps refer to your base directory as <fed-base>.

Run the doc generation script:

cd <fed-base>

The script runs the image to generate this set of reference docs:

The generated files do not get published automatically. They have to be manually copied to the kubernetes/website repository.

These files are published at

What's next