Skip to content

Commit bc24fd1

Browse files
author
getsentry-bot
committed
craft(gh-pages): update, version "1.5.9"
1 parent 94ccf2e commit bc24fd1

24 files changed

+130
-83
lines changed

.buildinfo

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# Sphinx build info version 1
22
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
3-
config: 855bc2b3bee679779a18534faa37c6b2
3+
config: 9076f1d062a6e96cf5355f6e71e31426
44
tags: 645f666f9bcd5a90fca523b33c5a78b7

.doctrees/api.doctree

1.58 KB
Binary file not shown.

.doctrees/environment.pickle

440 Bytes
Binary file not shown.

.doctrees/index.doctree

39 Bytes
Binary file not shown.

.doctrees/integrations.doctree

326 Bytes
Binary file not shown.

_modules/index.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<head>
66
<meta charset="utf-8" />
77
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
8-
<title>Overview: module code &#8212; sentry-python 1.5.8 documentation</title>
8+
<title>Overview: module code &#8212; sentry-python 1.5.9 documentation</title>
99
<link rel="stylesheet" type="text/css" href="../_static/pygments.css" />
1010
<link rel="stylesheet" type="text/css" href="../_static/alabaster.css" />
1111
<script data-url_root="../" id="documentation_options" src="../_static/documentation_options.js"></script>
@@ -93,7 +93,7 @@ <h3 id="searchlabel">Quick search</h3>
9393
&copy;2019, Sentry Team and Contributors.
9494

9595
|
96-
Powered by <a href="http://sphinx-doc.org/">Sphinx 4.1.1</a>
96+
Powered by <a href="http://sphinx-doc.org/">Sphinx 4.5.0</a>
9797
&amp; <a href="https://github.com/bitprophet/alabaster">Alabaster 0.7.12</a>
9898

9999
</div>

_modules/sentry_sdk/api.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<head>
66
<meta charset="utf-8" />
77
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
8-
<title>sentry_sdk.api &#8212; sentry-python 1.5.8 documentation</title>
8+
<title>sentry_sdk.api &#8212; sentry-python 1.5.9 documentation</title>
99
<link rel="stylesheet" type="text/css" href="../../_static/pygments.css" />
1010
<link rel="stylesheet" type="text/css" href="../../_static/alabaster.css" />
1111
<script data-url_root="../../" id="documentation_options" src="../../_static/documentation_options.js"></script>
@@ -303,7 +303,7 @@ <h3 id="searchlabel">Quick search</h3>
303303
&copy;2019, Sentry Team and Contributors.
304304

305305
|
306-
Powered by <a href="http://sphinx-doc.org/">Sphinx 4.1.1</a>
306+
Powered by <a href="http://sphinx-doc.org/">Sphinx 4.5.0</a>
307307
&amp; <a href="https://github.com/bitprophet/alabaster">Alabaster 0.7.12</a>
308308

309309
</div>

_modules/sentry_sdk/client.html

+2-3
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<head>
66
<meta charset="utf-8" />
77
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
8-
<title>sentry_sdk.client &#8212; sentry-python 1.5.8 documentation</title>
8+
<title>sentry_sdk.client &#8212; sentry-python 1.5.9 documentation</title>
99
<link rel="stylesheet" type="text/css" href="../../_static/pygments.css" />
1010
<link rel="stylesheet" type="text/css" href="../../_static/alabaster.css" />
1111
<script data-url_root="../../" id="documentation_options" src="../../_static/documentation_options.js"></script>
@@ -484,7 +484,6 @@ <h1>Source code for sentry_sdk.client</h1><div class="highlight"><pre>
484484
<div class="viewcode-block" id="Client"><a class="viewcode-back" href="../../api.html#sentry_sdk.Client">[docs]</a> <span class="k">class</span> <span class="nc">Client</span><span class="p">(</span><span class="n">ClientConstructor</span><span class="p">,</span> <span class="n">_Client</span><span class="p">):</span>
485485
<span class="k">pass</span></div>
486486

487-
488487
<span class="k">else</span><span class="p">:</span>
489488
<span class="c1"># Alias `get_options` for actual usage. Go through the lambda indirection</span>
490489
<span class="c1"># to throw PyCharm off of the weakly typed signature (it would otherwise</span>
@@ -551,7 +550,7 @@ <h3 id="searchlabel">Quick search</h3>
551550
&copy;2019, Sentry Team and Contributors.
552551

553552
|
554-
Powered by <a href="http://sphinx-doc.org/">Sphinx 4.1.1</a>
553+
Powered by <a href="http://sphinx-doc.org/">Sphinx 4.5.0</a>
555554
&amp; <a href="https://github.com/bitprophet/alabaster">Alabaster 0.7.12</a>
556555

557556
</div>

