From bd0deaa1113b588d70449535ab9cbf0f2bd0e72f Mon Sep 17 00:00:00 2001 From: "F. Hinkelmann" Date: Tue, 11 Aug 2020 11:25:41 -0400 Subject: [PATCH] chore: update cloud rad kokoro build job (#719) Delete `SharePoint` item from TOC. --- .../templates/node_library/.kokoro/release/docs-devsite.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/synthtool/gcp/templates/node_library/.kokoro/release/docs-devsite.sh b/synthtool/gcp/templates/node_library/.kokoro/release/docs-devsite.sh index 3b93137d4..fa089cf29 100755 --- a/synthtool/gcp/templates/node_library/.kokoro/release/docs-devsite.sh +++ b/synthtool/gcp/templates/node_library/.kokoro/release/docs-devsite.sh @@ -36,6 +36,11 @@ NAME=$(cat .repo-metadata.json | json name) mkdir ./_devsite cp ./yaml/$NAME/* ./_devsite + +# Delete SharePoint item, see https://github.com/microsoft/rushstack/issues/1229 +sed -i -e '1,3d' ./yaml/toc.yml +sed -i -e 's/^ //' ./yaml/toc.yml + cp ./yaml/toc.yml ./_devsite/toc.yml # create docs.metadata, based on package.json and .repo-metadata.json.