diff --git a/update-imported-docs.sh b/update-imported-docs.sh deleted file mode 100755 index e77e888366..0000000000 --- a/update-imported-docs.sh +++ /dev/null @@ -1,157 +0,0 @@ -#!/bin/bash -set -o errexit - - -# Uncomment this to see the commands as they are run -# set -x - -VERSION=1.9 -OLDVERSION=1.8 - -# Processes api reference docs. -function process_api_ref_docs { - # Replace html preview links by relative links to let k8s.io render them. - local html_preview_prefix="https:\/\/htmlpreview.github.io\/?https:\/\/github.com\/kubernetes\/kubernetes\/blob\/" - find . -name '*.*' -type f -exec sed -i -e "s/${html_preview_prefix}HEAD//g" {} \; - find . -name '*.*' -type f -exec sed -i -e "s/${html_preview_prefix}release-$VERSION//g" {} \; - - # Format html - find . -name '*.html' -type f -exec sed -i -e '/