_modules/sentry_sdk/hub.html

+2-3
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<head>
66
<meta charset="utf-8" />
77
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
8-
<title>sentry_sdk.hub &#8212; sentry-python 1.5.8 documentation</title>
8+
<title>sentry_sdk.hub &#8212; sentry-python 1.5.9 documentation</title>
99
<link rel="stylesheet" type="text/css" href="../../_static/pygments.css" />
1010
<link rel="stylesheet" type="text/css" href="../../_static/alabaster.css" />
1111
<script data-url_root="../../" id="documentation_options" src="../../_static/documentation_options.js"></script>
@@ -153,7 +153,6 @@ <h1>Source code for sentry_sdk.hub</h1><div class="highlight"><pre>
153153
<div class="viewcode-block" id="init"><a class="viewcode-back" href="../../api.html#sentry_sdk.init">[docs]</a> <span class="k">class</span> <span class="nc">init</span><span class="p">(</span><span class="n">ClientConstructor</span><span class="p">,</span> <span class="n">ContextManager</span><span class="p">[</span><span class="n">Any</span><span class="p">]):</span> <span class="c1"># noqa: N801</span>
154154
<span class="k">pass</span></div>
155155

156-
157156
<span class="k">else</span><span class="p">:</span>
158157
<span class="c1"># Alias `init` for actual usage. Go through the lambda indirection to throw</span>
159158
<span class="c1"># PyCharm off of the weakly typed signature (it would otherwise discover</span>
@@ -797,7 +796,7 @@ <h3 id="searchlabel">Quick search</h3>
797796
&copy;2019, Sentry Team and Contributors.
798797

799798
|
800-
Powered by <a href="http://sphinx-doc.org/">Sphinx 4.1.1</a>
799+
Powered by <a href="http://sphinx-doc.org/">Sphinx 4.5.0</a>
801800
&amp; <a href="https://github.com/bitprophet/alabaster">Alabaster 0.7.12</a>
802801

803802
</div>

_modules/sentry_sdk/integrations/logging.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<head>
66
<meta charset="utf-8" />
77
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
8-
<title>sentry_sdk.integrations.logging &#8212; sentry-python 1.5.8 documentation</title>
8+
<title>sentry_sdk.integrations.logging &#8212; sentry-python 1.5.9 documentation</title>
99
<link rel="stylesheet" type="text/css" href="../../../_static/pygments.css" />
1010
<link rel="stylesheet" type="text/css" href="../../../_static/alabaster.css" />
1111
<script data-url_root="../../../" id="documentation_options" src="../../../_static/documentation_options.js"></script>
@@ -364,7 +364,7 @@ <h3 id="searchlabel">Quick search</h3>
364364
&copy;2019, Sentry Team and Contributors.
365365

366366
|
367-
Powered by <a href="http://sphinx-doc.org/">Sphinx 4.1.1</a>
367+
Powered by <a href="http://sphinx-doc.org/">Sphinx 4.5.0</a>
368368
&amp; <a href="https://github.com/bitprophet/alabaster">Alabaster 0.7.12</a>
369369

370370
</div>

_modules/sentry_sdk/scope.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<head>
66
<meta charset="utf-8" />
77
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
8-
<title>sentry_sdk.scope &#8212; sentry-python 1.5.8 documentation</title>
8+
<title>sentry_sdk.scope &#8212; sentry-python 1.5.9 documentation</title>
99
<link rel="stylesheet" type="text/css" href="../../_static/pygments.css" />
1010
<link rel="stylesheet" type="text/css" href="../../_static/alabaster.css" />
1111
<script data-url_root="../../" id="documentation_options" src="../../_static/documentation_options.js"></script>
@@ -568,7 +568,7 @@ <h3 id="searchlabel">Quick search</h3>
568568
&copy;2019, Sentry Team and Contributors.
569569

570570
|
571-
Powered by <a href="http://sphinx-doc.org/">Sphinx 4.1.1</a>
571+
Powered by <a href="http://sphinx-doc.org/">Sphinx 4.5.0</a>
572572
&amp; <a href="https://github.com/bitprophet/alabaster">Alabaster 0.7.12</a>
573573

574574
</div>

_modules/sentry_sdk/transport.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<head>
66
<meta charset="utf-8" />
77
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
8-
<title>sentry_sdk.transport &#8212; sentry-python 1.5.8 documentation</title>
8+
<title>sentry_sdk.transport &#8212; sentry-python 1.5.9 documentation</title>
99
<link rel="stylesheet" type="text/css" href="../../_static/pygments.css" />
1010
<link rel="stylesheet" type="text/css" href="../../_static/alabaster.css" />
1111
<script data-url_root="../../" id="documentation_options" src="../../_static/documentation_options.js"></script>
@@ -620,7 +620,7 @@ <h3 id="searchlabel">Quick search</h3>
620620
&copy;2019, Sentry Team and Contributors.
621621

