File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -52,6 +52,11 @@ function versionSelector(list) {
5252 newLink = "https://docs.openshift.com/serverless/" +
5353 newVersion +
5454 fileRequested ;
55+ } else if ( [ '1.8' , '1.9' ] . contains ( newVersion ) ) {
56+ // check and handle links for GitOps versions
57+ newLink = "https://docs.openshift.com/gitops/" +
58+ newVersion +
59+ fileRequested ;
5560 } else {
5661 //if distro key is openshift enterprise
5762 if ( dk == "openshift-enterprise" ) {
@@ -84,6 +89,8 @@ function versionSelector(list) {
8489 window . location = "https://google.com/search?q=site:https://docs.openshift.com/acs/" + newVersion + " " + document . title ; }
8590 else if ( [ '1.28' , '1.29' ] . contains ( newVersion ) ) {
8691 window . location = "https://google.com/search?q=site:https://docs.openshift.com/serverless/" + newVersion + " " + document . title ; }
92+ else if ( [ '1.8' , '1.9' ] . contains ( newVersion ) ) {
93+ window . location = "https://google.com/search?q=site:https://docs.openshift.com/gitops/" + newVersion + " " + document . title ; }
8794 else {
8895 if ( dk == "openshift-enterprise" ) {
8996 window . location = "https://google.com/search?q=site:https://docs.openshift.com/enterprise/" + newVersion + " " + document . title ;
You can’t perform that action at this time.
0 commit comments