From 46a0c5e0c1353d49cb60db04f543900454b98c4a Mon Sep 17 00:00:00 2001 From: Andrew Chen Date: Mon, 22 Jan 2018 13:23:50 -0800 Subject: [PATCH] Removed deprecated update-import-docs.sh script --- update-imported-docs.sh | 157 ---------------------------------------- 1 file changed, 157 deletions(-) delete mode 100755 update-imported-docs.sh 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 '/