- avoiding cloning the full history of k8s repo, there doesn't seem to be any
difference (--depth=1 gives the same result and fetched branches are not
used in this script)
- quoting around variables and add '--' to some commands to separate positional
arguments
- using subshells instead of pushd/popd stuff, easier to read IMO
- added 'set -o errexit', couldn't add 'set -o pipefail'. For some reason when
I enable pipefail, it produces a vastly different output but I don't see any
errors in the output.
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
1. Update script to:
a) Rename kubectl.md to index.md
b) Remove "See Also" section from kubectl subcommands md files
2. Update the _date/reference.yml link to kubectl
Update script for copying generated docs from kubernetes/kubernetes into kubernetes/kubernetes.github.io
Make it actually do what is necessary for a new docs release