j1-template 2022.3.0 → 2022.3.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (58) hide show
  1. checksums.yaml +4 -4
  2. data/_includes/themes/j1/modules/navigator/generator.html +1 -1
  3. data/assets/data/cookieconsent.html +4 -4
  4. data/assets/data/nbinteract.html +128 -0
  5. data/assets/data/quicklinks.html +15 -0
  6. data/assets/data/translator.html +15 -15
  7. data/assets/themes/j1/adapter/js/cookieConsent.js +1 -1
  8. data/assets/themes/j1/adapter/js/mmenu.js +25 -3
  9. data/assets/themes/j1/adapter/js/navigator.js +2 -2
  10. data/assets/themes/j1/adapter/js/nbinteract.js +412 -113
  11. data/assets/themes/j1/core/css/themes/unolight/bootstrap.css +27 -54
  12. data/assets/themes/j1/core/css/themes/unolight/bootstrap.min.css +1 -1
  13. data/assets/themes/j1/core/js/template.js +14 -3
  14. data/assets/themes/j1/core/js/template.min.js +1 -1
  15. data/assets/themes/j1/core/js/template.min.js.map +1 -1
  16. data/assets/themes/j1/modules/cookieConsent/js/cookieConsent.js +1 -0
  17. data/assets/themes/j1/modules/nbInteract/js/nbinteract/nbinteract-core.js +1 -1
  18. data/assets/themes/j1/modules/nbInteract/js/nbinteract/nbinteract-core.js.map +1 -1
  19. data/assets/themes/j1/modules/nbInteract/js/nbinteract/nbinteract-core.min.js +1 -1
  20. data/lib/j1/version.rb +1 -1
  21. data/lib/starter_web/Gemfile +1 -1
  22. data/lib/starter_web/_config.yml +1 -1
  23. data/lib/starter_web/_data/modules/defaults/cookieconsent.yml +55 -42
  24. data/lib/starter_web/_data/modules/defaults/navigator.yml +4 -0
  25. data/lib/starter_web/_data/modules/defaults/nbinteract.yml +99 -1
  26. data/lib/starter_web/_data/modules/defaults/translator.yml +24 -12
  27. data/lib/starter_web/_plugins/lunr_index.rb +1 -1
  28. data/lib/starter_web/package.json +1 -1
  29. data/lib/starter_web/pages/public/jupyter/docs/j1-nbinteract-doc.adoc +20 -6
  30. data/lib/starter_web/pages/public/jupyter/docs/nbi-widget-manual.adoc +6 -6
  31. data/lib/starter_web/pages/public/jupyter/docs/nbinteract-doc.adoc +24 -19
  32. data/lib/starter_web/pages/public/jupyter/examples/j1-circular-times-table.adoc +14 -16
  33. data/lib/starter_web/pages/public/jupyter/examples/j1-interactive-widgets.adoc +8 -5
  34. data/lib/starter_web/pages/public/jupyter/examples/j1-odes-in-python.adoc +11 -8
  35. data/lib/starter_web/pages/public/jupyter/examples/j1-testing-plotly.adoc +12 -4
  36. data/lib/starter_web/pages/public/jupyter/examples/j1_climate-change-forecast.adoc +8 -8
  37. data/lib/starter_web/pages/public/jupyter/notebooks/j1/.ipynb_checkpoints/j1_circular_times_table-checkpoint.ipynb +12387 -0
  38. data/lib/starter_web/pages/public/jupyter/notebooks/j1/.ipynb_checkpoints/j1_interactive_widgets-checkpoint.ipynb +26 -26
  39. data/lib/starter_web/pages/public/jupyter/notebooks/j1/.ipynb_checkpoints/j1_odes_in_python-checkpoint.ipynb +10 -10
  40. data/lib/starter_web/pages/public/jupyter/notebooks/j1/factor_by_factor.mp4 +0 -0
  41. data/lib/starter_web/pages/public/jupyter/notebooks/j1/j1_circular_times_table.ipynb +10 -13
  42. data/lib/starter_web/pages/public/jupyter/notebooks/j1/j1_interactive_widgets.ipynb +26 -26
  43. data/lib/starter_web/pages/public/jupyter/notebooks/j1/j1_odes_in_python.ipynb +15 -15
  44. data/lib/starter_web/pages/public/jupyter/notebooks/j1/line_by_line.mp4 +0 -0
  45. data/lib/starter_web/pages/public/jupyter/notebooks/j1/point_by_point.mp4 +0 -0
  46. data/lib/starter_web/pages/public/jupyter/notebooks/nbi-docs/.ipynb_checkpoints/nbi_docs_examples_central_limit_theorem-checkpoint.ipynb +247 -0
  47. data/lib/starter_web/pages/public/jupyter/notebooks/nbi-docs/.ipynb_checkpoints/nbi_docs_recipes_graphing-checkpoint.ipynb +18 -18
  48. data/lib/starter_web/pages/public/jupyter/notebooks/nbi-docs/nbi_docs_examples_central_limit_theorem.ipynb +1 -2
  49. data/lib/starter_web/pages/public/jupyter/notebooks/nbi-docs/nbi_docs_recipes_graphing.ipynb +18 -18
  50. data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/j1_circular_times_table.html +6 -9
  51. data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/j1_interactive_widgets.html +919 -919
  52. data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/j1_odes_in_python.html +10 -10
  53. data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/nbi_docs_recipes_graphing.html +473 -473
  54. data/lib/starter_web/pages/public/jupyter/services/jupyterhub.adoc +6 -7
  55. data/lib/starter_web/pages/public/se/se-fake.adoc +47 -0
  56. data/lib/starter_web/utilsrv/_defaults/package.json +1 -1
  57. data/lib/starter_web/utilsrv/package.json +1 -1
  58. metadata +9 -2
