Skip to content

Commit efdf37e

Browse files
authored
refactor crosslink_redirect to align with new docs website
1 parent e0de583 commit efdf37e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/doxygen/static/crosslink_redirect.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
var uidToServiceName = JSON.parse(uidServiceData);
1010

11-
var baseUri = "LATEST/";
11+
var defaultUrl = "root/html/index.html";
1212

1313
function getQueryStringParameter(name, url) {
1414

@@ -46,7 +46,7 @@
4646
var serviceName = uidToServiceName[uid];
4747

4848
if(serviceName == null) {
49-
return baseUri;
49+
return defaultUrl;
5050
}
5151

5252
var dirtyName = "class_aws_1_1_";
@@ -69,7 +69,7 @@
6969
}
7070

7171
dirtyName += ".html";
72-
return baseUri + "aws-cpp-sdk-" + serviceName.toLowerCase() + "/html/" + escapeCharacters(dirtyName);
72+
return "aws-cpp-sdk-" + serviceName.toLowerCase() + "/html/" + escapeCharacters(dirtyName);
7373
}
7474

7575
function checkResourceExists(url) {
@@ -101,7 +101,7 @@
101101
window.location.href = secondAttempt;
102102
}
103103
else {
104-
window.location.href = baseUri + "index.html";
104+
window.location.href = defaultUrl;
105105
}
106106
}
107107

0 commit comments

Comments
 (0)