How to generate the docset the api-reference is copied from kubernetes's source code, under docs/ directory. run gen.py and build-doc.sh to build the docset.