Skip to content

Commit acb1dac

Browse files
committed
Fix buggy UI for listener spectrum UI
Include timed-reload and auto-reconnect to keep the UI stable
1 parent 51f64e5 commit acb1dac

11 files changed

Lines changed: 250 additions & 129 deletions

File tree

.pre-commit-config.yaml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,15 @@
11
fail_fast: true
22
exclude: ^(notebooks/|scripts/|.github/|docs/|dev_scripts/)
33
repos:
4+
- repo: local
5+
hooks:
6+
- id: install pre-commit
7+
name: install pre-commit
8+
entry: python -m pip install -q sphinx==5.1.1 pre-commit recommonmark gitverse
9+
language: system
10+
pass_filenames: false
11+
always_run: true
12+
413
- repo: https://github.com/pre-commit/pre-commit-hooks
514
rev: v5.0.0
615
hooks:
@@ -34,8 +43,8 @@ repos:
3443
# Latest version is just ugly and does the opposite of a linter
3544
rev: 22.3.0
3645
hooks:
37-
- id: black
38-
exclude: docs_gen/
46+
- id: black
47+
exclude: docs_gen/
3948

4049
- repo: https://github.com/PyCQA/flake8
4150
rev: 7.1.1

docs/README.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<html lang="en">
55
<head>
66
<meta charset="utf-8" />
7-
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="viewport" content="width=device-width, initial-scale=1" />
7+
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.19: https://docutils.sourceforge.io/" />
88

99
<title>Kick off &#8212; Jarvis documentation</title>
1010
<link rel="stylesheet" type="text/css" href="_static/pygments.css" />
@@ -114,7 +114,7 @@ <h1>Kick off<a class="headerlink" href="#kick-off" title="Permalink to this head
114114
</pre></div>
115115
</div>
116116
<p><strong>Initiate - IDE</strong></p>
117-
<div class="highlight-python notranslate"><div class="highlight"><pre><span></span><span class="kn">import</span><span class="w"> </span><span class="nn">jarvis</span>
117+
<div class="highlight-python notranslate"><div class="highlight"><pre><span></span><span class="kn">import</span> <span class="nn">jarvis</span>
118118

119119

120120
<span class="k">if</span> <span class="vm">__name__</span> <span class="o">==</span> <span class="s1">&#39;__main__&#39;</span><span class="p">:</span>

docs/_static/pygments.css

