Skip to content

Commit 2972b7b

Browse files
committed
update build
1 parent ce05fed commit 2972b7b

File tree

256 files changed

+4045
-6624
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

256 files changed

+4045
-6624
lines changed

_images/guide-cover.png

11 KB
Loading

_static/ajax-loader.gif

-673 Bytes
Binary file not shown.

_static/basic.css

+113-4
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
*
55
* Sphinx stylesheet -- basic theme.
66
*
7-
* :copyright: Copyright 2007-2017 by the Sphinx team, see AUTHORS.
7+
* :copyright: Copyright 2007-2019 by the Sphinx team, see AUTHORS.
88
* :license: BSD, see LICENSE for details.
99
*
1010
*/
@@ -81,10 +81,26 @@ div.sphinxsidebar input {
8181
font-size: 1em;
8282
}
8383

84+
div.sphinxsidebar #searchbox form.search {
85+
overflow: hidden;
86+
}
87+
8488
div.sphinxsidebar #searchbox input[type="text"] {
85-
width: 170px;
89+
float: left;
90+
width: 80%;
91+
padding: 0.25em;
92+
box-sizing: border-box;
8693
}
8794

95+
div.sphinxsidebar #searchbox input[type="submit"] {
96+
float: left;
97+
width: 20%;
98+
border-left: none;
99+
padding: 0.25em;
100+
box-sizing: border-box;
101+
}
102+
103+
88104
img {
89105
border: 0;
90106
max-width: 100%;
@@ -199,6 +215,11 @@ table.modindextable td {
199215

200216
/* -- general body styles --------------------------------------------------- */
201217

218+
div.body {
219+
min-width: 450px;
220+
max-width: 800px;
221+
}
222+
202223
div.body p, div.body dd, div.body li, div.body blockquote {
203224
-moz-hyphens: auto;
204225
-ms-hyphens: auto;
@@ -210,6 +231,16 @@ a.headerlink {
210231
visibility: hidden;
211232
}
212233

234+
a.brackets:before,
235+
span.brackets > a:before{
236+
content: "[";
237+
}
238+
239+
a.brackets:after,
240+
span.brackets > a:after {
241+
content: "]";
242+
}
243+
213244
h1:hover > a.headerlink,
214245
h2:hover > a.headerlink,
215246
h3:hover > a.headerlink,
@@ -332,6 +363,11 @@ table.docutils {
332363
border-collapse: collapse;
333364
}
334365

366+
table.align-center {
367+
margin-left: auto;
368+
margin-right: auto;
369+
}
370+
335371
table caption span.caption-number {
336372
font-style: italic;
337373
}
@@ -365,6 +401,16 @@ table.citation td {
365401
border-bottom: none;
366402
}
367403

404+
th > p:first-child,
405+
td > p:first-child {
406+
margin-top: 0px;
407+
}
408+
409+
th > p:last-child,
410+
td > p:last-child {
411+
margin-bottom: 0px;
412+
}
413+
368414
/* -- figures --------------------------------------------------------------- */
369415

370416
div.figure {
@@ -405,6 +451,13 @@ table.field-list td, table.field-list th {
405451
hyphens: manual;
406452
}
407453

454+
/* -- hlist styles ---------------------------------------------------------- */
455+
456+
table.hlist td {
457+
vertical-align: top;
458+
}
459+
460+
408461
/* -- other body styles ----------------------------------------------------- */
409462

410463
ol.arabic {
@@ -427,11 +480,57 @@ ol.upperroman {
427480
list-style: upper-roman;
428481
}
429482

483+
li > p:first-child {
484+
margin-top: 0px;
485+
}
486+
487+
li > p:last-child {
488+
margin-bottom: 0px;
489+
}
490+
491+
dl.footnote > dt,
492+
dl.citation > dt {
493+
float: left;
494+
}
495+
496+
dl.footnote > dd,
497+
dl.citation > dd {
498+
margin-bottom: 0em;
499+
}
500+
501+
dl.footnote > dd:after,
502+
dl.citation > dd:after {
503+
content: "";
504+
clear: both;
505+
}
506+
507+
dl.field-list {
508+
display: flex;
509+
flex-wrap: wrap;
510+
}
511+
512+
dl.field-list > dt {
513+
flex-basis: 20%;
514+
font-weight: bold;
515+
word-break: break-word;
516+
}
517+
518+
dl.field-list > dt:after {
519+
content: ":";
520+
}
521+
522+
dl.field-list > dd {
523+
flex-basis: 70%;
524+
padding-left: 1em;
525+
margin-left: 0em;
526+
margin-bottom: 0em;
527+
}
528+
430529
dl {
431530
margin-bottom: 15px;
432531
}
433532

434-
dd p {
533+
dd > p:first-child {
435534
margin-top: 0px;
436535
}
437536

@@ -445,10 +544,14 @@ dd {
445544
margin-left: 30px;
446545
}
447546

448-
dt:target, .highlighted {
547+
dt:target, span.highlighted {
449548
background-color: #fbe54e;
450549
}
451550

551+
rect.highlighted {
552+
fill: #fbe54e;
553+
}
554+
452555
dl.glossary dt {
453556
font-weight: bold;
454557
font-size: 1.1em;
@@ -500,6 +603,12 @@ dl.glossary dt {
500603
font-style: oblique;
501604
}
502605

606+
.classifier:before {
607+
font-style: normal;
608+
margin: 0.5em;
609+
content: ":";
610+
}
611+
503612
abbr, acronym {
504613
border-bottom: dotted 1px;
505614
cursor: help;

_static/comment-bright.png

-756 Bytes
Binary file not shown.

_static/comment-close.png

-829 Bytes
Binary file not shown.

_static/comment.png

-641 Bytes
Binary file not shown.

_static/doctools.js

+46-19
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
*
55
* Sphinx JavaScript utilities for all documentation.
66
*
7-
* :copyright: Copyright 2007-2017 by the Sphinx team, see AUTHORS.
7+
* :copyright: Copyright 2007-2019 by the Sphinx team, see AUTHORS.
88
* :license: BSD, see LICENSE for details.
99
*
1010
*/
@@ -45,7 +45,7 @@ jQuery.urlencode = encodeURIComponent;
4545
* it will always return arrays of strings for the value parts.
4646
*/
4747
jQuery.getQueryParameters = function(s) {
48-
if (typeof s == 'undefined')
48+
if (typeof s === 'undefined')
4949
s = document.location.search;
5050
var parts = s.substr(s.indexOf('?') + 1).split('&');
5151
var result = {};
@@ -66,29 +66,54 @@ jQuery.getQueryParameters = function(s) {
6666
* span elements with the given class name.
6767
*/
6868
jQuery.fn.highlightText = function(text, className) {
69-
function highlight(node) {
70-
if (node.nodeType == 3) {
69+
function highlight(node, addItems) {
70+
if (node.nodeType === 3) {
7171
var val = node.nodeValue;
7272
var pos = val.toLowerCase().indexOf(text);
73-
if (pos >= 0 && !jQuery(node.parentNode).hasClass(className)) {
74-
var span = document.createElement("span");
75-
span.className = className;
73+
if (pos >= 0 &&
74+
!jQuery(node.parentNode).hasClass(className) &&
75+
!jQuery(node.parentNode).hasClass("nohighlight")) {
76+
var span;
77+
var isInSVG = jQuery(node).closest("body, svg, foreignObject").is("svg");
78+
if (isInSVG) {
79+
span = document.createElementNS("http://www.w3.org/2000/svg", "tspan");
80+
} else {
81+
span = document.createElement("span");
82+
span.className = className;
83+
}
7684
span.appendChild(document.createTextNode(val.substr(pos, text.length)));
7785
node.parentNode.insertBefore(span, node.parentNode.insertBefore(
7886
document.createTextNode(val.substr(pos + text.length)),
7987
node.nextSibling));
8088
node.nodeValue = val.substr(0, pos);
89+
if (isInSVG) {
90+
var rect = document.createElementNS("http://www.w3.org/2000/svg", "rect");
91+
var bbox = node.parentElement.getBBox();
92+
rect.x.baseVal.value = bbox.x;
93+
rect.y.baseVal.value = bbox.y;
94+
rect.width.baseVal.value = bbox.width;
95+
rect.height.baseVal.value = bbox.height;
96+
rect.setAttribute('class', className);
97+
addItems.push({
98+
"parent": node.parentNode,
99+
"target": rect});
100+
}
81101
}
82102
}
83103
else if (!jQuery(node).is("button, select, textarea")) {
84104
jQuery.each(node.childNodes, function() {
85-
highlight(this);
105+
highlight(this, addItems);
86106
});
87107
}
88108
}
89-
return this.each(function() {
90-
highlight(this);
109+
var addItems = [];
110+
var result = this.each(function() {
111+
highlight(this, addItems);
91112
});
113+
for (var i = 0; i < addItems.length; ++i) {
114+
jQuery(addItems[i].parent).before(addItems[i].target);
115+
}
116+
return result;
92117
};
93118

94119
/*
@@ -124,28 +149,30 @@ var Documentation = {
124149
this.fixFirefoxAnchorBug();
125150
this.highlightSearchWords();
126151
this.initIndexTable();
127-
152+
if (DOCUMENTATION_OPTIONS.NAVIGATION_WITH_KEYS) {
153+
this.initOnKeyListeners();
154+
}
128155
},
129156

130157
/**
131158
* i18n support
132159
*/
133160
TRANSLATIONS : {},
134-
PLURAL_EXPR : function(n) { return n == 1 ? 0 : 1; },
161+
PLURAL_EXPR : function(n) { return n === 1 ? 0 : 1; },
135162
LOCALE : 'unknown',
136163

137164
// gettext and ngettext don't access this so that the functions
138165
// can safely bound to a different name (_ = Documentation.gettext)
139166
gettext : function(string) {
140167
var translated = Documentation.TRANSLATIONS[string];
141-
if (typeof translated == 'undefined')
168+
if (typeof translated === 'undefined')
142169
return string;
143-
return (typeof translated == 'string') ? translated : translated[0];
170+
return (typeof translated === 'string') ? translated : translated[0];
144171
},
145172

146173
ngettext : function(singular, plural, n) {
147174
var translated = Documentation.TRANSLATIONS[singular];
148-
if (typeof translated == 'undefined')
175+
if (typeof translated === 'undefined')
149176
return (n == 1) ? singular : plural;
150177
return translated[Documentation.PLURALEXPR(n)];
151178
},
@@ -180,7 +207,7 @@ var Documentation = {
180207
* see: https://bugzilla.mozilla.org/show_bug.cgi?id=645075
181208
*/
182209
fixFirefoxAnchorBug : function() {
183-
if (document.location.hash)
210+
if (document.location.hash && $.browser.mozilla)
184211
window.setTimeout(function() {
185212
document.location.href += '';
186213
}, 10);
@@ -216,7 +243,7 @@ var Documentation = {
216243
var src = $(this).attr('src');
217244
var idnum = $(this).attr('id').substr(7);
218245
$('tr.cg-' + idnum).toggle();
219-
if (src.substr(-9) == 'minus.png')
246+
if (src.substr(-9) === 'minus.png')
220247
$(this).attr('src', src.substr(0, src.length-9) + 'plus.png');
221248
else
222249
$(this).attr('src', src.substr(0, src.length-8) + 'minus.png');
@@ -248,7 +275,7 @@ var Documentation = {
248275
var path = document.location.pathname;
249276
var parts = path.split(/\//);
250277
$.each(DOCUMENTATION_OPTIONS.URL_ROOT.split(/\//), function() {
251-
if (this == '..')
278+
if (this === '..')
252279
parts.pop();
253280
});
254281
var url = parts.join('/');
@@ -284,4 +311,4 @@ _ = Documentation.gettext;
284311

285312
$(document).ready(function() {
286313
Documentation.init();
287-
});
314+
});

_static/documentation_options.js

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
var DOCUMENTATION_OPTIONS = {
2+
URL_ROOT: document.getElementById("documentation_options").getAttribute('data-url_root'),
3+
VERSION: '2019',
4+
LANGUAGE: 'None',
5+
COLLAPSE_INDEX: false,
6+
FILE_SUFFIX: '.html',
7+
HAS_SOURCE: true,
8+
SOURCELINK_SUFFIX: '.txt',
9+
NAVIGATION_WITH_KEYS: false
10+
};

_static/down-pressed.png

-222 Bytes
Binary file not shown.

_static/down.png

-202 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)