j1-template 2022.2.2 → 2022.2.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (62) hide show
  1. checksums.yaml +4 -4
  2. data/_includes/themes/j1/blocks/footer/boxes/contacts_box.proc +46 -18
  3. data/_includes/themes/j1/blocks/footer/boxes/links_box.proc +1 -0
  4. data/assets/data/fab.html +2 -2
  5. data/assets/data/footer.html +2 -2
  6. data/assets/themes/j1/core/css/themes/unolight/bootstrap.css +64 -206
  7. data/assets/themes/j1/core/css/themes/unolight/bootstrap.min.css +2 -2
  8. data/assets/themes/j1/modules/nbInteract/README.md +169 -0
  9. data/assets/themes/j1/modules/nbInteract/css/nbinteract-core.css +4 -0
  10. data/assets/themes/j1/modules/nbInteract/css/nbinteract-core.min.css +4 -0
  11. data/lib/j1/version.rb +1 -1
  12. data/lib/starter_web/Gemfile +1 -1
  13. data/lib/starter_web/_config.yml +1 -1
  14. data/lib/starter_web/_data/blocks/defaults/footer.yml +25 -17
  15. data/lib/starter_web/_data/blocks/footer.yml +78 -65
  16. data/lib/starter_web/_data/resources.yml +0 -22
  17. data/lib/starter_web/_includes/attributes.asciidoc +14 -0
  18. data/lib/starter_web/_plugins/lunr_index.rb +1 -1
  19. data/lib/starter_web/assets/images/pages/nbinteract/nbi-textbook-example.jpg +0 -0
  20. data/lib/starter_web/package.json +1 -1
  21. data/lib/starter_web/pages/public/jupyter/docs/_includes/documents/j1_docs_example_static.asciidoc +232 -232
  22. data/lib/starter_web/pages/public/jupyter/docs/j1-nbinteract-doc.adoc +135 -134
  23. data/lib/starter_web/pages/public/jupyter/docs/nbi-widget-manual.adoc +2 -4
  24. data/lib/starter_web/pages/public/jupyter/notebooks/j1/.ipynb_checkpoints/j1_interactive_widgets-checkpoint.ipynb +170 -15
  25. data/lib/starter_web/pages/public/jupyter/notebooks/j1/j1_interactive_widgets.ipynb +170 -15
  26. data/lib/starter_web/pages/public/jupyter/notebooks/nbi-docs/.ipynb_checkpoints/nbi_docs_recipes_interactive_questions-checkpoint.ipynb +185 -0
  27. data/lib/starter_web/pages/public/jupyter/notebooks/nbi-docs/nbi_docs_recipes_interactive_questions.ipynb +19 -22
  28. data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/binder-launches.html +670 -546
  29. data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/j1_docs_example_dynamic.html +186 -186
  30. data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/j1_interactive_widgets.html +919 -702
  31. data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/j1_ode_selected.html +186 -186
  32. data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/nbi_docs_recipes_interactive_questions.html +242 -243
  33. data/lib/starter_web/pages/public/jupyter/{apis/binderhub-api.adoc → services/binderhub.adoc} +22 -25
  34. data/lib/starter_web/pages/public/jupyter/{apis/jupyterhub-api.adoc → services/jupyterhub.adoc} +2 -2
  35. data/lib/starter_web/pages/public/learn/roundtrip/300_icon_fonts.adoc +11 -0
  36. data/lib/starter_web/utilsrv/_defaults/package.json +1 -1
  37. data/lib/starter_web/utilsrv/package.json +1 -1
  38. metadata +7 -28
  39. data/lib/starter_web/_data/_resources.yml +0 -1668
  40. data/lib/starter_web/assets/images/pages/nbinteract/binderhub-architecture.png +0 -0
  41. data/lib/starter_web/pages/public/jupyter/notebooks/j1/.ipynb_checkpoints/algebra_with_sympy-checkpoint.ipynb +0 -14488
  42. data/lib/starter_web/pages/public/jupyter/notebooks/j1/.ipynb_checkpoints/climate-change-forecast-checkpoint.ipynb +0 -916
  43. data/lib/starter_web/pages/public/jupyter/notebooks/j1/.ipynb_checkpoints/ipympl_test_plots-checkpoint.ipynb +0 -14517
  44. data/lib/starter_web/pages/public/jupyter/notebooks/j1/.ipynb_checkpoints/j1_algebra_with_sympy-checkpoint.ipynb +0 -14517
  45. data/lib/starter_web/pages/public/jupyter/notebooks/j1/.ipynb_checkpoints/j1_altair_interactive-checkpoint.ipynb +0 -16493
  46. data/lib/starter_web/pages/public/jupyter/notebooks/j1/.ipynb_checkpoints/j1_altair_visualization-checkpoint.ipynb +0 -15358
  47. data/lib/starter_web/pages/public/jupyter/notebooks/j1/.ipynb_checkpoints/j1_altair_visualization_full-checkpoint.ipynb +0 -2576
  48. data/lib/starter_web/pages/public/jupyter/notebooks/j1/.ipynb_checkpoints/j1_climate_change_forecast-checkpoint.ipynb +0 -1058
  49. data/lib/starter_web/pages/public/jupyter/notebooks/j1/.ipynb_checkpoints/j1_climate_change_forecast.ipynb +0 -1060
  50. data/lib/starter_web/pages/public/jupyter/notebooks/j1/.ipynb_checkpoints/j1_docs_example_dynamic-checkpoint.ipynb +0 -14478
  51. data/lib/starter_web/pages/public/jupyter/notebooks/j1/.ipynb_checkpoints/j1_docs_hist-checkpoint.ipynb +0 -98
  52. data/lib/starter_web/pages/public/jupyter/notebooks/j1/.ipynb_checkpoints/j1_interactive-checkpoint.ipynb +0 -560
  53. data/lib/starter_web/pages/public/jupyter/notebooks/j1/.ipynb_checkpoints/j1_ipympl_test_plots-checkpoint.ipynb +0 -14511
  54. data/lib/starter_web/pages/public/jupyter/notebooks/j1/.ipynb_checkpoints/j1_ode_selected-checkpoint.ipynb +0 -14478
  55. data/lib/starter_web/pages/public/jupyter/notebooks/j1/.ipynb_checkpoints/j1_odes_in_python-checkpoint.ipynb +0 -14818
  56. data/lib/starter_web/pages/public/jupyter/notebooks/j1/.ipynb_checkpoints/j1_pandas_creating_reading_and_writing-checkpoint.ipynb +0 -328
  57. data/lib/starter_web/pages/public/jupyter/notebooks/j1/.ipynb_checkpoints/j1_recipes_layout-checkpoint.ipynb +0 -341
  58. data/lib/starter_web/pages/public/jupyter/notebooks/j1/.ipynb_checkpoints/nbi_docs_recipes_graphing-checkpoint.ipynb +0 -98
  59. data/lib/starter_web/pages/public/jupyter/notebooks/nbi-docs/.ipynb_checkpoints/nbi_docs_examples_correlation-checkpoint.ipynb +0 -651
  60. data/lib/starter_web/pages/public/jupyter/notebooks/nbi-docs/.ipynb_checkpoints/nbi_docs_examples_variability_of_the_sample_mean-checkpoint.ipynb +0 -323
  61. data/lib/starter_web/pages/public/jupyter/notebooks/nbi-docs/.ipynb_checkpoints/nbi_docs_recipes_graphing-checkpoint.ipynb +0 -387
  62. data/lib/starter_web/pages/public/jupyter/notebooks/nbi-docs/.ipynb_checkpoints/nbi_docs_recipes_layout-checkpoint.ipynb +0 -384
