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.
- checksums.yaml +4 -4
- data/_includes/themes/j1/blocks/footer/boxes/contacts_box.proc +46 -18
- data/_includes/themes/j1/blocks/footer/boxes/links_box.proc +1 -0
- data/assets/data/fab.html +2 -2
- data/assets/data/footer.html +2 -2
- data/assets/themes/j1/core/css/themes/unolight/bootstrap.css +64 -206
- data/assets/themes/j1/core/css/themes/unolight/bootstrap.min.css +2 -2
- data/assets/themes/j1/modules/nbInteract/README.md +169 -0
- data/assets/themes/j1/modules/nbInteract/css/nbinteract-core.css +4 -0
- data/assets/themes/j1/modules/nbInteract/css/nbinteract-core.min.css +4 -0
- data/lib/j1/version.rb +1 -1
- data/lib/starter_web/Gemfile +1 -1
- data/lib/starter_web/_config.yml +1 -1
- data/lib/starter_web/_data/blocks/defaults/footer.yml +25 -17
- data/lib/starter_web/_data/blocks/footer.yml +78 -65
- data/lib/starter_web/_data/resources.yml +0 -22
- data/lib/starter_web/_includes/attributes.asciidoc +14 -0
- data/lib/starter_web/_plugins/lunr_index.rb +1 -1
- data/lib/starter_web/assets/images/pages/nbinteract/nbi-textbook-example.jpg +0 -0
- data/lib/starter_web/package.json +1 -1
- data/lib/starter_web/pages/public/jupyter/docs/_includes/documents/j1_docs_example_static.asciidoc +232 -232
- data/lib/starter_web/pages/public/jupyter/docs/j1-nbinteract-doc.adoc +135 -134
- data/lib/starter_web/pages/public/jupyter/docs/nbi-widget-manual.adoc +2 -4
- data/lib/starter_web/pages/public/jupyter/notebooks/j1/.ipynb_checkpoints/j1_interactive_widgets-checkpoint.ipynb +170 -15
- data/lib/starter_web/pages/public/jupyter/notebooks/j1/j1_interactive_widgets.ipynb +170 -15
- data/lib/starter_web/pages/public/jupyter/notebooks/nbi-docs/.ipynb_checkpoints/nbi_docs_recipes_interactive_questions-checkpoint.ipynb +185 -0
- data/lib/starter_web/pages/public/jupyter/notebooks/nbi-docs/nbi_docs_recipes_interactive_questions.ipynb +19 -22
- data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/binder-launches.html +670 -546
- data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/j1_docs_example_dynamic.html +186 -186
- data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/j1_interactive_widgets.html +919 -702
- data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/j1_ode_selected.html +186 -186
- data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/nbi_docs_recipes_interactive_questions.html +242 -243
- data/lib/starter_web/pages/public/jupyter/{apis/binderhub-api.adoc → services/binderhub.adoc} +22 -25
- data/lib/starter_web/pages/public/jupyter/{apis/jupyterhub-api.adoc → services/jupyterhub.adoc} +2 -2
- data/lib/starter_web/pages/public/learn/roundtrip/300_icon_fonts.adoc +11 -0
- data/lib/starter_web/utilsrv/_defaults/package.json +1 -1
- data/lib/starter_web/utilsrv/package.json +1 -1
- metadata +7 -28
- data/lib/starter_web/_data/_resources.yml +0 -1668
- data/lib/starter_web/assets/images/pages/nbinteract/binderhub-architecture.png +0 -0
- data/lib/starter_web/pages/public/jupyter/notebooks/j1/.ipynb_checkpoints/algebra_with_sympy-checkpoint.ipynb +0 -14488
- data/lib/starter_web/pages/public/jupyter/notebooks/j1/.ipynb_checkpoints/climate-change-forecast-checkpoint.ipynb +0 -916
- data/lib/starter_web/pages/public/jupyter/notebooks/j1/.ipynb_checkpoints/ipympl_test_plots-checkpoint.ipynb +0 -14517
- data/lib/starter_web/pages/public/jupyter/notebooks/j1/.ipynb_checkpoints/j1_algebra_with_sympy-checkpoint.ipynb +0 -14517
- data/lib/starter_web/pages/public/jupyter/notebooks/j1/.ipynb_checkpoints/j1_altair_interactive-checkpoint.ipynb +0 -16493
- data/lib/starter_web/pages/public/jupyter/notebooks/j1/.ipynb_checkpoints/j1_altair_visualization-checkpoint.ipynb +0 -15358
- data/lib/starter_web/pages/public/jupyter/notebooks/j1/.ipynb_checkpoints/j1_altair_visualization_full-checkpoint.ipynb +0 -2576
- data/lib/starter_web/pages/public/jupyter/notebooks/j1/.ipynb_checkpoints/j1_climate_change_forecast-checkpoint.ipynb +0 -1058
- data/lib/starter_web/pages/public/jupyter/notebooks/j1/.ipynb_checkpoints/j1_climate_change_forecast.ipynb +0 -1060
- data/lib/starter_web/pages/public/jupyter/notebooks/j1/.ipynb_checkpoints/j1_docs_example_dynamic-checkpoint.ipynb +0 -14478
- data/lib/starter_web/pages/public/jupyter/notebooks/j1/.ipynb_checkpoints/j1_docs_hist-checkpoint.ipynb +0 -98
- data/lib/starter_web/pages/public/jupyter/notebooks/j1/.ipynb_checkpoints/j1_interactive-checkpoint.ipynb +0 -560
- data/lib/starter_web/pages/public/jupyter/notebooks/j1/.ipynb_checkpoints/j1_ipympl_test_plots-checkpoint.ipynb +0 -14511
- data/lib/starter_web/pages/public/jupyter/notebooks/j1/.ipynb_checkpoints/j1_ode_selected-checkpoint.ipynb +0 -14478
- data/lib/starter_web/pages/public/jupyter/notebooks/j1/.ipynb_checkpoints/j1_odes_in_python-checkpoint.ipynb +0 -14818
- data/lib/starter_web/pages/public/jupyter/notebooks/j1/.ipynb_checkpoints/j1_pandas_creating_reading_and_writing-checkpoint.ipynb +0 -328
- data/lib/starter_web/pages/public/jupyter/notebooks/j1/.ipynb_checkpoints/j1_recipes_layout-checkpoint.ipynb +0 -341
- data/lib/starter_web/pages/public/jupyter/notebooks/j1/.ipynb_checkpoints/nbi_docs_recipes_graphing-checkpoint.ipynb +0 -98
- data/lib/starter_web/pages/public/jupyter/notebooks/nbi-docs/.ipynb_checkpoints/nbi_docs_examples_correlation-checkpoint.ipynb +0 -651
- data/lib/starter_web/pages/public/jupyter/notebooks/nbi-docs/.ipynb_checkpoints/nbi_docs_examples_variability_of_the_sample_mean-checkpoint.ipynb +0 -323
- data/lib/starter_web/pages/public/jupyter/notebooks/nbi-docs/.ipynb_checkpoints/nbi_docs_recipes_graphing-checkpoint.ipynb +0 -387
- data/lib/starter_web/pages/public/jupyter/notebooks/nbi-docs/.ipynb_checkpoints/nbi_docs_recipes_layout-checkpoint.ipynb +0 -384
@@ -0,0 +1,169 @@
|
|
1
|
+
nbinteract
|
2
|
+
=================
|
3
|
+
|
4
|
+
[![Read the Docs](https://img.shields.io/badge/docs-nbinteract.com-green.svg)][docs]
|
5
|
+
[![Gitter](https://badges.gitter.im/owner/repo.png)][gitter]
|
6
|
+
|
7
|
+
[![Build Status](https://travis-ci.org/SamLau95/nbinteract.svg?branch=master)](https://travis-ci.org/SamLau95/nbinteract)
|
8
|
+
[![PyPI](https://img.shields.io/pypi/v/nbinteract.svg)](https://pypi.python.org/pypi/nbinteract/)
|
9
|
+
[![npm](https://img.shields.io/npm/v/nbinteract.svg)](https://www.npmjs.com/package/nbinteract)
|
10
|
+
|
11
|
+
|
12
|
+
`nbinteract` is a Python package that creates interactive webpages from Jupyter
|
13
|
+
notebooks. `nbinteract` also has built-in support for interactive plotting.
|
14
|
+
These interactions are driven by data, not callbacks, allowing authors to focus
|
15
|
+
on the logic of their programs.
|
16
|
+
|
17
|
+
`nbinteract` is most useful for:
|
18
|
+
|
19
|
+
- Data scientists that want to create simple interactive blog posts without having
|
20
|
+
to know / work with Javascript.
|
21
|
+
- Instructors that want to include interactive examples in their textbooks.
|
22
|
+
- Students that want to publish data analysis that contains interactive demos.
|
23
|
+
|
24
|
+
Currently, `nbinteract` is in an alpha stage because of its quickly-changing
|
25
|
+
API.
|
26
|
+
|
27
|
+
## Examples
|
28
|
+
|
29
|
+
Most plotting functions from other libraries (e.g. `matplotlib`) take data as
|
30
|
+
input. `nbinteract`'s plotting functions take functions as input.
|
31
|
+
|
32
|
+
```python
|
33
|
+
import numpy as np
|
34
|
+
import nbinteract as nbi
|
35
|
+
|
36
|
+
def normal(mean, sd):
|
37
|
+
'''Returns 1000 points drawn at random fron N(mean, sd)'''
|
38
|
+
return np.random.normal(mean, sd, 1000)
|
39
|
+
|
40
|
+
# Pass in the `normal` function and let user change mean and sd.
|
41
|
+
# Whenever the user interacts with the sliders, the `normal` function
|
42
|
+
# is called and the returned data are plotted.
|
43
|
+
nbi.hist(normal, mean=(0, 10), sd=(0, 2.0), options=options)
|
44
|
+
```
|
45
|
+
|
46
|
+
![example1](https://github.com/SamLau95/nbinteract/raw/master/docs/images/example1.gif)
|
47
|
+
|
48
|
+
Simulations are easy to create using `nbinteract`. In this simulation, we roll
|
49
|
+
a die and plot the running average of the rolls. We can see that with more
|
50
|
+
rolls, the average gets closer to the expected value: 3.5.
|
51
|
+
|
52
|
+
```python
|
53
|
+
rolls = np.random.choice([1, 2, 3, 4, 5, 6], size=300)
|
54
|
+
averages = np.cumsum(rolls) / np.arange(1, 301)
|
55
|
+
|
56
|
+
def x_vals(num_rolls):
|
57
|
+
return range(num_rolls)
|
58
|
+
|
59
|
+
# The function to generate y-values gets called with the
|
60
|
+
# x-values as its first argument.
|
61
|
+
def y_vals(xs):
|
62
|
+
return averages[:len(xs)]
|
63
|
+
|
64
|
+
nbi.line(x_vals, y_vals, num_rolls=(1, 300))
|
65
|
+
```
|
66
|
+
|
67
|
+
![example2](https://github.com/SamLau95/nbinteract/raw/master/docs/images/example2.gif)
|
68
|
+
|
69
|
+
## Publishing
|
70
|
+
|
71
|
+
From a notebook cell:
|
72
|
+
|
73
|
+
```python
|
74
|
+
# Run in a notebook cell to convert the notebook into a publishable HTML page:
|
75
|
+
#
|
76
|
+
# nbi.publish('my_binder_spec', 'my_notebook.ipynb')
|
77
|
+
#
|
78
|
+
# Replace my_binder_spec with a Binder spec in the format
|
79
|
+
# {username}/{repo}/{branch} (e.g. SamLau95/nbinteract-image/master).
|
80
|
+
#
|
81
|
+
# Replace my_notebook.ipynb with the name of the notebook file to convert.
|
82
|
+
#
|
83
|
+
# Example:
|
84
|
+
nbi.publish('SamLau95/nbinteract-image/master', 'homepage.ipynb')
|
85
|
+
```
|
86
|
+
|
87
|
+
From the command line:
|
88
|
+
|
89
|
+
```bash
|
90
|
+
# Run on the command line to convert the notebook into a publishable HTML page.
|
91
|
+
#
|
92
|
+
# nbinteract my_binder_spec my_notebook.ipynb
|
93
|
+
#
|
94
|
+
# Replace my_binder_spec with a Binder spec in the format
|
95
|
+
# {username}/{repo}/{branch} (e.g. SamLau95/nbinteract-image/master).
|
96
|
+
#
|
97
|
+
# Replace my_notebook.ipynb with the name of the notebook file to convert.
|
98
|
+
#
|
99
|
+
# Example:
|
100
|
+
nbinteract SamLau95/nbinteract-image/master homepage.ipynb
|
101
|
+
```
|
102
|
+
|
103
|
+
For more information on publishing, see the [tutorial][] which has a complete
|
104
|
+
walkthrough on publishing a notebook to the web.
|
105
|
+
|
106
|
+
## Installation
|
107
|
+
|
108
|
+
Using `pip`:
|
109
|
+
|
110
|
+
```bash
|
111
|
+
pip install nbinteract
|
112
|
+
|
113
|
+
# The next two lines can be skipped for notebook version 5.3 and above
|
114
|
+
jupyter nbextension enable --py --sys-prefix widgetsnbextension
|
115
|
+
jupyter nbextension enable --py --sys-prefix bqplot
|
116
|
+
```
|
117
|
+
|
118
|
+
You may now import the `nbinteract` package in Python code and use the
|
119
|
+
`nbinteract` CLI command to convert notebooks to HTML pages.
|
120
|
+
|
121
|
+
## Tutorial and Documentation
|
122
|
+
|
123
|
+
[Here's a link to the tutorial and docs for this project.][docs]
|
124
|
+
|
125
|
+
## Developer Install
|
126
|
+
|
127
|
+
If you are interested in developing this project locally, run the following:
|
128
|
+
|
129
|
+
```
|
130
|
+
git clone https://github.com/SamLau95/nbinteract
|
131
|
+
cd nbinteract
|
132
|
+
|
133
|
+
# Installs the nbconvert exporter
|
134
|
+
pip install -e .
|
135
|
+
|
136
|
+
# To export a notebook to interactive HTML format:
|
137
|
+
jupyter nbconvert --to interact notebooks/Test.ipynb
|
138
|
+
|
139
|
+
pip install -U ipywidgets
|
140
|
+
jupyter nbextension enable --py --sys-prefix widgetsnbextension
|
141
|
+
|
142
|
+
brew install yarn
|
143
|
+
yarn install
|
144
|
+
|
145
|
+
# Start notebook and webpack servers
|
146
|
+
make -j2 serve
|
147
|
+
```
|
148
|
+
|
149
|
+
## Feedback
|
150
|
+
|
151
|
+
If you have any questions or comments, send us a message on the
|
152
|
+
[Gitter channel][gitter]. We appreciate your feedback!
|
153
|
+
|
154
|
+
## Contributors
|
155
|
+
|
156
|
+
`nbinteract` is originally developed by [Sam Lau][sam] and Caleb Siu as part of
|
157
|
+
a Masters project at UC Berkeley. The code lives under a BSD 3 license and we
|
158
|
+
welcome contributions and pull requests from the community.
|
159
|
+
|
160
|
+
[tutorial]: /tutorial/tutorial_getting_started.html
|
161
|
+
[ipywidgets]: https://github.com/jupyter-widgets/ipywidgets
|
162
|
+
[bqplot]: https://github.com/bloomberg/bqplot
|
163
|
+
[widgets]: http://jupyter.org/widgets.html
|
164
|
+
[gh-pages]: https://pages.github.com/
|
165
|
+
[gitbook]: http://gitbook.com/
|
166
|
+
[install-nb]: http://jupyter.readthedocs.io/en/latest/install.html
|
167
|
+
[docs]: https://www.nbinteract.com/
|
168
|
+
[sam]: http://www.samlau.me/
|
169
|
+
[gitter]: https://gitter.im/nbinteract/Lobby/
|
@@ -5,11 +5,15 @@
|
|
5
5
|
#
|
6
6
|
# Product/Info:
|
7
7
|
# https://jekyll.one
|
8
|
+
# https://github.com/SamLau95/nbinteract
|
8
9
|
#
|
9
10
|
# Copyright (C) 2022 Juergen Adams
|
11
|
+
# Copyright (C) 2017 Sam Lau
|
10
12
|
#
|
11
13
|
# J1 Template is licensed under MIT License.
|
12
14
|
# See: https://github.com/jekyll-one-org/J1 Template/blob/master/LICENSE
|
15
|
+
# nbInteract is licensed under BSD 3-Clause License.
|
16
|
+
# See: https://github.com/SamLau95/nbinteract/blob/master/LICENSE.txt
|
13
17
|
# -----------------------------------------------------------------------------
|
14
18
|
*/
|
15
19
|
|
@@ -5,11 +5,15 @@
|
|
5
5
|
#
|
6
6
|
# Product/Info:
|
7
7
|
# https://jekyll.one
|
8
|
+
# https://github.com/SamLau95/nbinteract
|
8
9
|
#
|
9
10
|
# Copyright (C) 2022 Juergen Adams
|
11
|
+
# Copyright (C) 2017 Sam Lau
|
10
12
|
#
|
11
13
|
# J1 Template is licensed under MIT License.
|
12
14
|
# See: https://github.com/jekyll-one-org/J1 Template/blob/master/LICENSE
|
15
|
+
# nbInteract is licensed under BSD 3-Clause License.
|
16
|
+
# See: https://github.com/SamLau95/nbinteract/blob/master/LICENSE.txt
|
13
17
|
# -----------------------------------------------------------------------------
|
14
18
|
*/
|
15
19
|
.container{width:100%!important}.hidden{display:none}.code_cell.rendered{margin-bottom:1.75rem}.widget-interact{margin-top:1.75rem}pre{line-height:125%;margin-top:.25rem;padding:.75rem;border:1px solid #bdbdbd;border-radius:.25rem}td.linenos pre{color:#000;background-color:#f0f0f0;padding:0 5px 0 5px}span.linenos{color:#000;background-color:#f0f0f0;padding:0 5px 0 5px}td.linenos pre.special{color:#000;background-color:#ffffc0;padding:0 5px 0 5px}span.linenos.special{color:#000;background-color:#ffffc0;padding:0 5px 0 5px}.highlight .hll{background-color:#ffc}.highlight{background:#f8f8f8}.highlight .c{color:#408080;font-style:italic}.highlight .err{border:1px solid #f00}.highlight .k{color:#008000;font-weight:bold}.highlight .o{color:#666}.highlight .ch{color:#408080;font-style:italic}.highlight .cm{color:#408080;font-style:italic}.highlight .cp{color:#bc7a00}.highlight .cpf{color:#408080;font-style:italic}.highlight .c1{color:#408080;font-style:italic}.highlight .cs{color:#408080;font-style:italic}.highlight .gd{color:#a00000}.highlight .ge{font-style:italic}.highlight .gr{color:#f00}.highlight .gh{color:#000080;font-weight:bold}.highlight .gi{color:#00a000}.highlight .go{color:#888}.highlight .gp{color:#000080;font-weight:bold}.highlight .gs{font-weight:bold}.highlight .gu{color:#800080;font-weight:bold}.highlight .gt{color:#04d}.highlight .kc{color:#008000;font-weight:bold}.highlight .kd{color:#008000;font-weight:bold}.highlight .kn{color:#008000;font-weight:bold}.highlight .kp{color:#008000}.highlight .kr{color:#008000;font-weight:bold}.highlight .kt{color:#b00040}.highlight .m{color:#666}.highlight .s{color:#ba2121}.highlight .na{color:#7d9029}.highlight .nb{color:#008000}.highlight .nc{color:#00f;font-weight:bold}.highlight .no{color:#800}.highlight .nd{color:#a2f}.highlight .ni{color:#999;font-weight:bold}.highlight .ne{color:#d2413a;font-weight:bold}.highlight .nf{color:#00f}.highlight .nl{color:#a0a000}.highlight .nn{color:#00f;font-weight:bold}.highlight .nt{color:#008000;font-weight:bold}.highlight .nv{color:#19177c}.highlight .ow{color:#a2f;font-weight:bold}.highlight .w{color:#bbb}.highlight .mb{color:#666}.highlight .mf{color:#666}.highlight .mh{color:#666}.highlight .mi{color:#666}.highlight .mo{color:#666}.highlight .sa{color:#ba2121}.highlight .sb{color:#ba2121}.highlight .sc{color:#ba2121}.highlight .dl{color:#ba2121}.highlight .sd{color:#ba2121;font-style:italic}.highlight .s2{color:#ba2121}.highlight .se{color:#b62;font-weight:bold}.highlight .sh{color:#ba2121}.highlight .si{color:#b68;font-weight:bold}.highlight .sx{color:#008000}.highlight .sr{color:#b68}.highlight .s1{color:#ba2121}.highlight .ss{color:#19177c}.highlight .bp{color:#008000}.highlight .fm{color:#00f}.highlight .vc{color:#19177c}.highlight .vg{color:#19177c}.highlight .vi{color:#19177c}.highlight .vm{color:#19177c}.highlight .il{color:#666}div#notebook{overflow:visible;border-top:0}@media print{div.cell{display:block;page-break-inside:avoid}div.output_wrapper{display:block;page-break-inside:avoid}div.output{display:block;page-break-inside:avoid}}.cell.nbinteract-left{width:50%;float:left}.cell.nbinteract-right{width:50%;float:right}.cell.nbinteract-hide_in>.input{display:none}.cell.nbinteract-hide_out>.output_wrapper{display:none}.cell:after{content:"";display:table;clear:both}div.output_subarea{max-width:initial}.jp-OutputPrompt{display:none}
|
data/lib/j1/version.rb
CHANGED
data/lib/starter_web/Gemfile
CHANGED
@@ -53,7 +53,7 @@ gem 'jekyll', '~> 4.2'
|
|
53
53
|
|
54
54
|
# Theme Rubies, default: J1 Template (NOT used for the development system)
|
55
55
|
#
|
56
|
-
gem 'j1-template', '~> 2022.2.
|
56
|
+
gem 'j1-template', '~> 2022.2.3'
|
57
57
|
|
58
58
|
# ------------------------------------------------------------------------------
|
59
59
|
# PRODUCTION: Gem needed for the Jekyll and J1 prod environment
|
data/lib/starter_web/_config.yml
CHANGED
@@ -53,7 +53,7 @@ environment: development
|
|
53
53
|
# ------------------------------------------------------------------------------
|
54
54
|
# Sets the build version of J1 Template Gem
|
55
55
|
#
|
56
|
-
version: 2022.2.
|
56
|
+
version: 2022.2.3
|
57
57
|
|
58
58
|
# version
|
59
59
|
# ------------------------------------------------------------------------------
|
@@ -148,11 +148,10 @@ defaults:
|
|
148
148
|
Jekyll meets Bootstrap - and makes a lot of friends.
|
149
149
|
J1 Template combines the best of OpenSource software for
|
150
150
|
the Web and the Web site generator Jekyll. J1 is Open
|
151
|
-
Source and the modules packed as well
|
152
|
-
|
153
|
-
<
|
154
|
-
|
155
|
-
Secure, flexible and fast.</b>
|
151
|
+
Source and the modules packed as well.
|
152
|
+
<br><br>
|
153
|
+
<b>No pain for private or professional use.</b>
|
154
|
+
|
156
155
|
justify: true
|
157
156
|
|
158
157
|
# ------------------------------------------------------------------------
|
@@ -174,6 +173,7 @@ defaults:
|
|
174
173
|
enabled: true
|
175
174
|
title: Useful Links
|
176
175
|
title_translation: notranslate # translate|notranslate
|
176
|
+
tagline: top sites
|
177
177
|
|
178
178
|
links:
|
179
179
|
|
@@ -198,27 +198,35 @@ defaults:
|
|
198
198
|
tagline: Get help from the community
|
199
199
|
href: http://stackoverflow.com/questions/tagged/jekyll
|
200
200
|
|
201
|
-
#
|
201
|
+
# --------------------------------------------------------------------
|
202
202
|
# CONTACT box
|
203
203
|
#
|
204
|
-
- name:
|
204
|
+
- name: Contact
|
205
205
|
type: contact
|
206
206
|
enabled: false
|
207
|
-
|
207
|
+
|
208
|
+
title: Contact
|
208
209
|
title_translation: notranslate # translate|notranslate
|
210
|
+
tagline: welcome
|
211
|
+
|
209
212
|
address:
|
210
|
-
enabled:
|
213
|
+
enabled: true
|
211
214
|
address_1: JekyllOne Ltd.
|
212
|
-
address_2:
|
213
|
-
address_3: San Francisco, CA
|
215
|
+
address_2: 789 Folsom Ave, Suite 456
|
216
|
+
address_3: San Francisco, CA 98765
|
217
|
+
|
214
218
|
phone:
|
215
|
-
enabled:
|
216
|
-
|
217
|
-
|
219
|
+
enabled: true
|
220
|
+
office_hours: 9am - 7pm
|
221
|
+
phone_1: (+123) 456 789-0
|
222
|
+
phone_2: (+123) 456 789-1
|
223
|
+
|
218
224
|
internet:
|
219
|
-
enabled:
|
220
|
-
|
221
|
-
|
225
|
+
enabled: true
|
226
|
+
home_text: JekyllOne
|
227
|
+
home_link: 'https://jekyll.one/'
|
228
|
+
mail_1: contact@jekyll.one
|
229
|
+
mail_2: webmaster@jekyll.one
|
222
230
|
|
223
231
|
# ------------------------------------------------------------------------------
|
224
232
|
# END config
|
@@ -70,68 +70,68 @@ settings:
|
|
70
70
|
#
|
71
71
|
legals:
|
72
72
|
|
73
|
-
- name:
|
73
|
+
- name: Copyright
|
74
74
|
legal:
|
75
|
-
enabled:
|
75
|
+
enabled: true
|
76
76
|
|
77
|
-
type:
|
78
|
-
statement:
|
79
|
-
translate_statement:
|
80
|
-
href:
|
77
|
+
type: copyright
|
78
|
+
statement: © 2021 J1 · All rights reserved
|
79
|
+
translate_statement: notranslate # translate|notranslate
|
80
|
+
href: /pages/public/legal/en/copyright/
|
81
81
|
|
82
|
-
- name:
|
82
|
+
- name: Impress
|
83
83
|
legal:
|
84
|
-
enabled:
|
84
|
+
enabled: true
|
85
85
|
|
86
|
-
type:
|
87
|
-
statement:
|
88
|
-
translate_statement:
|
89
|
-
href:
|
86
|
+
type: impress
|
87
|
+
statement: Impress
|
88
|
+
translate_statement: notranslate # translate|notranslate
|
89
|
+
href: /pages/public/legal/en/impress/
|
90
90
|
|
91
|
-
- name:
|
91
|
+
- name: Privacy
|
92
92
|
legal:
|
93
|
-
enabled:
|
93
|
+
enabled: true
|
94
94
|
|
95
|
-
type:
|
96
|
-
statement:
|
97
|
-
translate_statement:
|
98
|
-
href:
|
95
|
+
type: privacy
|
96
|
+
statement: Privacy
|
97
|
+
translate_statement: notranslate # translate|notranslate
|
98
|
+
href: /pages/public/legal/en/privacy/
|
99
99
|
|
100
|
-
- name:
|
100
|
+
- name: Comments
|
101
101
|
legal:
|
102
|
-
enabled:
|
102
|
+
enabled: true
|
103
103
|
|
104
|
-
type:
|
105
|
-
statement:
|
106
|
-
translate_statement:
|
107
|
-
href:
|
104
|
+
type: comments
|
105
|
+
statement: Comments
|
106
|
+
translate_statement: notranslate # translate|notranslate
|
107
|
+
href: /pages/public/legal/en/comment_policy/
|
108
108
|
|
109
|
-
- name:
|
109
|
+
- name: License
|
110
110
|
legal:
|
111
|
-
enabled:
|
111
|
+
enabled: false
|
112
112
|
|
113
|
-
type:
|
114
|
-
statement:
|
115
|
-
translate_statement:
|
116
|
-
href:
|
113
|
+
type: license
|
114
|
+
statement: License
|
115
|
+
translate_statement: notranslate # translate|notranslate
|
116
|
+
href: /pages/public/legal/en/license_agreement/
|
117
117
|
|
118
|
-
- name:
|
118
|
+
- name: Terms Of Use
|
119
119
|
legal:
|
120
|
-
enabled:
|
120
|
+
enabled: false
|
121
121
|
|
122
|
-
type:
|
123
|
-
statement:
|
124
|
-
translate_statement:
|
125
|
-
href:
|
122
|
+
type: terms
|
123
|
+
statement: Terms Of Use
|
124
|
+
translate_statement: notranslate # translate|notranslate
|
125
|
+
href: /pages/public/legal/en/terms_of_use/
|
126
126
|
|
127
|
-
- name:
|
127
|
+
- name: Support
|
128
128
|
legal:
|
129
|
-
enabled:
|
129
|
+
enabled: false
|
130
130
|
|
131
|
-
type:
|
132
|
-
statement:
|
133
|
-
translate_statement:
|
134
|
-
href:
|
131
|
+
type: support
|
132
|
+
statement: Support
|
133
|
+
translate_statement: notranslate # translate|notranslate
|
134
|
+
href: /pages/public/legal/en/terms_of_use/
|
135
135
|
|
136
136
|
# ----------------------------------------------------------------------
|
137
137
|
# BOXES
|
@@ -141,20 +141,22 @@ settings:
|
|
141
141
|
# --------------------------------------------------------------------
|
142
142
|
# ABOUT box
|
143
143
|
#
|
144
|
-
- name:
|
145
|
-
type:
|
146
|
-
enabled:
|
144
|
+
- name: About
|
145
|
+
type: about
|
146
|
+
enabled: true
|
147
147
|
|
148
|
-
title:
|
149
|
-
title_translation:
|
148
|
+
title: J1 Template
|
149
|
+
title_translation: notranslate
|
150
|
+
tagline: featured template for jekyll
|
150
151
|
text: >
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
152
|
+
Jekyll meets Bootstrap - and makes a lot of friends.
|
153
|
+
J1 Template combines the best of OpenSource software for
|
154
|
+
the Web and the Web site generator Jekyll. J1 is Open
|
155
|
+
Source and the modules packed as well.
|
156
|
+
<br><br>
|
157
|
+
<b>No pain for private or professional use.</b>
|
156
158
|
|
157
|
-
justify:
|
159
|
+
justify: true
|
158
160
|
|
159
161
|
# --------------------------------------------------------------------
|
160
162
|
# NEWS box
|
@@ -162,6 +164,7 @@ settings:
|
|
162
164
|
- name: News
|
163
165
|
type: news
|
164
166
|
enabled: true
|
167
|
+
|
165
168
|
title: Creators Blog
|
166
169
|
title_translation: notranslate # translate|notranslate
|
167
170
|
tagline: latest news
|
@@ -174,8 +177,10 @@ settings:
|
|
174
177
|
- name: Links
|
175
178
|
type: references
|
176
179
|
enabled: true
|
180
|
+
|
177
181
|
title: Links
|
178
182
|
title_translation: notranslate
|
183
|
+
tagline: top sites
|
179
184
|
|
180
185
|
links:
|
181
186
|
|
@@ -183,7 +188,7 @@ settings:
|
|
183
188
|
link:
|
184
189
|
title: Jekyll Home
|
185
190
|
title_translation: notranslate
|
186
|
-
tagline: First
|
191
|
+
tagline: First for latest news
|
187
192
|
href: http://jekyllrb.com/
|
188
193
|
|
189
194
|
- name: Jekyll Tips
|
@@ -197,7 +202,7 @@ settings:
|
|
197
202
|
link:
|
198
203
|
title: Stackoverflow
|
199
204
|
title_translation: notranslate
|
200
|
-
tagline: Get help
|
205
|
+
tagline: Get help
|
201
206
|
href: http://stackoverflow.com/questions/tagged/jekyll
|
202
207
|
|
203
208
|
# --------------------------------------------------------------------
|
@@ -206,21 +211,29 @@ settings:
|
|
206
211
|
- name: Contact
|
207
212
|
type: contact
|
208
213
|
enabled: false
|
209
|
-
|
214
|
+
|
215
|
+
title: Contact
|
210
216
|
title_translation: notranslate # translate|notranslate
|
217
|
+
tagline: welcome
|
218
|
+
|
211
219
|
address:
|
212
|
-
enabled:
|
220
|
+
enabled: true
|
213
221
|
address_1: JekyllOne Ltd.
|
214
|
-
address_2:
|
215
|
-
address_3: San Francisco, CA
|
222
|
+
address_2: 789 Folsom Ave, Suite 456
|
223
|
+
address_3: San Francisco, CA 98765
|
224
|
+
|
216
225
|
phone:
|
217
|
-
enabled:
|
218
|
-
|
219
|
-
|
226
|
+
enabled: true
|
227
|
+
office_hours: 9am - 7pm
|
228
|
+
phone_1: (+123) 456 789-0
|
229
|
+
phone_2: (+123) 456 789-1
|
230
|
+
|
220
231
|
internet:
|
221
|
-
enabled:
|
222
|
-
|
223
|
-
|
232
|
+
enabled: true
|
233
|
+
home_text: JekyllOne
|
234
|
+
home_link: 'https://jekyll.one/'
|
235
|
+
mail_1: contact@jekyll.one
|
236
|
+
mail_2: webmaster@jekyll.one
|
224
237
|
|
225
238
|
# ------------------------------------------------------------------------------
|
226
239
|
# END config
|
@@ -1660,27 +1660,5 @@ resources:
|
|
1660
1660
|
js: [ modules/nbInteract/js/nbinteract/nbinteract-core ]
|
1661
1661
|
init_function: [ j1.adapter.nbinteract.init ]
|
1662
1662
|
|
1663
|
-
# ----------------------------------------------------------------------------
|
1664
|
-
# scheduler
|
1665
|
-
#
|
1666
|
-
# - name: scheduler
|
1667
|
-
# resource:
|
1668
|
-
# enabled: false
|
1669
|
-
#
|
1670
|
-
# id: scheduler
|
1671
|
-
# comment: scheduler
|
1672
|
-
# region: head
|
1673
|
-
# layout: [ all ]
|
1674
|
-
# required: always # always | ondemand
|
1675
|
-
# preload: false # property currently unused
|
1676
|
-
# script_load: sync
|
1677
|
-
# dependencies: false
|
1678
|
-
# pass_init_data: false
|
1679
|
-
# data:
|
1680
|
-
# css: []
|
1681
|
-
# files: []
|
1682
|
-
# js: [ modules/later/js/later, modules/later/js/schedule ]
|
1683
|
-
# init_function: []
|
1684
|
-
|
1685
1663
|
# ------------------------------------------------------------------------------
|
1686
1664
|
# END config
|
@@ -41,6 +41,9 @@ tag::urls[]
|
|
41
41
|
:url-backstretch--home: https://www.jquery-backstretch.com/
|
42
42
|
:url-backstretch--gh-repo: https://github.com/jquery-backstretch/jquery-backstretch/
|
43
43
|
|
44
|
+
:url-ben-balter-blog--collections: https://ben.balter.com/2015/02/20/jekyll-collections/
|
45
|
+
|
46
|
+
|
44
47
|
:url-broadbandsearch--mobile-internet-usage: https://www.broadbandsearch.net/blog/mobile-desktop-internet-usage-statistics
|
45
48
|
|
46
49
|
:url-bs-cookie-banner--gh-repo: https://github.com/shaack/bootstrap-cookie-banner/
|
@@ -185,7 +188,10 @@ tag::urls[]
|
|
185
188
|
:url-j1--home: https://jekyll.one/
|
186
189
|
:url-j1--download: https://rubygems.org/gems/j1-template/
|
187
190
|
:url-j1--versions: https://rubygems.org/gems/j1-template/versions/
|
191
|
+
|
188
192
|
:url-j1-rubydoc--home: https://www.rubydoc.info/gems/j1-template/
|
193
|
+
:url-j1--gh-binder-repo: https://github.com/jekyll-one/j1-binder-repo
|
194
|
+
|
189
195
|
:url-j1--preview: https://preview.jekyll.one/
|
190
196
|
:url-j1--quickstart: https://jekyll.one/pages/public/learn/quickstart/
|
191
197
|
:url-j1-cheatsheet--j1-git: http://localhost:42000/pages/public/cheatsheets/j1/#git
|
@@ -209,6 +215,9 @@ tag::urls[]
|
|
209
215
|
:url-j1-learn--responsive-tables: https://jekyll.one/pages/public/learn/roundtrip/responsive_tables/
|
210
216
|
:url-j1-learn--themes: https://jekyll.one/pages/public/learn/roundtrip/themes/
|
211
217
|
|
218
|
+
:url-j1--binderhub: /pages/public/jupyter/docs/binderhub
|
219
|
+
:url-j1--jupyterhub: /pages/public/jupyter/docs/jupyterhub
|
220
|
+
|
212
221
|
:url-jekyll--home: https://jekyllrb.com/
|
213
222
|
:url-jekyll--docs: https://jekyllrb.com/docs/
|
214
223
|
:url-jekyll-asciidoc--gh-repo: https://github.com/asciidoctor/jekyll-asciidoc/
|
@@ -272,6 +281,7 @@ tag::urls[]
|
|
272
281
|
:url-netlify--home: https://www.netlify.com/
|
273
282
|
:url-netlify--docs: https://docs.netlify.com/
|
274
283
|
:url-netlify--jamstack: https://www.netlify.com/jamstack/
|
284
|
+
:url-netlify--1-click-button: https://docs.netlify.com/site-deploys/create-deploys/#deploy-to-netlify-button
|
275
285
|
|
276
286
|
:url-node-sass--home: https://github.com/sass/node-sass/
|
277
287
|
|
@@ -285,6 +295,8 @@ tag::urls[]
|
|
285
295
|
|
286
296
|
:url-npm-run-all--gh-repo: https://github.com/mysticatea/npm-run-all/
|
287
297
|
|
298
|
+
:url-ny-times--home: https://www.nytimes.com/
|
299
|
+
|
288
300
|
:url-omniauth--gh-repo: https://github.com/omniauth/omniauth/
|
289
301
|
|
290
302
|
:url-omniauth-oauth-v2--gh-repo: https://github.com/omniauth/omniauth-oauth2/
|
@@ -474,6 +486,8 @@ tag::data[]
|
|
474
486
|
:data-binderhub--architecture: "pages/nbinteract/binderhub-architecture.jpg, Binderhub Architecture"
|
475
487
|
:data-jupyterlab--architecture: "pages/nbinteract/jupyterlab-architecture.jpg, JupyterLab Architecture"
|
476
488
|
|
489
|
+
:data-nbi-textbook--excerpt: "pages/nbinteract/nbi-textbook-example.jpg, NBI textbook (excerpt)"
|
490
|
+
|
477
491
|
:data-lingohub--speakers-by-language: "pages/features/native-speakers-by-language.jpg, Native speakers by language"
|
478
492
|
:data-images--google-lighthouse: "pages/features/google-lighthouse-1080x300.jpg, Google Lighthouse Scores"
|
479
493
|
:data-images--mobile-navigation: "pages/features/mobile-navigation-600x800.jpg, Mobile Web Navigation"
|