1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-05 12:46:18 +01:00

FIX-CSS-JS-419 cherry pick the fixes from main

This commit is contained in:
Gabriel McGoldrick
2025-03-12 16:00:54 +00:00
parent 3fd6a1930b
commit 23430513cc
3 changed files with 228 additions and 11 deletions

View File

@@ -1,3 +1,20 @@
let newLink = "";
let newVersion = "";
let currentVersion = "";
let fileRequested = "";
const urlMappings = {
"openshift-acs": "https://docs.openshift.com/acs/",
"openshift-builds": "https://docs.openshift.com/builds/",
"openshift-enterprise": "https://docs.openshift.com/container-platform/",
"openshift-gitops": "https://docs.openshift.com/gitops/",
"openshift-lightspeed": "https://docs.openshift.com/lightspeed/",
"openshift-origin": "https://docs.okd.io/",
"openshift-pipelines": "https://docs.openshift.com/pipelines/",
"openshift-serverless": "https://docs.openshift.com/serverless/",
"openshift-telco": "https://docs.openshift.com/container-platform-telco/",
};
function versionSelector(list) {
// the version we want