622622
|
623-
Powered by <a href="http://sphinx-doc.org/">Sphinx 4.1.1</a>
623+
Powered by <a href="http://sphinx-doc.org/">Sphinx 4.5.0</a>
624624
&amp; <a href="https://github.com/bitprophet/alabaster">Alabaster 0.7.12</a>
625625

626626
</div>

_static/basic.css

+4-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
*
55
* Sphinx stylesheet -- basic theme.
66
*
7-
* :copyright: Copyright 2007-2021 by the Sphinx team, see AUTHORS.
7+
* :copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
88
* :license: BSD, see LICENSE for details.
99
*
1010
*/
@@ -731,8 +731,9 @@ dl.glossary dt {
731731

732732
.classifier:before {
733733
font-style: normal;
734-
margin: 0.5em;
734+
margin: 0 0.5em;
735735
content: ":";
736+
display: inline-block;
736737
}
737738

738739
abbr, acronym {
@@ -756,6 +757,7 @@ span.pre {
756757
-ms-hyphens: none;
757758
-webkit-hyphens: none;
758759
hyphens: none;
760+
white-space: nowrap;
759761
}
760762

761763
div[class*="highlight-"] {

_static/doctools.js

+56-21
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-2021 by the Sphinx team, see AUTHORS.
7+
* :copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
88
* :license: BSD, see LICENSE for details.
99
*
1010
*/
@@ -154,9 +154,7 @@ var Documentation = {
154154
this.fixFirefoxAnchorBug();
155155
this.highlightSearchWords();
156156
this.initIndexTable();
157-
if (DOCUMENTATION_OPTIONS.NAVIGATION_WITH_KEYS) {
158-
this.initOnKeyListeners();
159-
}
157+
this.initOnKeyListeners();
160158
},
161159

162160
/**
@@ -264,6 +262,16 @@ var Documentation = {
264262
hideSearchWords : function() {
265263
$('#searchbox .highlight-link').fadeOut(300);
266264
$('span.highlighted').removeClass('highlighted');
265+
var url = new URL(window.location);
266+
url.searchParams.delete('highlight');
267+
window.history.replaceState({}, '', url);
268+
},
269+
270+
/**
271+
* helper function to focus on search bar
272+
*/
273+
focusSearchBar : function() {
274+
$('input[name=q]').first().focus();
267275
},
268276

269277
/**
@@ -288,27 +296,54 @@ var Documentation = {
288296
},
289297

290298
initOnKeyListeners: function() {
299+
// only install a listener if it is really needed
300+
if (!DOCUMENTATION_OPTIONS.NAVIGATION_WITH_KEYS &&
301+
!DOCUMENTATION_OPTIONS.ENABLE_SEARCH_SHORTCUTS)
302+
return;
303+
291304
$(document).keydown(function(event) {
292305
var activeElementType = document.activeElement.tagName;
293306
// don't navigate when in search box, textarea, dropdown or button
294307
if (activeElementType !== 'TEXTAREA' && activeElementType !== 'INPUT' && activeElementType !== 'SELECT'
295-
&& activeElementType !== 'BUTTON' && !event.altKey && !event.ctrlKey && !event.metaKey
296-
&& !event.shiftKey) {
297-
switch (event.keyCode) {
298-
case 37: // left
299-
var prevHref = $('link[rel="prev"]').prop('href');
300-
if (prevHref) {
301-
window.location.href = prevHref;
302-
return false;
303-
}
304-
break;
305-
case 39: // right
306-
var nextHref = $('link[rel="next"]').prop('href');
307-
if (nextHref) {
308-
window.location.href = nextHref;
309-
return false;
310-
}
311-
break;
308+
&& activeElementType !== 'BUTTON') {
309+
if (event.altKey || event.ctrlKey || event.metaKey)
310+
return;
311+
312+
if (!event.shiftKey) {
313+
switch (event.key) {
314+
case 'ArrowLeft':
315+
if (!DOCUMENTATION_OPTIONS.NAVIGATION_WITH_KEYS)
316+
break;
317+
var prevHref = $('link[rel="prev"]').prop('href');
318+
if (prevHref) {
319+
window.location.href = prevHref;
320+
return false;
321+
}
322+
break;
323+
case 'ArrowRight':
324+
if (!DOCUMENTATION_OPTIONS.NAVIGATION_WITH_KEYS)
325+
break;
326+
var nextHref = $('link[rel="next"]').prop('href');
327+
if (nextHref) {
328+
window.location.href = nextHref;
329+
return false;
330+
}
331+
break;
332+
case 'Escape':
333+
if (!DOCUMENTATION_OPTIONS.ENABLE_SEARCH_SHORTCUTS)
334+
break;
335+
Documentation.hideSearchWords();
336+
return false;
337+
}
338+
}
339+
340+
// some keyboard layouts may need Shift to get /
341+
switch (event.key) {
342+
case '/':
343+
if (!DOCUMENTATION_OPTIONS.ENABLE_SEARCH_SHORTCUTS)
344+
break;
345+
Documentation.focusSearchBar();
346+
return false;
312347
}
313348
}
314349
});

_static/documentation_options.js

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
var DOCUMENTATION_OPTIONS = {
22
URL_ROOT: document.getElementById("documentation_options").getAttribute('data-url_root'),
3-
VERSION: '1.5.8',
3+
VERSION: '1.5.9',
44
LANGUAGE: 'None',
55
COLLAPSE_INDEX: false,
66
BUILDER: 'html',
77
FILE_SUFFIX: '.html',
88
LINK_SUFFIX: '.html',
99
HAS_SOURCE: true,
1010
SOURCELINK_SUFFIX: '.txt',
11-
NAVIGATION_WITH_KEYS: false
11+
NAVIGATION_WITH_KEYS: false,
12+
SHOW_SEARCH_SUMMARY: true,
13+
ENABLE_SEARCH_SHORTCUTS: true,
1214
};

_static/language_data.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* This script contains the language-specific data used by searchtools.js,
66
* namely the list of stopwords, stemmer, scorer and splitter.
77
*
8-
* :copyright: Copyright 2007-2021 by the Sphinx team, see AUTHORS.
8+
* :copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
99
* :license: BSD, see LICENSE for details.
1010
*
1111
*/

_static/searchtools.js

+18-9
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
*
55
* Sphinx JavaScript utilities for the full-text search.
66
*
7-
* :copyright: Copyright 2007-2021 by the Sphinx team, see AUTHORS.
7+
* :copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
88
* :license: BSD, see LICENSE for details.
99
*
1010
*/
@@ -172,10 +172,6 @@ var Search = {
172172
}
173173
// stem the word
174174
var word = stemmer.stemWord(tmp[i].toLowerCase());
175-
// prevent stemmer from cutting word smaller than two chars
176-
if(word.length < 3 && tmp[i].length >= 3) {
177-
word = tmp[i];
178-
}
179175
var toAppend;
180176
// select the correct list
181177
if (word[0] == '-') {
@@ -276,19 +272,28 @@ var Search = {
276272
setTimeout(function() {
277273
displayNextItem();
278274
}, 5);
279-
} else {
275+
} else if (DOCUMENTATION_OPTIONS.SHOW_SEARCH_SUMMARY) {
280276
$.ajax({url: requestUrl,
281277
dataType: "text",
282278
complete: function(jqxhr, textstatus) {
283279
var data = jqxhr.responseText;
284280
if (data !== '' && data !== undefined) {
285-
listItem.append(Search.makeSearchSummary(data, searchterms, hlterms));
281+
var summary = Search.makeSearchSummary(data, searchterms, hlterms);
282+
if (summary) {
283+
listItem.append(summary);
284+
}
286285
}
287286
Search.output.append(listItem);
288287
setTimeout(function() {
289288
displayNextItem();
290289
}, 5);
291290
}});
291+
} else {
292+
// just display title
293+
Search.output.append(listItem);
294+
setTimeout(function() {
295+
displayNextItem();
296+
}, 5);
292297
}
293298
}
294299
// search finished, update title and status message
@@ -319,7 +324,9 @@ var Search = {
319324
var results = [];
320325

321326
for (var prefix in objects) {
322-
for (var name in objects[prefix]) {
327+
for (var iMatch = 0; iMatch != objects[prefix].length; ++iMatch) {
328+
var match = objects[prefix][iMatch];
329+
var name = match[4];
323330
var fullname = (prefix ? prefix + '.' : '') + name;
324331
var fullnameLower = fullname.toLowerCase()
325332
if (fullnameLower.indexOf(object) > -1) {
@@ -333,7 +340,6 @@ var Search = {
333340
} else if (parts[parts.length - 1].indexOf(object) > -1) {
334341
score += Scorer.objPartialMatch;
335342
}
336-
var match = objects[prefix][name];
337343
var objname = objnames[match[1]][2];
338344
var title = titles[match[0]];
339345
// If more than one term searched for, we require other words to be
@@ -492,6 +498,9 @@ var Search = {
492498
*/
493499
makeSearchSummary : function(htmlText, keywords, hlwords) {
494500
var text = Search.htmlToText(htmlText);
501+
if (text == "") {
502+
return null;
503+
}
495504
var textLower = text.toLowerCase();
496505
var start = 0;
497506
$.each(keywords, function() {

0 commit comments

Comments
 (0)