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) {
52
52
newLink = "https://docs.openshift.com/serverless/" +
53
53
newVersion +
54
54
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 ;
55
60
} else {
56
61
//if distro key is openshift enterprise
57
62
if ( dk == "openshift-enterprise" ) {
@@ -84,6 +89,8 @@ function versionSelector(list) {
84
89
window . location = "https://google.com/search?q=site:https://docs.openshift.com/acs/" + newVersion + " " + document . title ; }
85
90
else if ( [ '1.28' , '1.29' ] . contains ( newVersion ) ) {
86
91
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 ; }
87
94
else {
88
95
if ( dk == "openshift-enterprise" ) {
89
96
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