From 0b77329b7d57be8cf73936e0c055b8d1f7aaf254 Mon Sep 17 00:00:00 2001 From: John Schnake Date: Wed, 18 Sep 2019 13:06:45 -0500 Subject: [PATCH] Fix script to make new versioned docs (#892) This script was written to consider the root README as the source of truth but I think that was before we realized that the docs for the site have slightly different linking requirements. As a result, the appropriate place to take the README from is the master docs. Fixes #887 Signed-off-by: John Schnake --- scripts/update_docs.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/scripts/update_docs.sh b/scripts/update_docs.sh index 797e1f4d9..cb4510634 100755 --- a/scripts/update_docs.sh +++ b/scripts/update_docs.sh @@ -63,7 +63,6 @@ else /bin/sh -c \ "rm -rf /root/site/docs/${VERSION} && \ cp -r /root/site/docs/master /root/site/docs/${VERSION} && \ - cp /root/README.md /root/site/docs/${VERSION}/README.md && \ sed -i 's/site\/docs\/master\///g' /root/site/docs/${VERSION}/README.md && \ sed -i 's/docs\/img/img/g' /root/site/docs/${VERSION}/README.md && \ sed -i 's/sonobuoy\/tree\/master/sonobuoy\/tree\/${VERSION}/g' /root/site/docs/${VERSION}/README.md && \