Skip to content

Commit d87425a

Browse files
authored
Use https everywhere we can. (pytorch#407)
1 parent db015b3 commit d87425a

38 files changed

+98
-98
lines changed

_static/css/pytorch_theme.css

+1-1
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ footer p {
112112
}
113113

114114
/* For hidden headers that appear in TOC tree */
115-
/* see http://stackoverflow.com/a/32363545/3343043 */
115+
/* see https://stackoverflow.com/a/32363545/3343043 */
116116
.rst-content .hidden-section {
117117
display: none;
118118
}

_static/doctools.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ jQuery.fn.highlightText = function(text, className) {
7676
var span;
7777
var isInSVG = jQuery(node).closest("body, svg, foreignObject").is("svg");
7878
if (isInSVG) {
79-
span = document.createElementNS("http://www.w3.org/2000/svg", "tspan");
79+
span = document.createElementNS("https://www.w3.org/2000/svg", "tspan");
8080
} else {
8181
span = document.createElement("span");
8282
span.className = className;
@@ -88,7 +88,7 @@ jQuery.fn.highlightText = function(text, className) {
8888
node.nodeValue = val.substr(0, pos);
8989
if (isInSVG) {
9090
var bbox = span.getBBox();
91-
var rect = document.createElementNS("http://www.w3.org/2000/svg", "rect");
91+
var rect = document.createElementNS("https://www.w3.org/2000/svg", "rect");
9292
rect.x.baseVal.value = bbox.x;
9393
rect.y.baseVal.value = bbox.y;
9494
rect.width.baseVal.value = bbox.width;

_static/images/arrow-down-orange.svg

+2-2
Loading

_static/images/arrow-right-with-tail.svg

+2-2
Loading

_static/images/chevron-down-grey.svg

+2-2
Loading

_static/images/chevron-right-orange.svg

+2-2
Loading

_static/images/chevron-right-white.svg

+2-2
Loading

_static/images/icon-close.svg

+2-2
Loading

_static/images/icon-menu-dots-dark.svg

+2-2
Loading

_static/images/logo-dark.svg

+2-2
Loading

_static/images/logo-facebook-dark.svg

+2-2
Loading

_static/images/logo-icon.svg

+2-2
Loading

_static/images/logo-twitter-dark.svg

+3-3
Loading

_static/images/logo.svg

+2-2
Loading

_static/images/view-page-source-icon.svg

+1-1
Loading

_static/img/pytorch-logo-dark.svg

+1-1
Loading

_static/jquery-3.2.1.js

+14-14
Original file line numberDiff line numberDiff line change
@@ -542,7 +542,7 @@ var Sizzle =
542542
*
543543
* Copyright jQuery Foundation and other contributors
544544
* Released under the MIT license
545-
* http://jquery.org/license
545+
* https://jquery.org/license
546546
*
547547
* Date: 2016-08-08
548548
*/
@@ -609,13 +609,13 @@ var i,
609609

610610
// Regular expressions
611611

612-
// http://www.w3.org/TR/css3-selectors/#whitespace
612+
// https://www.w3.org/TR/css3-selectors/#whitespace
613613
whitespace = "[\\x20\\t\\r\\n\\f]",
614614

615-
// http://www.w3.org/TR/CSS21/syndata.html#value-def-identifier
615+
// https://www.w3.org/TR/CSS21/syndata.html#value-def-identifier
616616
identifier = "(?:\\\\.|[\\w-]|[^\0-\\xa0])+",
617617

618-
// Attribute selectors: http://www.w3.org/TR/selectors/#attribute-selectors
618+
// Attribute selectors: https://www.w3.org/TR/selectors/#attribute-selectors
619619
attributes = "\\[" + whitespace + "*(" + identifier + ")(?:" + whitespace +
620620
// Operator (capture 2)
621621
"*([*^$|!~]?=)" + whitespace +
@@ -672,7 +672,7 @@ var i,
672672
rsibling = /[+~]/,
673673

674674
// CSS escapes
675-
// http://www.w3.org/TR/CSS21/syndata.html#escaped-characters
675+
// https://www.w3.org/TR/CSS21/syndata.html#escaped-characters
676676
runescape = new RegExp( "\\\\([\\da-f]{1,6}" + whitespace + "?|(" + whitespace + ")|.)", "ig" ),
677677
funescape = function( _, escaped, escapedWhitespace ) {
678678
var high = "0x" + escaped - 0x10000;
@@ -1308,7 +1308,7 @@ setDocument = Sizzle.setDocument = function( node ) {
13081308
}
13091309

13101310
// Webkit/Opera - :checked should return selected option elements
1311-
// http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked
1311+
// https://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked
13121312
// IE8 throws error here and will not see later tests
13131313
if ( !el.querySelectorAll(":checked").length ) {
13141314
rbuggyQSA.push(":checked");
@@ -1919,7 +1919,7 @@ Expr = Sizzle.selectors = {
19191919

19201920
"PSEUDO": function( pseudo, argument ) {
19211921
// pseudo-class names are case-insensitive
1922-
// http://www.w3.org/TR/selectors/#pseudo-classes
1922+
// https://www.w3.org/TR/selectors/#pseudo-classes
19231923
// Prioritize by case sensitivity in case custom pseudos are added with uppercase letters
19241924
// Remember that setFilters inherits from pseudos
19251925
var args,
@@ -2006,7 +2006,7 @@ Expr = Sizzle.selectors = {
20062006
// or beginning with the identifier C immediately followed by "-".
20072007
// The matching of C against the element's language value is performed case-insensitively.
20082008
// The identifier C does not have to be a valid language name."
2009-
// http://www.w3.org/TR/selectors/#lang-pseudo
2009+
// https://www.w3.org/TR/selectors/#lang-pseudo
20102010
"lang": markFunction( function( lang ) {
20112011
// lang value must be a valid identifier
20122012
if ( !ridentifier.test(lang || "") ) {
@@ -2048,7 +2048,7 @@ Expr = Sizzle.selectors = {
20482048

20492049
"checked": function( elem ) {
20502050
// In CSS3, :checked should return both checked and selected elements
2051-
// http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked
2051+
// https://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked
20522052
var nodeName = elem.nodeName.toLowerCase();
20532053
return (nodeName === "input" && !!elem.checked) || (nodeName === "option" && !!elem.selected);
20542054
},
@@ -2065,7 +2065,7 @@ Expr = Sizzle.selectors = {
20652065

20662066
// Contents
20672067
"empty": function( elem ) {
2068-
// http://www.w3.org/TR/selectors/#empty-pseudo
2068+
// https://www.w3.org/TR/selectors/#empty-pseudo
20692069
// :empty is negated by element (1) or content nodes (text: 3; cdata: 4; entity ref: 5),
20702070
// but not by others (comment: 8; processing instruction: 7; etc.)
20712071
// nodeType < 6 works because attributes (2) do not appear as children
@@ -7442,7 +7442,7 @@ jQuery.fx.speeds = {
74427442

74437443

74447444
// Based off of the plugin by Clint Helfers, with permission.
7445-
// https://web.archive.org/web/20100324014747/http://blindsignals.com/index.php/2009/07/jquery-delay/
7445+
// https://web.archive.org/web/20100324014747/https://blindsignals.com/index.php/2009/07/jquery-delay/
74467446
jQuery.fn.delay = function( time, type ) {
74477447
time = jQuery.fx ? jQuery.fx.speeds[ time ] || time : time;
74487448
type = type || "fx";
@@ -7667,7 +7667,7 @@ jQuery.extend( {
76677667
// Support: IE <=9 - 11 only
76687668
// elem.tabIndex doesn't always return the
76697669
// correct value when it hasn't been explicitly set
7670-
// https://web.archive.org/web/20141116233347/http://fluidproject.org/blog/2008/01/09/getting-setting-and-removing-tabindex-values-with-javascript/
7670+
// https://web.archive.org/web/20141116233347/https://fluidproject.org/blog/2008/01/09/getting-setting-and-removing-tabindex-values-with-javascript/
76717671
// Use proper attribute retrieval(#12072)
76727672
var tabindex = jQuery.find.attr( elem, "tabindex" );
76737673

@@ -8309,7 +8309,7 @@ support.focusin = "onfocusin" in window;
83098309
//
83108310
// Support: Chrome <=48 - 49, Safari <=9.0 - 9.1
83118311
// focus(in | out) events fire after focus & blur events,
8312-
// which is spec violation - http://www.w3.org/TR/DOM-Level-3-Events/#events-focusevent-event-order
8312+
// which is spec violation - https://www.w3.org/TR/DOM-Level-3-Events/#events-focusevent-event-order
83138313
// Related ticket - https://bugs.chromium.org/p/chromium/issues/detail?id=449857
83148314
if ( !support.focusin ) {
83158315
jQuery.each( { focus: "focusin", blur: "focusout" }, function( orig, fix ) {
@@ -9018,7 +9018,7 @@ jQuery.extend( {
90189018

90199019
// Support: IE <=8 - 11, Edge 12 - 13
90209020
// IE throws exception on accessing the href property if url is malformed,
9021-
// e.g. http://example.com:80x/
9021+
// e.g. https://example.com:80x/
90229022
try {
90239023
urlAnchor.href = s.url;
90249024

_static/js/modernizr.min.js

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

_static/pytorch-logo-dark.svg

+1-1
Loading

_static/underscore-1.3.1.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
// Portions of Underscore are inspired or borrowed from Prototype,
55
// Oliver Steele's Functional, and John Resig's Micro-Templating.
66
// For all details and documentation:
7-
// http://documentcloud.github.com/underscore
7+
// https://documentcloud.github.com/underscore
88

99
(function() {
1010

@@ -446,7 +446,7 @@
446446

447447
// Generate an integer Array containing an arithmetic progression. A port of
448448
// the native Python `range()` function. See
449-
// [the Python documentation](http://docs.python.org/library/functions.html#range).
449+
// [the Python documentation](https://docs.python.org/library/functions.html#range).
450450
_.range = function(start, stop, step) {
451451
if (arguments.length <= 1) {
452452
stop = start || 0;
@@ -668,7 +668,7 @@
668668
// Internal recursive comparison function.
669669
function eq(a, b, stack) {
670670
// Identical objects are equal. `0 === -0`, but they aren't identical.
671-
// See the Harmony `egal` proposal: http://wiki.ecmascript.org/doku.php?id=harmony:egal.
671+
// See the Harmony `egal` proposal: https://wiki.ecmascript.org/doku.php?id=harmony:egal.
672672
if (a === b) return a !== 0 || 1 / a == 1 / b;
673673
// A strict comparison is necessary because `null == undefined`.
674674
if (a == null || b == null) return a === b;

0 commit comments

Comments
 (0)