Api and Kubectl reference docs updates for 1.7 (#4193)
* Fix includes groups * Generated kubectl docs for 1.7 * Generated references docs for 1.7 api
This commit is contained in:
committed by
Andrew Chen
parent
4ff5587583
commit
57a769f506
+21
@@ -0,0 +1,21 @@
|
||||
$.fn.test = function(){
|
||||
// Hide title on iframes
|
||||
if (window.self !== window.top) {
|
||||
$('h1').hide();
|
||||
}
|
||||
|
||||
if (location.search === '?notest') {
|
||||
return this;
|
||||
}
|
||||
|
||||
$.scrollTo.defaults.axis = 'xy';
|
||||
|
||||
var root = this.is('iframe') ? this.contents() : $('body');
|
||||
root.find('#ua').html(
|
||||
navigator.userAgent +
|
||||
'<br />' +
|
||||
'document.compatMode is "' + document.compatMode + '"'
|
||||
);
|
||||
|
||||
return this.scrollTo('max', 1000).scrollTo(0, 1000);
|
||||
};
|
||||
Reference in New Issue
Block a user