src/sap.ui.support/src/sap/ui/support/supportRules/ui/models/Documentation.js
function (sTopicId) {
			var sUrl = "",
				sVersion = "",
				sFullVersion = sap.ui.getVersionInfo().version,
				iMajorVersion = jQuery.sap.Version(sFullVersion).getMajor(),
				iMinorVersion = jQuery.sap.Version(sFullVersion).getMinor(),
				sOrigin = window.location.origin;

			//This check is to make sure that version is even. Example: 1.53 will back down to 1.52
			// This is used to generate the correct path to demokit
			if (iMinorVersion % 2 !== 0) {
				iMinorVersion--;
			}

			sVersion += String(iMajorVersion) + "." + String(iMinorVersion);

			if (sOrigin.indexOf("veui5infra") !== -1) {
				sUrl = sOrigin + "/sapui5-sdk-internal/#/topic/" + sTopicId;
			} else {
				sUrl = sOrigin + "/demokit-" + sVersion + "/#/topic/" + sTopicId;
			}

			this._redirectToUrlWithFallback(sUrl, sTopicId);
		}
function (sTopicId) {
			var sUrl = "",
				sVersion = "",
				sFullVersion = sap.ui.getVersionInfo().version,
				iMajorVersion = jQuery.sap.Version(sFullVersion).getMajor(),
				iMinorVersion = jQuery.sap.Version(sFullVersion).getMinor(),
				sOrigin = window.location.origin;

			//This check is to make sure that version is even. Example: 1.53 will back down to 1.52
			// This is used to generate the correct path to demokit
			if (iMinorVersion % 2 !== 0) {
				iMinorVersion--;
			}

			sVersion += String(iMajorVersion) + "." + String(iMinorVersion);

			if (sOrigin.indexOf("veui5infra") !== -1) {
				sUrl = sOrigin + "/sapui5-sdk-internal/#/topic/" + sTopicId;
			} else {
				sUrl = sOrigin + "/demokit-" + sVersion + "/#/topic/" + sTopicId;
			}

			this._redirectToUrlWithFallback(sUrl, sTopicId);
		}
function ( sTopicId ) { var sUrl = "" , sVersion = "" , sFullVersion = sap . ui . getVersionInfo ( ) . version , iMajorVersion = jQuery . sap . Version ( sFullVersion ) . getMajor ( ) , iMinorVersion = jQuery . sap . Version ( sFullVersion ) . getMinor ( ) , sOrigin = window . location . origin ; //This check is to make sure that version is even. Example: 1.53 will back down to 1.52 // This is used to generate the correct path to demokit if ( iMinorVersion % 2 !== 0 ) { iMinorVersion -- ; } sVersion += String ( iMajorVersion ) + "." + String ( iMinorVersion ) ; if ( sOrigin . indexOf ( "veui5infra" ) !== - 1 ) { sUrl = sOrigin + "/sapui5-sdk-internal/#/topic/" + sTopicId ; } else { sUrl = sOrigin + "/demokit-" + sVersion + "/#/topic/" + sTopicId ; } this . _redirectToUrlWithFallback ( sUrl , sTopicId ) ; }
Opens the given topic
@param {string} sTopicId The ID of the topic to open
Opens the given topic