From 9047db7d4c426865d55683e4beced7d69e1f8770 Mon Sep 17 00:00:00 2001 From: Aric Gardner Date: Fri, 26 Jun 2020 13:20:23 -0400 Subject: [PATCH] Need an exception for onap We imported their docs for the migration to not lose old versions. this imported project does not follow the naming convention and so I have added a hardcoded exception Signed-off-by: Aric Gardner Change-Id: I8ac74bec953cf39b28cf8776c50fcb0e78869073 --- shell/rtdv3.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/shell/rtdv3.sh b/shell/rtdv3.sh index f5be6e6b..314ce9ff 100644 --- a/shell/rtdv3.sh +++ b/shell/rtdv3.sh @@ -41,6 +41,12 @@ fi #MASTER_RTD_PROJECT as a global jenkins cnt masterproject="$umbrella-$MASTER_RTD_PROJECT" +#Exception needed for onap, due to importing their old docs. +if [[ $masterproject == "onap-doc" ]]; then + masterproject="onap" +fi + + echo "INFO:" echo "INFO: Project: $PROJECT" echo "INFO: Read the Docs Sub Project: https://$rtdproject.readthedocs.io" -- 2.16.6