@@ -55,10 +55,10 @@ resource_options:
55
55
 
56
56
  // Set (local) page attributes here
57
57
  // -----------------------------------------------------------------------------
58
- // :page--attr: <attr-value>
59
- :binder-badges-enabled: true
60
- :binder-app-launch--tree: https://mybinder.org/v2/gh/jekyll-one/j1-binder-repo/main?urlpath=/tree
61
- :binder-app-launch--notebook: https://mybinder.org/v2/gh/jekyll-one/j1-binder-repo/main?filepath=notebooks/j1/j1_odes_in_python.ipynb
58
+ // :page--attr: <attr-value>
59
+ :binder-badges-enabled: true
60
+ :binder-app-launch--tree: https://mybinder.org/v2/gh/jekyll-one/j1-binder-repo/main?urlpath=/tree
61
+ :binder-app-launch--notebook: https://mybinder.org/v2/gh/jekyll-one/j1-binder-repo/main?filepath=notebooks/j1/j1_odes_in_python.ipynb
62
62
 
63
63
  // Load Liquid procedures
64
64
  // -----------------------------------------------------------------------------
@@ -80,7 +80,15 @@ image:/assets/images/badges/notebookBinder.png[Binder, link="{binder-app-launch-
80
80
  image:https://mybinder.org/badge_logo.svg[Binder, link="{binder-app-launch--tree}", {browser-window--new}]
81
81
  endif::[]
82
82
 
83
+ CAUTION: Each interactive element presented on this page uses *time-consuming*
84
+ operations that take a while to finish. The elements are built through a
85
+ backend in the cloud. Please be patient to see the results.
83
86
 
84
87
  == Plotly
85
88
 
89
+ lorem:sentences[5]
90
+
91
+ lorem:sentences[3]
92
+
93
+
86
94
  textbook::j1_testing_plotly[]
@@ -56,10 +56,10 @@ resource_options:
56
56
 
57
57
  // Set (local) page attributes here
58
58
  // -----------------------------------------------------------------------------
59
- // :page--attr: <attr-value>
60
- :binder-badges-enabled: true
61
- :binder-app-launch--tree: https://mybinder.org/v2/gh/jekyll-one/j1-binder-repo/main?urlpath=/tree
62
- :binder-app-launch--notebook: https://mybinder.org/v2/gh/jekyll-one/j1-binder-repo/main?filepath=notebooks/j1/j1_climate_change_forecast.ipynb
59
+ // :page--attr: <attr-value>
60
+ :binder-badges-enabled: true
61
+ :binder-app-launch--tree: https://mybinder.org/v2/gh/jekyll-one/j1-binder-repo/main?urlpath=/tree
62
+ :binder-app-launch--notebook: https://mybinder.org/v2/gh/jekyll-one/j1-binder-repo/main?filepath=notebooks/j1/j1_climate_change_forecast.ipynb
63
63
 
64
64
  // Load Liquid procedures
65
65
  // -----------------------------------------------------------------------------
@@ -80,15 +80,15 @@ image:/assets/images/badges/notebookBinder.png[Binder, link="{binder-app-launch-
80
80
  image:https://mybinder.org/badge_logo.svg[Binder, link="{binder-app-launch--tree}", {browser-window--new}]
81
81
  endif::[]
82
82
 
83
+ CAUTION: If the J1 NBI module detects *non-interactive* textbooks, the
84
+ NBI module adapter does *not* start a Binder service for an external
85
+ computational environment.
86
+
83
87
  This textbook is an example of a *non-interactive* Jupyter notebook (JN).
84
88
  Jupyter Notebooks don't necessarily need to contain *interactive* widgets.
85
89
  The CLI `nbinteract` can export all types of (Python-based) notebooks to
86
90
  an (HTML) textbooks.
87
91
 
88
- NOTE: If the J1 NBI module detects non-interactive textbooks, the module
89
- adapter does *not* start the Binder service for an external computational
90
- environment.
91
-
92
92
  == Climate change forecasting
93
93
 
94
94
  Predicting climate change is a very difficult business. The calculations are