Skip to content

Commit 8f867a3

Browse files
authored
Merge pull request #161 from IndicoDataSolutions/andrew/CAT-130
[CAT-130] - Add reviews filter
2 parents ab79609 + d0aa11f commit 8f867a3

65 files changed

Lines changed: 1780 additions & 7010 deletions

Some content is hidden

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

docs/.buildinfo

Lines changed: 1 addition & 1 deletion
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: c5cbe4a7624d7549079e7846d28d9da6
3+
config: aa44b5b7348b07fe3b3ee969d9607a11
44
tags: 645f666f9bcd5a90fca523b33c5a78b7

docs/_static/basic.css

Lines changed: 5 additions & 3 deletions
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-"] {
@@ -819,7 +821,7 @@ div.code-block-caption code {
819821

820822
table.highlighttable td.linenos,
821823
span.linenos,
822-
div.doctest > div.highlight span.gp { /* gp: Generic.Prompt */
824+
div.highlight span.gp { /* gp: Generic.Prompt */
823825
user-select: none;
824826
-webkit-user-select: text; /* Safari fallback only */
825827
-webkit-user-select: none; /* Chrome/Safari */

docs/_static/css/theme.css

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

docs/_static/doctools.js

Lines changed: 56 additions & 19 deletions
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,25 +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-
case 39: // right
305-
var nextHref = $('link[rel="next"]').prop('href');
306-
if (nextHref) {
307-
window.location.href = nextHref;
308-
return false;
309-
}
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;
310347
}
311348
}
312349
});

docs/_static/documentation_options.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,7 @@ var DOCUMENTATION_OPTIONS = {
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
};

docs/_static/js/theme.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/_static/language_data.js

Lines changed: 1 addition & 1 deletion
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
*/

docs/_static/pygments.css

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -5,22 +5,22 @@ td.linenos .special { color: #000000; background-color: #ffffc0; padding-left: 5
55
span.linenos.special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; }
66
.highlight .hll { background-color: #ffffcc }
77
.highlight { background: #f8f8f8; }
8-
.highlight .c { color: #408080; font-style: italic } /* Comment */
8+
.highlight .c { color: #3D7B7B; font-style: italic } /* Comment */
99
.highlight .err { border: 1px solid #FF0000 } /* Error */
1010
.highlight .k { color: #008000; font-weight: bold } /* Keyword */
1111
.highlight .o { color: #666666 } /* Operator */
12-
.highlight .ch { color: #408080; font-style: italic } /* Comment.Hashbang */
13-
.highlight .cm { color: #408080; font-style: italic } /* Comment.Multiline */
14-
.highlight .cp { color: #BC7A00 } /* Comment.Preproc */
15-
.highlight .cpf { color: #408080; font-style: italic } /* Comment.PreprocFile */
16-
.highlight .c1 { color: #408080; font-style: italic } /* Comment.Single */
17-
.highlight .cs { color: #408080; font-style: italic } /* Comment.Special */
12+
.highlight .ch { color: #3D7B7B; font-style: italic } /* Comment.Hashbang */
13+
.highlight .cm { color: #3D7B7B; font-style: italic } /* Comment.Multiline */
14+
.highlight .cp { color: #9C6500 } /* Comment.Preproc */
15+
.highlight .cpf { color: #3D7B7B; font-style: italic } /* Comment.PreprocFile */
16+
.highlight .c1 { color: #3D7B7B; font-style: italic } /* Comment.Single */
17+
.highlight .cs { color: #3D7B7B; font-style: italic } /* Comment.Special */
1818
.highlight .gd { color: #A00000 } /* Generic.Deleted */
1919
.highlight .ge { font-style: italic } /* Generic.Emph */
20-
.highlight .gr { color: #FF0000 } /* Generic.Error */
20+
.highlight .gr { color: #E40000 } /* Generic.Error */
2121
.highlight .gh { color: #000080; font-weight: bold } /* Generic.Heading */
22-
.highlight .gi { color: #00A000 } /* Generic.Inserted */
23-
.highlight .go { color: #888888 } /* Generic.Output */
22+
.highlight .gi { color: #008400 } /* Generic.Inserted */
23+
.highlight .go { color: #717171 } /* Generic.Output */
2424
.highlight .gp { color: #000080; font-weight: bold } /* Generic.Prompt */
2525
.highlight .gs { font-weight: bold } /* Generic.Strong */
2626
.highlight .gu { color: #800080; font-weight: bold } /* Generic.Subheading */
@@ -33,15 +33,15 @@ span.linenos.special { color: #000000; background-color: #ffffc0; padding-left:
3333
.highlight .kt { color: #B00040 } /* Keyword.Type */
3434
.highlight .m { color: #666666 } /* Literal.Number */
3535
.highlight .s { color: #BA2121 } /* Literal.String */
36-
.highlight .na { color: #7D9029 } /* Name.Attribute */
36+
.highlight .na { color: #687822 } /* Name.Attribute */
3737
.highlight .nb { color: #008000 } /* Name.Builtin */
3838
.highlight .nc { color: #0000FF; font-weight: bold } /* Name.Class */
3939
.highlight .no { color: #880000 } /* Name.Constant */
4040
.highlight .nd { color: #AA22FF } /* Name.Decorator */
41-
.highlight .ni { color: #999999; font-weight: bold } /* Name.Entity */
42-
.highlight .ne { color: #D2413A; font-weight: bold } /* Name.Exception */
41+
.highlight .ni { color: #717171; font-weight: bold } /* Name.Entity */
42+
.highlight .ne { color: #CB3F38; font-weight: bold } /* Name.Exception */
4343
.highlight .nf { color: #0000FF } /* Name.Function */
44-
.highlight .nl { color: #A0A000 } /* Name.Label */
44+
.highlight .nl { color: #767600 } /* Name.Label */
4545
.highlight .nn { color: #0000FF; font-weight: bold } /* Name.Namespace */
4646
.highlight .nt { color: #008000; font-weight: bold } /* Name.Tag */
4747
.highlight .nv { color: #19177C } /* Name.Variable */
@@ -58,11 +58,11 @@ span.linenos.special { color: #000000; background-color: #ffffc0; padding-left:
5858
.highlight .dl { color: #BA2121 } /* Literal.String.Delimiter */
5959
.highlight .sd { color: #BA2121; font-style: italic } /* Literal.String.Doc */
6060
.highlight .s2 { color: #BA2121 } /* Literal.String.Double */
61-
.highlight .se { color: #BB6622; font-weight: bold } /* Literal.String.Escape */
61+
.highlight .se { color: #AA5D1F; font-weight: bold } /* Literal.String.Escape */
6262
.highlight .sh { color: #BA2121 } /* Literal.String.Heredoc */
63-
.highlight .si { color: #BB6688; font-weight: bold } /* Literal.String.Interpol */
63+
.highlight .si { color: #A45A77; font-weight: bold } /* Literal.String.Interpol */
6464
.highlight .sx { color: #008000 } /* Literal.String.Other */
65-
.highlight .sr { color: #BB6688 } /* Literal.String.Regex */
65+
.highlight .sr { color: #A45A77 } /* Literal.String.Regex */
6666
.highlight .s1 { color: #BA2121 } /* Literal.String.Single */
6767
.highlight .ss { color: #19177C } /* Literal.String.Symbol */
6868
.highlight .bp { color: #008000 } /* Name.Builtin.Pseudo */

0 commit comments

Comments
 (0)