Need an exception for onap 59/64359/1
authorAric Gardner <agardner@linuxfoundation.org>
Fri, 26 Jun 2020 17:20:23 +0000 (13:20 -0400)
committerAric Gardner <agardner@linuxfoundation.org>
Fri, 26 Jun 2020 17:20:23 +0000 (13:20 -0400)
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 <agardner@linuxfoundation.org>
Change-Id: I8ac74bec953cf39b28cf8776c50fcb0e78869073

shell/rtdv3.sh

index f5be6e6..314ce9f 100644 (file)
@@ -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"