Skip to content

Commit a7780ce

Browse files
authored
Merge branch 'master' into accept-step-object-in-dependson-list
2 parents 5c45e2c + 3dd4d5a commit a7780ce

File tree

5 files changed

+56
-2
lines changed

5 files changed

+56
-2
lines changed

CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,17 @@
11
# Changelog
22

3+
## v2.49.1 (2021-07-19)
4+
5+
### Bug Fixes and Other Changes
6+
7+
* Set flag when debugger is disabled
8+
* KMS Key fix for kwargs
9+
* Update BiasConfig to accept multiple facet params
10+
11+
### Documentation Changes
12+
13+
* Update huggingface estimator documentation
14+
315
## v2.49.0 (2021-07-15)
416

517
### Features

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.49.1.dev0
1+
2.49.2.dev0

doc/_static/aws-ux-shortbread/index.js

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

doc/_static/aws-ux-shortbread/init.js

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
(function (w) {
2+
w.URLSearchParams = w.URLSearchParams || function (searchString) {
3+
var self = this;
4+
self.searchString = searchString;
5+
self.get = function (name) {
6+
var results = new RegExp('[\?&]' + name + '=([^&#]*)').exec(self.searchString);
7+
if (results === null) {
8+
return null;
9+
}
10+
else {
11+
return decodeURI(results[1]) || 0;
12+
}
13+
};
14+
}
15+
})(window);
16+
17+
const queryString = window.location.search;
18+
const urlParams = new URLSearchParams(queryString);
19+
const lang = urlParams.get('lang')
20+
window.onload = function () {
21+
var domainName = window.location.hostname;
22+
23+
// remove an instance of shortbread if already exists
24+
var existingShortbreadEl = document.getElementById("awsccc-sb-ux-c");
25+
existingShortbreadEl && existingShortbreadEl.remove();
26+
27+
var shortbread = AWSCShortbread({
28+
domain: domainName,
29+
language: lang,
30+
//queryGeolocation: function (geolocatedIn) { geolocatedIn("EU") },
31+
});
32+
33+
shortbread.checkForCookieConsent();
34+
}

doc/conf.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,12 @@
6868

6969
htmlhelp_basename = "%sdoc" % project
7070

71-
html_js_files = ["https://a0.awsstatic.com/s_code/js/1.0/awshome_s_code.js", "js/analytics.js"]
71+
# For Adobe Analytics
72+
html_js_files = [
73+
"https://a0.awsstatic.com/s_code/js/3.0/awshome_s_code.js",
74+
"aws-ux-shortbread/index.js",
75+
"aws-ux-shortbread/init.js",
76+
]
7277

7378
html_context = {"css_files": ["_static/theme_overrides.css"]}
7479

0 commit comments

Comments
 (0)