Lines changed: 33 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -6,70 +6,70 @@ span.linenos.special { color: #000000; background-color: #ffffc0; padding-left:
66
.highlight .hll { background-color: #ffffcc }
77
.highlight { background: #eeffcc; }
88
.highlight .c { color: #408090; font-style: italic } /* Comment */
9-
.highlight .err { border: 1px solid #F00 } /* Error */
9+
.highlight .err { border: 1px solid #FF0000 } /* Error */
1010
.highlight .k { color: #007020; font-weight: bold } /* Keyword */
11-
.highlight .o { color: #666 } /* Operator */
11+
.highlight .o { color: #666666 } /* Operator */
1212
.highlight .ch { color: #408090; font-style: italic } /* Comment.Hashbang */
1313
.highlight .cm { color: #408090; font-style: italic } /* Comment.Multiline */
1414
.highlight .cp { color: #007020 } /* Comment.Preproc */
1515
.highlight .cpf { color: #408090; font-style: italic } /* Comment.PreprocFile */
1616
.highlight .c1 { color: #408090; font-style: italic } /* Comment.Single */
17-
.highlight .cs { color: #408090; background-color: #FFF0F0 } /* Comment.Special */
17+
.highlight .cs { color: #408090; background-color: #fff0f0 } /* Comment.Special */
1818
.highlight .gd { color: #A00000 } /* Generic.Deleted */
1919
.highlight .ge { font-style: italic } /* Generic.Emph */
2020
.highlight .ges { font-weight: bold; font-style: italic } /* Generic.EmphStrong */
21-
.highlight .gr { color: #F00 } /* Generic.Error */
21+
.highlight .gr { color: #FF0000 } /* Generic.Error */
2222
.highlight .gh { color: #000080; font-weight: bold } /* Generic.Heading */
2323
.highlight .gi { color: #00A000 } /* Generic.Inserted */
24-
.highlight .go { color: #333 } /* Generic.Output */
25-
.highlight .gp { color: #C65D09; font-weight: bold } /* Generic.Prompt */
24+
.highlight .go { color: #333333 } /* Generic.Output */
25+
.highlight .gp { color: #c65d09; font-weight: bold } /* Generic.Prompt */
2626
.highlight .gs { font-weight: bold } /* Generic.Strong */
2727
.highlight .gu { color: #800080; font-weight: bold } /* Generic.Subheading */
28-
.highlight .gt { color: #04D } /* Generic.Traceback */
28+
.highlight .gt { color: #0044DD } /* Generic.Traceback */
2929
.highlight .kc { color: #007020; font-weight: bold } /* Keyword.Constant */
3030
.highlight .kd { color: #007020; font-weight: bold } /* Keyword.Declaration */
3131
.highlight .kn { color: #007020; font-weight: bold } /* Keyword.Namespace */
3232
.highlight .kp { color: #007020 } /* Keyword.Pseudo */
3333
.highlight .kr { color: #007020; font-weight: bold } /* Keyword.Reserved */
3434
.highlight .kt { color: #902000 } /* Keyword.Type */
3535
.highlight .m { color: #208050 } /* Literal.Number */
36-
.highlight .s { color: #4070A0 } /* Literal.String */
37-
.highlight .na { color: #4070A0 } /* Name.Attribute */
36+
.highlight .s { color: #4070a0 } /* Literal.String */
37+
.highlight .na { color: #4070a0 } /* Name.Attribute */
3838
.highlight .nb { color: #007020 } /* Name.Builtin */
39-
.highlight .nc { color: #0E84B5; font-weight: bold } /* Name.Class */
40-
.highlight .no { color: #60ADD5 } /* Name.Constant */
41-
.highlight .nd { color: #555; font-weight: bold } /* Name.Decorator */
42-
.highlight .ni { color: #D55537; font-weight: bold } /* Name.Entity */
39+
.highlight .nc { color: #0e84b5; font-weight: bold } /* Name.Class */
40+
.highlight .no { color: #60add5 } /* Name.Constant */
41+
.highlight .nd { color: #555555; font-weight: bold } /* Name.Decorator */
42+
.highlight .ni { color: #d55537; font-weight: bold } /* Name.Entity */
4343
.highlight .ne { color: #007020 } /* Name.Exception */
44-
.highlight .nf { color: #06287E } /* Name.Function */
44+
.highlight .nf { color: #06287e } /* Name.Function */
4545
.highlight .nl { color: #002070; font-weight: bold } /* Name.Label */
46-
.highlight .nn { color: #0E84B5; font-weight: bold } /* Name.Namespace */
46+
.highlight .nn { color: #0e84b5; font-weight: bold } /* Name.Namespace */
4747
.highlight .nt { color: #062873; font-weight: bold } /* Name.Tag */
48-
.highlight .nv { color: #BB60D5 } /* Name.Variable */
48+
.highlight .nv { color: #bb60d5 } /* Name.Variable */
4949
.highlight .ow { color: #007020; font-weight: bold } /* Operator.Word */
50-
.highlight .w { color: #BBB } /* Text.Whitespace */
50+
.highlight .w { color: #bbbbbb } /* Text.Whitespace */
5151
.highlight .mb { color: #208050 } /* Literal.Number.Bin */
5252
.highlight .mf { color: #208050 } /* Literal.Number.Float */
5353
.highlight .mh { color: #208050 } /* Literal.Number.Hex */
5454
.highlight .mi { color: #208050 } /* Literal.Number.Integer */
5555
.highlight .mo { color: #208050 } /* Literal.Number.Oct */
56-
.highlight .sa { color: #4070A0 } /* Literal.String.Affix */
57-
.highlight .sb { color: #4070A0 } /* Literal.String.Backtick */
58-
.highlight .sc { color: #4070A0 } /* Literal.String.Char */
59-
.highlight .dl { color: #4070A0 } /* Literal.String.Delimiter */
60-
.highlight .sd { color: #4070A0; font-style: italic } /* Literal.String.Doc */
61-
.highlight .s2 { color: #4070A0 } /* Literal.String.Double */
62-
.highlight .se { color: #4070A0; font-weight: bold } /* Literal.String.Escape */
63-
.highlight .sh { color: #4070A0 } /* Literal.String.Heredoc */
64-
.highlight .si { color: #70A0D0; font-style: italic } /* Literal.String.Interpol */
65-
.highlight .sx { color: #C65D09 } /* Literal.String.Other */
56+
.highlight .sa { color: #4070a0 } /* Literal.String.Affix */
57+
.highlight .sb { color: #4070a0 } /* Literal.String.Backtick */
58+
.highlight .sc { color: #4070a0 } /* Literal.String.Char */
59+
.highlight .dl { color: #4070a0 } /* Literal.String.Delimiter */
60+
.highlight .sd { color: #4070a0; font-style: italic } /* Literal.String.Doc */
61+
.highlight .s2 { color: #4070a0 } /* Literal.String.Double */
62+
.highlight .se { color: #4070a0; font-weight: bold } /* Literal.String.Escape */
63+
.highlight .sh { color: #4070a0 } /* Literal.String.Heredoc */
64+
.highlight .si { color: #70a0d0; font-style: italic } /* Literal.String.Interpol */
65+
.highlight .sx { color: #c65d09 } /* Literal.String.Other */
6666
.highlight .sr { color: #235388 } /* Literal.String.Regex */
67-
.highlight .s1 { color: #4070A0 } /* Literal.String.Single */
67+
.highlight .s1 { color: #4070a0 } /* Literal.String.Single */
6868
.highlight .ss { color: #517918 } /* Literal.String.Symbol */
6969
.highlight .bp { color: #007020 } /* Name.Builtin.Pseudo */
70-
.highlight .fm { color: #06287E } /* Name.Function.Magic */
71-
.highlight .vc { color: #BB60D5 } /* Name.Variable.Class */
72-
.highlight .vg { color: #BB60D5 } /* Name.Variable.Global */
73-
.highlight .vi { color: #BB60D5 } /* Name.Variable.Instance */
74-
.highlight .vm { color: #BB60D5 } /* Name.Variable.Magic */
70+
.highlight .fm { color: #06287e } /* Name.Function.Magic */
71+
.highlight .vc { color: #bb60d5 } /* Name.Variable.Class */
72+
.highlight .vg { color: #bb60d5 } /* Name.Variable.Global */
73+
.highlight .vi { color: #bb60d5 } /* Name.Variable.Instance */
74+
.highlight .vm { color: #bb60d5 } /* Name.Variable.Magic */
7575
.highlight .il { color: #208050 } /* Literal.Number.Integer.Long */

0 commit comments

Comments
 (0)