@@ -1,243 +1,242 @@
1
- <div class="cell text_cell">
2
- <button class="js-nbinteract-widget">
3
- Loading widgets...
4
- </button>
5
- </div>
6
-
7
-
8
-
9
- <div class="cell border-box-sizing text_cell rendered"><div class="inner_cell">
10
- <div class="text_cell_render border-box-sizing rendered_html">
11
- <h3 id="Interactive-Questions">Interactive Questions<a class="anchor-link" href="#Interactive-Questions">&#182;</a></h3><p>nbinteract also provides built-in methods to easily create multiple choice and short answer questions.</p>
12
-
13
- </div>
14
- </div>
15
- </div>
16
-
17
-
18
-
19
- <div class="
20
- cell border-box-sizing code_cell rendered">
21
- <div class="input">
22
-
23
- <div class="inner_cell">
24
- <div class="input_area">
25
- <div class=" highlight hl-ipython3"><pre><span></span><span class="kn">import</span> <span class="nn">nbinteract</span> <span class="k">as</span> <span class="nn">nbi</span>
26
- </pre></div>
27
-
28
- </div>
29
- </div>
30
- </div>
31
-
32
- </div>
33
- <div class="cell border-box-sizing text_cell rendered"><div class="inner_cell">
34
- <div class="text_cell_render border-box-sizing rendered_html">
35
- <h4 id="nbinteract.multiple_choice">nbinteract.multiple_choice<a class="anchor-link" href="#nbinteract.multiple_choice">&#182;</a></h4><p><code>nbinteract.multiple_choice</code> takes a question, a list of possible answer choices, and the correct answer. Clicking the buttons shows whether the choice was correct.</p>
36
-
37
- </div>
38
- </div>
39
- </div>
40
-
41
-
42
-
43
- <div class="
44
- cell border-box-sizing code_cell rendered">
45
- <div class="input">
46
-
47
- <div class="inner_cell">
48
- <div class="input_area">
49
- <div class=" highlight hl-ipython3"><pre><span></span><span class="n">nbi</span><span class="o">.</span><span class="n">multiple_choice</span><span class="p">(</span><span class="n">question</span><span class="o">=</span><span class="s2">&quot;What is 10 + 2 * 5?&quot;</span><span class="p">,</span>
50
- <span class="n">choices</span><span class="o">=</span><span class="p">[</span><span class="s1">&#39;12&#39;</span><span class="p">,</span> <span class="s1">&#39;60&#39;</span><span class="p">,</span> <span class="s1">&#39;20&#39;</span><span class="p">],</span>
51
- <span class="n">answers</span><span class="o">=</span><span class="mi">2</span><span class="p">)</span>
52
- </pre></div>
53
-
54
- </div>
55
- </div>
56
- </div>
57
-
58
- <div class="output_wrapper">
59
- <div class="output">
60
-
61
-
62
- <div class="output_area">
63
-
64
-
65
-
66
-
67
-
68
- <div class="output_subarea output_widget_view ">
69
- <button class="js-nbinteract-widget">
70
- Loading widgets...
71
- </button>
72
- </div>
73
-
74
- </div>
75
-
76
- </div>
77
- </div>
78
-
79
- </div>
80
-
81
-
82
-
83
- <div class="
84
- cell border-box-sizing code_cell rendered">
85
- <div class="input">
86
-
87
- <div class="inner_cell">
88
- <div class="input_area">
89
- <div class=" highlight hl-ipython3"><pre><span></span><span class="n">nbi</span><span class="o">.</span><span class="n">multiple_choice</span><span class="p">(</span><span class="n">question</span><span class="o">=</span><span class="s2">&quot;Select all prime numbers.&quot;</span><span class="p">,</span>
90
- <span class="n">choices</span><span class="o">=</span><span class="p">[</span><span class="s1">&#39;12&#39;</span><span class="p">,</span> <span class="s1">&#39;3&#39;</span><span class="p">,</span> <span class="s1">&#39;31&#39;</span><span class="p">],</span>
91
- <span class="n">answers</span><span class="o">=</span><span class="p">[</span><span class="mi">1</span><span class="p">,</span> <span class="mi">2</span><span class="p">])</span>
92
- </pre></div>
93
-
94
- </div>
95
- </div>
96
- </div>
97
-
98
- <div class="output_wrapper">
99
- <div class="output">
100
-
101
-
102
- <div class="output_area">
103
-
104
-
105
-
106
-
107
-
108
- <div class="output_subarea output_widget_view ">
109
- <button class="js-nbinteract-widget">
110
- Loading widgets...
111
- </button>
112
- </div>
113
-
114
- </div>
115
-
116
- </div>
117
- </div>
118
-
119
- </div>
120
- <div class="cell border-box-sizing text_cell rendered"><div class="inner_cell">
121
- <div class="text_cell_render border-box-sizing rendered_html">
122
- <h4 id="nbinteract.short_answer">nbinteract.short_answer<a class="anchor-link" href="#nbinteract.short_answer">&#182;</a></h4><p><code>nbinteract.short_answer</code> takes a question and an answer.</p>
123
- <p>The answer can either be a string, a list of strings, or a function that returns <code>True</code> when called with the user's input. If the function errors, an error message will be displayed.</p>
124
-
125
- </div>
126
- </div>
127
- </div>
128
-
129
-
130
-
131
- <div class="
132
- cell border-box-sizing code_cell rendered">
133
- <div class="input">
134
-
135
- <div class="inner_cell">
136
- <div class="input_area">
137
- <div class=" highlight hl-ipython3"><pre><span></span><span class="n">nbi</span><span class="o">.</span><span class="n">short_answer</span><span class="p">(</span><span class="s1">&#39;What is 1+1?&#39;</span><span class="p">,</span> <span class="n">answers</span><span class="o">=</span><span class="s1">&#39;2&#39;</span><span class="p">,</span> <span class="n">explanation</span><span class="o">=</span><span class="s1">&#39;1+1 is 2&#39;</span><span class="p">)</span>
138
- </pre></div>
139
-
140
- </div>
141
- </div>
142
- </div>
143
-
144
- <div class="output_wrapper">
145
- <div class="output">
146
-
147
-
148
- <div class="output_area">
149
-
150
-
151
-
152
-
153
-
154
- <div class="output_subarea output_widget_view ">
155
- <button class="js-nbinteract-widget">
156
- Loading widgets...
157
- </button>
158
- </div>
159
-
160
- </div>
161
-
162
- </div>
163
- </div>
164
-
165
- </div>
166
-
167
-
168
-
169
- <div class="
170
- cell border-box-sizing code_cell rendered">
171
- <div class="input">
172
-
173
- <div class="inner_cell">
174
- <div class="input_area">
175
- <div class=" highlight hl-ipython3"><pre><span></span><span class="n">nbi</span><span class="o">.</span><span class="n">short_answer</span><span class="p">(</span><span class="s1">&#39;Enter the first name of a member of the Beatles.&#39;</span><span class="p">,</span>
176
- <span class="p">[</span><span class="s1">&#39;John&#39;</span><span class="p">,</span> <span class="s1">&#39;Paul&#39;</span><span class="p">,</span> <span class="s1">&#39;George&#39;</span><span class="p">,</span> <span class="s1">&#39;Ringo&#39;</span><span class="p">])</span>
177
- </pre></div>
178
-
179
- </div>
180
- </div>
181
- </div>
182
-
183
- <div class="output_wrapper">
184
- <div class="output">
185
-
186
-
187
- <div class="output_area">
188
-
189
-
190
-
191
-
192
-
193
- <div class="output_subarea output_widget_view ">
194
- <button class="js-nbinteract-widget">
195
- Loading widgets...
196
- </button>
197
- </div>
198
-
199
- </div>
200
-
201
- </div>
202
- </div>
203
-
204
- </div>
205
-
206
-
207
-
208
- <div class="
209
- cell border-box-sizing code_cell rendered">
210
- <div class="input">
211
-
212
- <div class="inner_cell">
213
- <div class="input_area">
214
- <div class=" highlight hl-ipython3"><pre><span></span><span class="n">nbi</span><span class="o">.</span><span class="n">short_answer</span><span class="p">(</span><span class="s1">&#39;Enter an even number.&#39;</span><span class="p">,</span> <span class="k">lambda</span> <span class="n">x</span><span class="p">:</span> <span class="nb">int</span><span class="p">(</span><span class="n">x</span><span class="p">)</span> <span class="o">%</span> <span class="mi">2</span> <span class="o">==</span> <span class="mi">0</span><span class="p">)</span>
215
- </pre></div>
216
-
217
- </div>
218
- </div>
219
- </div>
220
-
221
- <div class="output_wrapper">
222
- <div class="output">
223
-
224
-
225
- <div class="output_area">
226
-
227
-
228
-
229
-
230
-
231
- <div class="output_subarea output_widget_view ">
232
- <button class="js-nbinteract-widget">
233
- Loading widgets...
234
- </button>
235
- </div>
236
-
237
- </div>
238
-
239
- </div>
240
- </div>
241
-
242
- </div>
243
-
1
+ <div class="cell text_cell">
2
+ <button class="js-nbinteract-widget">
3
+ Loading widgets...
4
+ </button>
5
+ </div>
6
+
7
+
8
+
9
+ <div class="cell border-box-sizing text_cell rendered"><div class="inner_cell">
10
+ <div class="text_cell_render border-box-sizing rendered_html">
11
+ <h3 id="Interactive-Questions">Interactive Questions<a class="anchor-link" href="#Interactive-Questions">&#182;</a></h3><p>nbinteract also provides built-in methods to easily create multiple choice and short answer questions.</p>
12
+
13
+ </div>
14
+ </div>
15
+ </div>
16
+
17
+
18
+
19
+ <div class="
20
+ cell border-box-sizing code_cell rendered">
21
+ <div class="input">
22
+
23
+ <div class="inner_cell">
24
+ <div class="input_area">
25
+ <div class=" highlight hl-ipython3"><pre><span></span><span class="kn">import</span> <span class="nn">nbinteract</span> <span class="k">as</span> <span class="nn">nbi</span>
26
+ </pre></div>
27
+
28
+ </div>
29
+ </div>
30
+ </div>
31
+
32
+ </div>
33
+ <div class="cell border-box-sizing text_cell rendered"><div class="inner_cell">
34
+ <div class="text_cell_render border-box-sizing rendered_html">
35
+ <h4 id="nbinteract.multiple_choice">nbinteract.multiple_choice<a class="anchor-link" href="#nbinteract.multiple_choice">&#182;</a></h4><p><code>nbinteract.multiple_choice</code> takes a question, a list of possible answer choices, and the correct answer. Clicking the buttons shows whether the choice was correct.</p>
36
+
37
+ </div>
38
+ </div>
39
+ </div>
40
+
41
+
42
+
43
+ <div class="
44
+ cell border-box-sizing code_cell rendered">
45
+ <div class="input">
46
+
47
+ <div class="inner_cell">
48
+ <div class="input_area">
49
+ <div class=" highlight hl-ipython3"><pre><span></span><span class="n">nbi</span><span class="o">.</span><span class="n">multiple_choice</span><span class="p">(</span><span class="n">question</span><span class="o">=</span><span class="s2">&quot;What is 10 + 2 * 5?&quot;</span><span class="p">,</span>
50
+ <span class="n">choices</span><span class="o">=</span><span class="p">[</span><span class="s1">&#39;12&#39;</span><span class="p">,</span> <span class="s1">&#39;60&#39;</span><span class="p">,</span> <span class="s1">&#39;20&#39;</span><span class="p">],</span>
51
+ <span class="n">answers</span><span class="o">=</span><span class="mi">2</span><span class="p">)</span>
52
+ </pre></div>
53
+
54
+ </div>
55
+ </div>
56
+ </div>
57
+
58
+ <div class="output_wrapper">
59
+ <div class="output">
60
+
61
+
62
+ <div class="output_area">
63
+
64
+
65
+
66
+
67
+
68
+ <div class="output_subarea output_widget_view ">
69
+ <button class="js-nbinteract-widget">
70
+ Loading widgets...
71
+ </button>
72
+ </div>
73
+
74
+ </div>
75
+
76
+ </div>
77
+ </div>
78
+
79
+ </div>
80
+
81
+
82
+
83
+ <div class="
84
+ cell border-box-sizing code_cell rendered">
85
+ <div class="input">
86
+
87
+ <div class="inner_cell">
88
+ <div class="input_area">
89
+ <div class=" highlight hl-ipython3"><pre><span></span><span class="n">nbi</span><span class="o">.</span><span class="n">multiple_choice</span><span class="p">(</span><span class="n">question</span><span class="o">=</span><span class="s2">&quot;Select all prime numbers.&quot;</span><span class="p">,</span>
90
+ <span class="n">choices</span><span class="o">=</span><span class="p">[</span><span class="s1">&#39;12&#39;</span><span class="p">,</span> <span class="s1">&#39;3&#39;</span><span class="p">,</span> <span class="s1">&#39;31&#39;</span><span class="p">],</span>
91
+ <span class="n">answers</span><span class="o">=</span><span class="p">[</span><span class="mi">1</span><span class="p">,</span> <span class="mi">2</span><span class="p">])</span>
92
+ </pre></div>
93
+
94
+ </div>
95
+ </div>
96
+ </div>
97
+
98
+ <div class="output_wrapper">
99
+ <div class="output">
100
+
101
+
102
+ <div class="output_area">
103
+
104
+
105
+
106
+
107
+
108
+ <div class="output_subarea output_widget_view ">
109
+ <button class="js-nbinteract-widget">
110
+ Loading widgets...
111
+ </button>
112
+ </div>
113
+
114
+ </div>
115
+
116
+ </div>
117
+ </div>
118
+
119
+ </div>
120
+ <div class="cell border-box-sizing text_cell rendered"><div class="inner_cell">
121
+ <div class="text_cell_render border-box-sizing rendered_html">
122
+ <h4 id="nbinteract.short_answer">nbinteract.short_answer<a class="anchor-link" href="#nbinteract.short_answer">&#182;</a></h4><p><code>nbinteract.short_answer</code> takes a question and an answer. The answer can either be a string, a list of strings, or a function that returns <code>True</code> when called with the user's input. If the function errors, an error message will be displayed.</p>
123
+
124
+ </div>
125
+ </div>
126
+ </div>
127
+
128
+
129
+
130
+ <div class="
131
+ cell border-box-sizing code_cell rendered">
132
+ <div class="input">
133
+
134
+ <div class="inner_cell">
135
+ <div class="input_area">
136
+ <div class=" highlight hl-ipython3"><pre><span></span><span class="n">nbi</span><span class="o">.</span><span class="n">short_answer</span><span class="p">(</span><span class="s1">&#39;What is 1+1?&#39;</span><span class="p">,</span> <span class="n">answers</span><span class="o">=</span><span class="s1">&#39;2&#39;</span><span class="p">,</span> <span class="n">explanation</span><span class="o">=</span><span class="s1">&#39;1+1 is 2&#39;</span><span class="p">)</span>
137
+ </pre></div>
138
+
139
+ </div>
140
+ </div>
141
+ </div>
142
+
143
+ <div class="output_wrapper">
144
+ <div class="output">
145
+
146
+
147
+ <div class="output_area">
148
+
149
+
150
+
151
+
152
+
153
+ <div class="output_subarea output_widget_view ">
154
+ <button class="js-nbinteract-widget">
155
+ Loading widgets...
156
+ </button>
157
+ </div>
158
+
159
+ </div>
160
+
161
+ </div>
162
+ </div>
163
+
164
+ </div>
165
+
166
+
167
+
168
+ <div class="
169
+ cell border-box-sizing code_cell rendered">
170
+ <div class="input">
171
+
172
+ <div class="inner_cell">
173
+ <div class="input_area">
174
+ <div class=" highlight hl-ipython3"><pre><span></span><span class="n">nbi</span><span class="o">.</span><span class="n">short_answer</span><span class="p">(</span><span class="s1">&#39;Enter the first name of a member of the Beatles.&#39;</span><span class="p">,</span>
175
+ <span class="p">[</span><span class="s1">&#39;John&#39;</span><span class="p">,</span> <span class="s1">&#39;Paul&#39;</span><span class="p">,</span> <span class="s1">&#39;George&#39;</span><span class="p">,</span> <span class="s1">&#39;Ringo&#39;</span><span class="p">])</span>
176
+ </pre></div>
177
+
178
+ </div>
179
+ </div>
180
+ </div>
181
+
182
+ <div class="output_wrapper">
183
+ <div class="output">
184
+
185
+
186
+ <div class="output_area">
187
+
188
+
189
+
190
+
191
+
192
+ <div class="output_subarea output_widget_view ">
193
+ <button class="js-nbinteract-widget">
194
+ Loading widgets...
195
+ </button>
196
+ </div>
197
+
198
+ </div>
199
+
200
+ </div>
201
+ </div>
202
+
203
+ </div>
204
+
205
+
206
+
207
+ <div class="
208
+ cell border-box-sizing code_cell rendered">
209
+ <div class="input">
210
+
211
+ <div class="inner_cell">
212
+ <div class="input_area">
213
+ <div class=" highlight hl-ipython3"><pre><span></span><span class="n">nbi</span><span class="o">.</span><span class="n">short_answer</span><span class="p">(</span><span class="s1">&#39;Enter an even number.&#39;</span><span class="p">,</span> <span class="k">lambda</span> <span class="n">x</span><span class="p">:</span> <span class="nb">int</span><span class="p">(</span><span class="n">x</span><span class="p">)</span> <span class="o">%</span> <span class="mi">2</span> <span class="o">==</span> <span class="mi">0</span><span class="p">)</span>
214
+ </pre></div>
215
+
216
+ </div>
217
+ </div>
218
+ </div>
219
+
220
+ <div class="output_wrapper">
221
+ <div class="output">
222
+
223
+
224
+ <div class="output_area">
225
+
226
+
227
+
228
+
229
+
230
+ <div class="output_subarea output_widget_view ">
231
+ <button class="js-nbinteract-widget">
232
+ Loading widgets...
233
+ </button>
234
+ </div>
235
+
236
+ </div>
237
+
238
+ </div>
239
+ </div>
240
+
241
+ </div>
242
+
@@ -32,15 +32,13 @@ keywords: >
32
32
  categories: [ Software, Python ]
33
33
  tags: [ Binder, API ]
34
34
 
35
- scrollbar: true
35
+ scrollbar: false
36
36
  personalization: true
37
37
 
38
- permalink: /pages/public/jupyter/docs/binderhub-api/
38
+ permalink: /pages/public/jupyter/docs/binderhub/
39
39
  regenerate: false
40
40
 
41
- resources: [
42
- animate, clipboard, lightbox, rouge
43
- ]
41
+ resources: [ animate, clipboard, lightbox, rouge ]
44
42
  resource_options:
45
43
  - attic:
46
44
  padding_top: 400
@@ -112,7 +110,7 @@ configuration files as other software installation tools, rather than
112
110
  creating new custom configuration files. A number of repo2docker configuration
113
111
  files can be combined to compose more complex setups.
114
112
 
115
- The https://github.com/binder-examples[binder examples, {{browser-window--new}}]
113
+ The https://github.com/binder-examples[binder examples, {browser-window--new}]
116
114
  organization on GitHub contains a list of sample repositories for common
117
115
  configurations that repo2docker can build with various configuration files
118
116
  such as Python and R installation in a repository.
@@ -236,7 +234,7 @@ session opening the path `notebooks`:
236
234
 
237
235
  The filepath notebooks above is how JupyterLab directs you to a specific file
238
236
  or folder. To learn more about URLs in JupyterLab and Jupyter Notebook, visit
239
- link:{jupyterlab-docs--getting-started}[Starting JupyterLab, {{browser-window--new}}].
237
+ link:{jupyterlab-docs--getting-started}[Starting JupyterLab, {browser-window--new}].
240
238
 
241
239
  === Classic Notebook Interface
242
240
 
@@ -278,7 +276,7 @@ begin an nteract session in the ipynb folder:
278
276
 
279
277
  The `/tree/ipynb` above is how nteract directs you to a specific file
280
278
  or folder. To learn more about nteract, visit the
281
- https://nteract.io/about[nteract website, {{browser-window--new}}].
279
+ https://nteract.io/about[nteract website, {browser-window--new}].
282
280
 
283
281
 
284
282
  === Use different repositories for content and environment
@@ -295,29 +293,29 @@ The form on the mybinder.org home page only allows you to select a repository
295
293
  branch to build from. To create a BinderHub deployment link for situations
296
294
  where the environment and content are housed in separate repositories or on
297
295
  different branches of the same repository, you can use the
298
- https://jupyterhub.github.io/nbgitpuller/link?tab=binder[nbgitpuller link generator, {{browser-window--new}}]
296
+ https://jupyterhub.github.io/nbgitpuller/link?tab=binder[nbgitpuller link generator, {browser-window--new}]
299
297
  to generate a formatted URL. Note that `nbgitpuller` must be included in your
300
298
  hub environment for this to work.
301
299
 
302
300
  For some background on this how-to guide, see this
303
- https://discourse.jupyter.org/t/improve-documentation-for-new-users-not-working-on-the-master-branch/5509[community forum post, {{browser-window--new}}].
301
+ https://discourse.jupyter.org/t/improve-documentation-for-new-users-not-working-on-the-master-branch/5509[community forum post, {browser-window--new}].
304
302
  Here is an example repository using a JupyterHub environment configuration
305
- stored in a https://github.com/ICESAT-2HackWeek/jupyter-image-2020[separate repository, {{browser-window--new}}].
303
+ stored in a https://github.com/ICESAT-2HackWeek/jupyter-image-2020[separate repository, {browser-window--new}].
306
304
  The environment was set up for a community workshop and the tutorial content
307
305
  was compiled and released after the workshop.
308
306
  /////
309
307
 
310
- === Speed up repository launch time
311
-
312
- People often ask how they can speed up the launches for their Binder
313
- repositories. Binder is a bit different from other cloud services because
314
- it builds and launches arbitrary environments that are defined in Git
315
- repositories, rather than only serving a single environment for launches.
316
- The extra time it takes to launch is often a result of these extra steps.
317
-
318
- For some background and tips about how you can speed up your repository
319
- launch times, see this
320
- link:{jupyter-discourse--startup-time}[community forum post, {{browser-window--new}}].
308
+ // === Speed up repository launch time
309
+ //
310
+ // People often ask how they can speed up the launches for their Binder
311
+ // repositories. Binder is a bit different from other cloud services because
312
+ // it builds and launches arbitrary environments that are defined in Git
313
+ // repositories, rather than only serving a single environment for launches.
314
+ // The extra time it takes to launch is often a result of these extra steps.
315
+ //
316
+ // For some background and tips about how you can speed up your repository
317
+ // launch times, see this
318
+ // link:{jupyter-discourse--startup-time}[community forum post, {browser-window--new}].
321
319
 
322
320
  === Track repository data on Binder
323
321
 
@@ -332,14 +330,13 @@ aggregating activity across many repositories).
332
330
  You can access the event analytics archive at `archive.analytics.mybinder.org`.
333
331
  For information about the structure of this dataset, and a description of
334
332
  how you can read-in the data in order to analyze it, see the
335
- link:{binder-sre--analytics}[Binder Site Reliability Guide (SRE), {{browser-window--new}}]
333
+ link:{binder-sre--analytics}[Binder Site Reliability Guide (SRE), {browser-window--new}].
336
334
  instructions.
337
335
 
338
-
339
336
  ==== Example repository to show off analyses
340
337
 
341
338
  To give you a little inspiration, check out the
342
- link:{binder--binderlyzer}[binderlyzer binder, {{browser-window--new}}].
339
+ link:{binder--binderlyzer}[binderlyzer binder, {browser-window--new}].
343
340
  This is a Binder that goes through a simple analysis of Binder repositories
344
341
  using the events archive. It shows how to access it, and gives an idea for
345
342
  questions you can ask with this data!
@@ -34,9 +34,9 @@ keywords: >
34
34
  categories: [ Software, Python ]
35
35
  tags: [ JupyterLab, API ]
36
36
 
37
- scrollbar: true
37
+ scrollbar: false
38
38
 
39
- permalink: /pages/public/jupyter/docs/jupyterlab-api/
39
+ permalink: /pages/public/jupyter/docs/jupyterhub/
40
40
  regenerate: false
41
41
 
42
42
  resources: [
@@ -497,6 +497,17 @@ iconify:logos:asciidoctor[3x]
497
497
  ----
498
498
  ^|iconify:logos:asciidoctor[3x]
499
499
 
500
+ |3x
501
+ |no modifier set
502
+ |All icons can be found for preview at
503
+ link:{url-iconify--brand-icons}[SVG Logos, {browser-window--new}] page online. +
504
+
505
+ No modifiers +
506
+ [source, adoc, role="noclip"]
507
+ ----
508
+ iconify:logos:jupyter[3x]
509
+ ----
510
+ ^|iconify:logos:jupyter[3x]
500
511
  |===
501
512
 
502
513
  .Medical Icons
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "private": true,
3
3
  "name": "utls",
4
- "version": "2022.2.2",
4
+ "version": "2022.2.3",
5
5
  "description": "J1 Template Utility Server",
6
6
  "homepage": "https://jekyll.one",
7
7
  "author": {