j1-template 2022.2.3 → 2022.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (115) hide show
  1. checksums.yaml +4 -4
  2. data/assets/themes/j1/adapter/js/analytics.js +13 -13
  3. data/assets/themes/j1/adapter/js/nbinteract.js +192 -39
  4. data/assets/themes/j1/core/css/themes/unodark/bootstrap.css +30 -40
  5. data/assets/themes/j1/core/css/themes/unodark/bootstrap.min.css +1 -1
  6. data/assets/themes/j1/core/css/themes/unolight/bootstrap.css +23 -12
  7. data/assets/themes/j1/core/css/themes/unolight/bootstrap.min.css +1 -1
  8. data/assets/themes/j1/core/js/template.js +1 -1
  9. data/assets/themes/j1/core/js/template.min.js +1 -1
  10. data/assets/themes/j1/core/js/template.min.js.map +1 -1
  11. data/assets/themes/j1/modules/carousel/css/theme/uno.css +5 -0
  12. data/assets/themes/j1/modules/carousel/css/theme/uno.min.css +1 -1
  13. data/assets/themes/j1/modules/justifiedGallery/css/justifiedGallery.css +6 -0
  14. data/assets/themes/j1/modules/justifiedGallery/css/justifiedGallery.min.css +1 -1
  15. data/assets/themes/j1/modules/mmenuLight/css/mmenu-light.css +2 -2
  16. data/assets/themes/j1/modules/mmenuLight/css/mmenu-light.min.css +1 -2
  17. data/assets/themes/j1/modules/nbInteract/css/theme/uno/nbinteract-core.css +33 -33
  18. data/assets/themes/j1/modules/nbInteract/css/theme/uno/nbinteract-core.min.css +1 -1
  19. data/assets/themes/j1/modules/nbInteract/js/requireJS/require.js +2068 -0
  20. data/assets/themes/j1/modules/nbInteract/js/requireJS/require.min.js +36 -0
  21. data/assets/themes/j1/modules/plotly/LICENSE +21 -0
  22. data/assets/themes/j1/modules/plotly/README.md +32 -0
  23. data/assets/themes/j1/modules/plotly/js/plotly.js +265345 -0
  24. data/assets/themes/j1/modules/plotly/js/plotly.min.js +65 -0
  25. data/assets/themes/j1/modules/requirejs/LICENSE +45 -0
  26. data/assets/themes/j1/modules/requirejs/README.md +79 -0
  27. data/assets/themes/j1/modules/requirejs/js/require.js +2068 -0
  28. data/assets/themes/j1/modules/requirejs/js/require.min.js +36 -0
  29. data/lib/j1/version.rb +1 -1
  30. data/lib/starter_web/Gemfile +1 -1
  31. data/lib/starter_web/_config.yml +1 -1
  32. data/lib/starter_web/_data/modules/analytics.yml +8 -23
  33. data/lib/starter_web/_data/modules/defaults/analytics.yml +1 -1
  34. data/lib/starter_web/_data/modules/justifiedGallery.yml +14 -8
  35. data/lib/starter_web/_data/modules/navigator_menu.yml +6 -3
  36. data/lib/starter_web/_data/modules/nbinteract.yml +12 -48
  37. data/lib/starter_web/_data/resources.yml +56 -0
  38. data/lib/starter_web/_includes/attributes.asciidoc +11 -0
  39. data/lib/starter_web/_plugins/lunr_index.rb +1 -1
  40. data/lib/starter_web/assets/images/pages/nbinteract/mandelbrot-menge-1920x1200.jpg +0 -0
  41. data/lib/starter_web/assets/images/pages/nbinteract/mandelbrot-menge.png +0 -0
  42. data/lib/starter_web/assets/images/pages/nbinteract/manual/nbi_bar.jpg +0 -0
  43. data/lib/starter_web/assets/images/pages/nbinteract/manual/nbi_hist.jpg +0 -0
  44. data/lib/starter_web/assets/images/pages/nbinteract/manual/nbi_line.jpg +0 -0
  45. data/lib/starter_web/assets/images/pages/nbinteract/manual/nbi_multiple_choice.jpg +0 -0
  46. data/lib/starter_web/assets/images/pages/nbinteract/manual/nbi_scatter.jpg +0 -0
  47. data/lib/starter_web/assets/images/pages/nbinteract/manual/nbi_scatter_drag.jpg +0 -0
  48. data/lib/starter_web/assets/images/pages/nbinteract/manual/nbi_short_answer.jpg +0 -0
  49. data/lib/starter_web/assets/videos/gallery/kick-it-old-school-poster.jpg +0 -0
  50. data/lib/starter_web/assets/videos/gallery/nye-party-shop-poster.jpg +0 -0
  51. data/lib/starter_web/assets/videos/gallery/stay-colorful-poster.jpg +0 -0
  52. data/lib/starter_web/collections/posts/public/series/_posts/2020-01-01-post-wiki-series.adoc +1 -0
  53. data/lib/starter_web/collections/posts/public/series/_posts/2020-01-02-post-wiki-series.adoc +1 -0
  54. data/lib/starter_web/collections/posts/public/series/_posts/2020-01-03-post-wiki-series.adoc +1 -0
  55. data/lib/starter_web/package.json +1 -2
  56. data/lib/starter_web/pages/public/jupyter/docs/j1-nbinteract-doc.adoc +16 -16
  57. data/lib/starter_web/pages/public/jupyter/docs/nbi-widget-manual.adoc +149 -2
  58. data/lib/starter_web/pages/public/jupyter/docs/nbinteract-doc.adoc +1 -1
  59. data/lib/starter_web/pages/public/jupyter/examples/j1-circular-times-table.adoc +137 -0
  60. data/lib/starter_web/pages/public/jupyter/examples/j1-interactive-widgets.adoc +2 -2
  61. data/lib/starter_web/pages/public/jupyter/examples/j1-odes-in-python.adoc +11 -6
  62. data/lib/starter_web/pages/public/jupyter/examples/j1-testing-plotly.adoc +86 -0
  63. data/lib/starter_web/pages/public/jupyter/examples/j1_climate-change-forecast.adoc +2 -2
  64. data/lib/starter_web/pages/public/jupyter/notebooks/j1/.ipynb_checkpoints/j1_climate_change_forecast-checkpoint.ipynb +1058 -0
  65. data/lib/starter_web/pages/public/jupyter/notebooks/j1/{j1_ode_selected.ipynb → .ipynb_checkpoints/j1_docs_example_dynamic-checkpoint.ipynb} +1 -1
  66. data/lib/starter_web/pages/public/jupyter/notebooks/j1/.ipynb_checkpoints/j1_interactive_widgets-checkpoint.ipynb +20 -20
  67. data/lib/starter_web/pages/public/jupyter/notebooks/j1/.ipynb_checkpoints/{j1_altair_interactive_test-checkpoint.ipynb → j1_ode_selected-checkpoint.ipynb} +99 -318
  68. data/lib/starter_web/pages/public/jupyter/notebooks/j1/.ipynb_checkpoints/j1_odes_in_python-checkpoint.ipynb +15227 -0
  69. data/lib/starter_web/pages/public/jupyter/notebooks/j1/j1_circular_times_table.ipynb +12390 -0
  70. data/lib/starter_web/pages/public/jupyter/notebooks/j1/j1_climate_change_forecast.ipynb +2 -2
  71. data/lib/starter_web/pages/public/jupyter/notebooks/j1/j1_docs_example_dynamic.ipynb +1 -1
  72. data/lib/starter_web/pages/public/jupyter/notebooks/j1/j1_interactive_widgets.ipynb +20 -20
  73. data/lib/starter_web/pages/public/jupyter/notebooks/j1/j1_odes_in_python.ipynb +15227 -0
  74. data/lib/starter_web/pages/public/jupyter/notebooks/nbi-docs/.ipynb_checkpoints/nbi_docs_examples_variability_of_the_sample_mean-checkpoint.ipynb +323 -0
  75. data/lib/starter_web/pages/public/jupyter/notebooks/nbi-docs/.ipynb_checkpoints/nbi_docs_recipes_graphing-checkpoint.ipynb +387 -0
  76. data/lib/starter_web/pages/public/jupyter/notebooks/nbi-docs/.ipynb_checkpoints/nbi_docs_recipes_layout-checkpoint.ipynb +384 -0
  77. data/lib/starter_web/pages/public/jupyter/notebooks/nbi-docs/.ipynb_checkpoints/nbi_docs_tutorial_interact-checkpoint.ipynb +254 -0
  78. data/lib/starter_web/pages/public/jupyter/notebooks/nbi-docs/.ipynb_checkpoints/nbi_docs_tutorial_monty_hall-checkpoint.ipynb +732 -0
  79. data/lib/starter_web/pages/public/jupyter/notebooks/nbi-docs/nbi_docs_tutorial_monty_hall.ipynb +25 -26
  80. data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/j1_circular_times_table.html +749 -0
  81. data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/j1_climate_change_forecast.html +2 -2
  82. data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/j1_docs_example_dynamic.html +186 -186
  83. data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/j1_interactive_widgets.html +919 -919
  84. data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/j1_odes_in_python.html +955 -0
  85. data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/nbi_docs_recipes_interactive_questions.html +242 -242
  86. data/lib/starter_web/pages/public/jupyter/services/binderhub.adoc +3 -3
  87. data/lib/starter_web/pages/public/learn/roundtrip/100_present_images.adoc +1 -1
  88. data/lib/starter_web/pages/public/learn/roundtrip/100_present_videos.adoc +9 -15
  89. data/lib/starter_web/pages/public/learn/roundtrip/200_typography.adoc +1 -1
  90. data/lib/starter_web/pages/public/learn/roundtrip/300_icon_fonts.adoc +1 -1
  91. data/lib/starter_web/pages/public/learn/roundtrip/400_asciidoc_extensions.adoc +1 -1
  92. data/lib/starter_web/pages/public/learn/roundtrip/410_bs_modals_extentions.adoc +1 -1
  93. data/lib/starter_web/pages/public/learn/roundtrip/420_responsive_tables_extensions.adoc +1 -1
  94. data/lib/starter_web/pages/public/legal/en/300_privacy.adoc +117 -12
  95. data/lib/starter_web/utilsrv/_defaults/package.json +1 -1
  96. data/lib/starter_web/utilsrv/package.json +1 -1
  97. metadata +38 -22
  98. data/lib/starter_web/assets/videos/gallery/adriana-lima-poster.jpg +0 -0
  99. data/lib/starter_web/pages/public/jupyter/notebooks/binder/binder-launches.ipynb +0 -385
  100. data/lib/starter_web/pages/public/jupyter/notebooks/j1/.ipynb_checkpoints/Untitled-checkpoint.ipynb +0 -6
  101. data/lib/starter_web/pages/public/jupyter/notebooks/j1/.ipynb_checkpoints/binder-launches-checkpoint.ipynb +0 -385
  102. data/lib/starter_web/pages/public/jupyter/notebooks/j1/.ipynb_checkpoints/google_altair-checkpoint.ipynb +0 -33
  103. data/lib/starter_web/pages/public/jupyter/notebooks/j1/binder-launches.ipynb +0 -411
  104. data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/binder-launches.html +0 -670
  105. data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/j1_ode_selected.html +0 -186
  106. data/lib/starter_web/pages/public/jupyter/notebooks/themes/altair/excel.py +0 -55
  107. data/lib/starter_web/pages/public/jupyter/notebooks/themes/altair/ggplot.py +0 -108
  108. data/lib/starter_web/pages/public/jupyter/notebooks/themes/altair/ggplot2.py +0 -108
  109. data/lib/starter_web/pages/public/jupyter/notebooks/themes/altair/husky.py +0 -121
  110. data/lib/starter_web/pages/public/jupyter/notebooks/themes/altair/latimes.py +0 -149
  111. data/lib/starter_web/pages/public/jupyter/notebooks/themes/altair/pcolor.py +0 -6
  112. data/lib/starter_web/pages/public/jupyter/notebooks/themes/altair/quartz.py +0 -55
  113. data/lib/starter_web/pages/public/jupyter/notebooks/themes/altair/spacy_base.py +0 -94
  114. data/lib/starter_web/pages/public/jupyter/notebooks/themes/altair/spacy_mono.py +0 -158
  115. data/lib/starter_web/pages/public/jupyter/notebooks/themes/altair/sunsentinel.py +0 -125
@@ -0,0 +1,36 @@
1
+ /*
2
+ RequireJS 2.1.10 Copyright (c) 2010-2014, The Dojo Foundation All Rights Reserved.
3
+ Available via the MIT or new BSD license.
4
+ see: http://github.com/jrburke/requirejs for details
5
+ */
6
+ var requirejs,require,define;
7
+ (function(ca){function G(b){return"[object Function]"===N.call(b)}function H(b){return"[object Array]"===N.call(b)}function v(b,c){if(b){var d;for(d=0;d<b.length&&(!b[d]||!c(b[d],d,b));d+=1);}}function U(b,c){if(b){var d;for(d=b.length-1;-1<d&&(!b[d]||!c(b[d],d,b));d-=1);}}function s(b,c){return ga.call(b,c)}function j(b,c){return s(b,c)&&b[c]}function B(b,c){for(var d in b)if(s(b,d)&&c(b[d],d))break}function V(b,c,d,g){c&&B(c,function(c,h){if(d||!s(b,h))g&&"object"===typeof c&&c&&!H(c)&&!G(c)&&!(c instanceof
8
+ RegExp)?(b[h]||(b[h]={}),V(b[h],c,d,g)):b[h]=c});return b}function t(b,c){return function(){return c.apply(b,arguments)}}function da(b){throw b;}function ea(b){if(!b)return b;var c=ca;v(b.split("."),function(b){c=c[b]});return c}function C(b,c,d,g){c=Error(c+"\nhttp://requirejs.org/docs/errors.html#"+b);c.requireType=b;c.requireModules=g;d&&(c.originalError=d);return c}function ha(b){function c(a,e,b){var f,n,c,d,g,h,i,I=e&&e.split("/");n=I;var m=l.map,k=m&&m["*"];if(a&&"."===a.charAt(0))if(e){n=
9
+ I.slice(0,I.length-1);a=a.split("/");e=a.length-1;l.nodeIdCompat&&R.test(a[e])&&(a[e]=a[e].replace(R,""));n=a=n.concat(a);d=n.length;for(e=0;e<d;e++)if(c=n[e],"."===c)n.splice(e,1),e-=1;else if(".."===c)if(1===e&&(".."===n[2]||".."===n[0]))break;else 0<e&&(n.splice(e-1,2),e-=2);a=a.join("/")}else 0===a.indexOf("./")&&(a=a.substring(2));if(b&&m&&(I||k)){n=a.split("/");e=n.length;a:for(;0<e;e-=1){d=n.slice(0,e).join("/");if(I)for(c=I.length;0<c;c-=1)if(b=j(m,I.slice(0,c).join("/")))if(b=j(b,d)){f=b;
10
+ g=e;break a}!h&&(k&&j(k,d))&&(h=j(k,d),i=e)}!f&&h&&(f=h,g=i);f&&(n.splice(0,g,f),a=n.join("/"))}return(f=j(l.pkgs,a))?f:a}function d(a){z&&v(document.getElementsByTagName("script"),function(e){if(e.getAttribute("data-requiremodule")===a&&e.getAttribute("data-requirecontext")===i.contextName)return e.parentNode.removeChild(e),!0})}function g(a){var e=j(l.paths,a);if(e&&H(e)&&1<e.length)return e.shift(),i.require.undef(a),i.require([a]),!0}function u(a){var e,b=a?a.indexOf("!"):-1;-1<b&&(e=a.substring(0,
11
+ b),a=a.substring(b+1,a.length));return[e,a]}function m(a,e,b,f){var n,d,g=null,h=e?e.name:null,l=a,m=!0,k="";a||(m=!1,a="_@r"+(N+=1));a=u(a);g=a[0];a=a[1];g&&(g=c(g,h,f),d=j(p,g));a&&(g?k=d&&d.normalize?d.normalize(a,function(a){return c(a,h,f)}):c(a,h,f):(k=c(a,h,f),a=u(k),g=a[0],k=a[1],b=!0,n=i.nameToUrl(k)));b=g&&!d&&!b?"_unnormalized"+(Q+=1):"";return{prefix:g,name:k,parentMap:e,unnormalized:!!b,url:n,originalName:l,isDefine:m,id:(g?g+"!"+k:k)+b}}function q(a){var e=a.id,b=j(k,e);b||(b=k[e]=new i.Module(a));
12
+ return b}function r(a,e,b){var f=a.id,n=j(k,f);if(s(p,f)&&(!n||n.defineEmitComplete))"defined"===e&&b(p[f]);else if(n=q(a),n.error&&"error"===e)b(n.error);else n.on(e,b)}function w(a,e){var b=a.requireModules,f=!1;if(e)e(a);else if(v(b,function(e){if(e=j(k,e))e.error=a,e.events.error&&(f=!0,e.emit("error",a))}),!f)h.onError(a)}function x(){S.length&&(ia.apply(A,[A.length,0].concat(S)),S=[])}function y(a){delete k[a];delete W[a]}function F(a,e,b){var f=a.map.id;a.error?a.emit("error",a.error):(e[f]=
13
+ !0,v(a.depMaps,function(f,c){var d=f.id,g=j(k,d);g&&(!a.depMatched[c]&&!b[d])&&(j(e,d)?(a.defineDep(c,p[d]),a.check()):F(g,e,b))}),b[f]=!0)}function D(){var a,e,b=(a=1E3*l.waitSeconds)&&i.startTime+a<(new Date).getTime(),f=[],c=[],h=!1,k=!0;if(!X){X=!0;B(W,function(a){var i=a.map,m=i.id;if(a.enabled&&(i.isDefine||c.push(a),!a.error))if(!a.inited&&b)g(m)?h=e=!0:(f.push(m),d(m));else if(!a.inited&&(a.fetched&&i.isDefine)&&(h=!0,!i.prefix))return k=!1});if(b&&f.length)return a=C("timeout","Load timeout for modules: "+
14
+ f,null,f),a.contextName=i.contextName,w(a);k&&v(c,function(a){F(a,{},{})});if((!b||e)&&h)if((z||fa)&&!Y)Y=setTimeout(function(){Y=0;D()},50);X=!1}}function E(a){s(p,a[0])||q(m(a[0],null,!0)).init(a[1],a[2])}function L(a){var a=a.currentTarget||a.srcElement,e=i.onScriptLoad;a.detachEvent&&!Z?a.detachEvent("onreadystatechange",e):a.removeEventListener("load",e,!1);e=i.onScriptError;(!a.detachEvent||Z)&&a.removeEventListener("error",e,!1);return{node:a,id:a&&a.getAttribute("data-requiremodule")}}function M(){var a;
15
+ for(x();A.length;){a=A.shift();if(null===a[0])return w(C("mismatch","Mismatched anonymous define() module: "+a[a.length-1]));E(a)}}var X,$,i,K,Y,l={waitSeconds:7,baseUrl:"./",paths:{},bundles:{},pkgs:{},shim:{},config:{}},k={},W={},aa={},A=[],p={},T={},ba={},N=1,Q=1;K={require:function(a){return a.require?a.require:a.require=i.makeRequire(a.map)},exports:function(a){a.usingExports=!0;if(a.map.isDefine)return a.exports?a.exports:a.exports=p[a.map.id]={}},module:function(a){return a.module?a.module:
16
+ a.module={id:a.map.id,uri:a.map.url,config:function(){return j(l.config,a.map.id)||{}},exports:K.exports(a)}}};$=function(a){this.events=j(aa,a.id)||{};this.map=a;this.shim=j(l.shim,a.id);this.depExports=[];this.depMaps=[];this.depMatched=[];this.pluginMaps={};this.depCount=0};$.prototype={init:function(a,e,b,f){f=f||{};if(!this.inited){this.factory=e;if(b)this.on("error",b);else this.events.error&&(b=t(this,function(a){this.emit("error",a)}));this.depMaps=a&&a.slice(0);this.errback=b;this.inited=
17
+ !0;this.ignore=f.ignore;f.enabled||this.enabled?this.enable():this.check()}},defineDep:function(a,e){this.depMatched[a]||(this.depMatched[a]=!0,this.depCount-=1,this.depExports[a]=e)},fetch:function(){if(!this.fetched){this.fetched=!0;i.startTime=(new Date).getTime();var a=this.map;if(this.shim)i.makeRequire(this.map,{enableBuildCallback:!0})(this.shim.deps||[],t(this,function(){return a.prefix?this.callPlugin():this.load()}));else return a.prefix?this.callPlugin():this.load()}},load:function(){var a=
18
+ this.map.url;T[a]||(T[a]=!0,i.load(this.map.id,a))},check:function(){if(this.enabled&&!this.enabling){var a,e,b=this.map.id;e=this.depExports;var f=this.exports,c=this.factory;if(this.inited)if(this.error)this.emit("error",this.error);else{if(!this.defining){this.defining=!0;if(1>this.depCount&&!this.defined){if(G(c)){if(this.events.error&&this.map.isDefine||h.onError!==da)try{f=i.execCb(b,c,e,f)}catch(d){a=d}else f=i.execCb(b,c,e,f);this.map.isDefine&&void 0===f&&((e=this.module)?f=e.exports:this.usingExports&&
19
+ (f=this.exports));if(a)return a.requireMap=this.map,a.requireModules=this.map.isDefine?[this.map.id]:null,a.requireType=this.map.isDefine?"define":"require",w(this.error=a)}else f=c;this.exports=f;if(this.map.isDefine&&!this.ignore&&(p[b]=f,h.onResourceLoad))h.onResourceLoad(i,this.map,this.depMaps);y(b);this.defined=!0}this.defining=!1;this.defined&&!this.defineEmitted&&(this.defineEmitted=!0,this.emit("defined",this.exports),this.defineEmitComplete=!0)}}else this.fetch()}},callPlugin:function(){var a=
20
+ this.map,b=a.id,d=m(a.prefix);this.depMaps.push(d);r(d,"defined",t(this,function(f){var d,g;g=j(ba,this.map.id);var J=this.map.name,u=this.map.parentMap?this.map.parentMap.name:null,p=i.makeRequire(a.parentMap,{enableBuildCallback:!0});if(this.map.unnormalized){if(f.normalize&&(J=f.normalize(J,function(a){return c(a,u,!0)})||""),f=m(a.prefix+"!"+J,this.map.parentMap),r(f,"defined",t(this,function(a){this.init([],function(){return a},null,{enabled:!0,ignore:!0})})),g=j(k,f.id)){this.depMaps.push(f);
21
+ if(this.events.error)g.on("error",t(this,function(a){this.emit("error",a)}));g.enable()}}else g?(this.map.url=i.nameToUrl(g),this.load()):(d=t(this,function(a){this.init([],function(){return a},null,{enabled:!0})}),d.error=t(this,function(a){this.inited=!0;this.error=a;a.requireModules=[b];B(k,function(a){0===a.map.id.indexOf(b+"_unnormalized")&&y(a.map.id)});w(a)}),d.fromText=t(this,function(f,c){var g=a.name,J=m(g),k=O;c&&(f=c);k&&(O=!1);q(J);s(l.config,b)&&(l.config[g]=l.config[b]);try{h.exec(f)}catch(j){return w(C("fromtexteval",
22
+ "fromText eval for "+b+" failed: "+j,j,[b]))}k&&(O=!0);this.depMaps.push(J);i.completeLoad(g);p([g],d)}),f.load(a.name,p,d,l))}));i.enable(d,this);this.pluginMaps[d.id]=d},enable:function(){W[this.map.id]=this;this.enabling=this.enabled=!0;v(this.depMaps,t(this,function(a,b){var c,f;if("string"===typeof a){a=m(a,this.map.isDefine?this.map:this.map.parentMap,!1,!this.skipMap);this.depMaps[b]=a;if(c=j(K,a.id)){this.depExports[b]=c(this);return}this.depCount+=1;r(a,"defined",t(this,function(a){this.defineDep(b,
23
+ a);this.check()}));this.errback&&r(a,"error",t(this,this.errback))}c=a.id;f=k[c];!s(K,c)&&(f&&!f.enabled)&&i.enable(a,this)}));B(this.pluginMaps,t(this,function(a){var b=j(k,a.id);b&&!b.enabled&&i.enable(a,this)}));this.enabling=!1;this.check()},on:function(a,b){var c=this.events[a];c||(c=this.events[a]=[]);c.push(b)},emit:function(a,b){v(this.events[a],function(a){a(b)});"error"===a&&delete this.events[a]}};i={config:l,contextName:b,registry:k,defined:p,urlFetched:T,defQueue:A,Module:$,makeModuleMap:m,
24
+ nextTick:h.nextTick,onError:w,configure:function(a){a.baseUrl&&"/"!==a.baseUrl.charAt(a.baseUrl.length-1)&&(a.baseUrl+="/");var b=l.shim,c={paths:!0,bundles:!0,config:!0,map:!0};B(a,function(a,b){c[b]?(l[b]||(l[b]={}),V(l[b],a,!0,!0)):l[b]=a});a.bundles&&B(a.bundles,function(a,b){v(a,function(a){a!==b&&(ba[a]=b)})});a.shim&&(B(a.shim,function(a,c){H(a)&&(a={deps:a});if((a.exports||a.init)&&!a.exportsFn)a.exportsFn=i.makeShimExports(a);b[c]=a}),l.shim=b);a.packages&&v(a.packages,function(a){var b,
25
+ a="string"===typeof a?{name:a}:a;b=a.name;a.location&&(l.paths[b]=a.location);l.pkgs[b]=a.name+"/"+(a.main||"main").replace(ja,"").replace(R,"")});B(k,function(a,b){!a.inited&&!a.map.unnormalized&&(a.map=m(b))});if(a.deps||a.callback)i.require(a.deps||[],a.callback)},makeShimExports:function(a){return function(){var b;a.init&&(b=a.init.apply(ca,arguments));return b||a.exports&&ea(a.exports)}},makeRequire:function(a,e){function g(f,c,d){var j,l;e.enableBuildCallback&&(c&&G(c))&&(c.__requireJsBuild=
26
+ !0);if("string"===typeof f){if(G(c))return w(C("requireargs","Invalid require call"),d);if(a&&s(K,f))return K[f](k[a.id]);if(h.get)return h.get(i,f,a,g);j=m(f,a,!1,!0);j=j.id;return!s(p,j)?w(C("notloaded",'Module name "'+j+'" has not been loaded yet for context: '+b+(a?"":". Use require([])"))):p[j]}M();i.nextTick(function(){M();l=q(m(null,a));l.skipMap=e.skipMap;l.init(f,c,d,{enabled:!0});D()});return g}e=e||{};V(g,{isBrowser:z,toUrl:function(b){var e,d=b.lastIndexOf("."),g=b.split("/")[0];if(-1!==
27
+ d&&(!("."===g||".."===g)||1<d))e=b.substring(d,b.length),b=b.substring(0,d);return i.nameToUrl(c(b,a&&a.id,!0),e,!0)},defined:function(b){return s(p,m(b,a,!1,!0).id)},specified:function(b){b=m(b,a,!1,!0).id;return s(p,b)||s(k,b)}});a||(g.undef=function(b){x();var c=m(b,a,!0),e=j(k,b);d(b);delete p[b];delete T[c.url];delete aa[b];U(A,function(a,c){a[0]===b&&A.splice(c,1)});e&&(e.events.defined&&(aa[b]=e.events),y(b))});return g},enable:function(a){j(k,a.id)&&q(a).enable()},completeLoad:function(a){var b,
28
+ c,f=j(l.shim,a)||{},d=f.exports;for(x();A.length;){c=A.shift();if(null===c[0]){c[0]=a;if(b)break;b=!0}else c[0]===a&&(b=!0);E(c)}c=j(k,a);if(!b&&!s(p,a)&&c&&!c.inited){if(l.enforceDefine&&(!d||!ea(d)))return g(a)?void 0:w(C("nodefine","No define call for "+a,null,[a]));E([a,f.deps||[],f.exportsFn])}D()},nameToUrl:function(a,b,c){var f,d,g;(f=j(l.pkgs,a))&&(a=f);if(f=j(ba,a))return i.nameToUrl(f,b,c);if(h.jsExtRegExp.test(a))f=a+(b||"");else{f=l.paths;a=a.split("/");for(d=a.length;0<d;d-=1)if(g=a.slice(0,
29
+ d).join("/"),g=j(f,g)){H(g)&&(g=g[0]);a.splice(0,d,g);break}f=a.join("/");f+=b||(/^data\:|\?/.test(f)||c?"":".js");f=("/"===f.charAt(0)||f.match(/^[\w\+\.\-]+:/)?"":l.baseUrl)+f}return l.urlArgs?f+((-1===f.indexOf("?")?"?":"&")+l.urlArgs):f},load:function(a,b){h.load(i,a,b)},execCb:function(a,b,c,d){return b.apply(d,c)},onScriptLoad:function(a){if("load"===a.type||ka.test((a.currentTarget||a.srcElement).readyState))P=null,a=L(a),i.completeLoad(a.id)},onScriptError:function(a){var b=L(a);if(!g(b.id))return w(C("scripterror",
30
+ "Script error for: "+b.id,a,[b.id]))}};i.require=i.makeRequire();return i}var h,x,y,D,L,E,P,M,q,Q,la=/(\/\*([\s\S]*?)\*\/|([^:]|^)\/\/(.*)$)/mg,ma=/[^.]\s*require\s*\(\s*["']([^'"\s]+)["']\s*\)/g,R=/\.js$/,ja=/^\.\//;x=Object.prototype;var N=x.toString,ga=x.hasOwnProperty,ia=Array.prototype.splice,z=!!("undefined"!==typeof window&&"undefined"!==typeof navigator&&window.document),fa=!z&&"undefined"!==typeof importScripts,ka=z&&"PLAYSTATION 3"===navigator.platform?/^complete$/:/^(complete|loaded)$/,
31
+ Z="undefined"!==typeof opera&&"[object Opera]"===opera.toString(),F={},r={},S=[],O=!1;if("undefined"===typeof define){if("undefined"!==typeof requirejs){if(G(requirejs))return;r=requirejs;requirejs=void 0}"undefined"!==typeof require&&!G(require)&&(r=require,require=void 0);h=requirejs=function(b,c,d,g){var u,m="_";!H(b)&&"string"!==typeof b&&(u=b,H(c)?(b=c,c=d,d=g):b=[]);u&&u.context&&(m=u.context);(g=j(F,m))||(g=F[m]=h.s.newContext(m));u&&g.configure(u);return g.require(b,c,d)};h.config=function(b){return h(b)};
32
+ h.nextTick="undefined"!==typeof setTimeout?function(b){setTimeout(b,4)}:function(b){b()};require||(require=h);h.version="2.1.10";h.jsExtRegExp=/^\/|:|\?|\.js$/;h.isBrowser=z;x=h.s={contexts:F,newContext:ha};h({});v(["toUrl","undef","defined","specified"],function(b){h[b]=function(){var c=F._;return c.require[b].apply(c,arguments)}});if(z&&(y=x.head=document.getElementsByTagName("head")[0],D=document.getElementsByTagName("base")[0]))y=x.head=D.parentNode;h.onError=da;h.createNode=function(b){var c=
33
+ b.xhtml?document.createElementNS("http://www.w3.org/1999/xhtml","html:script"):document.createElement("script");c.type=b.scriptType||"text/javascript";c.charset="utf-8";c.async=!0;return c};h.load=function(b,c,d){var g=b&&b.config||{};if(z)return g=h.createNode(g,c,d),g.setAttribute("data-requirecontext",b.contextName),g.setAttribute("data-requiremodule",c),g.attachEvent&&!(g.attachEvent.toString&&0>g.attachEvent.toString().indexOf("[native code"))&&!Z?(O=!0,g.attachEvent("onreadystatechange",b.onScriptLoad)):
34
+ (g.addEventListener("load",b.onScriptLoad,!1),g.addEventListener("error",b.onScriptError,!1)),g.src=d,M=g,D?y.insertBefore(g,D):y.appendChild(g),M=null,g;if(fa)try{importScripts(d),b.completeLoad(c)}catch(j){b.onError(C("importscripts","importScripts failed for "+c+" at "+d,j,[c]))}};z&&!r.skipDataMain&&U(document.getElementsByTagName("script"),function(b){y||(y=b.parentNode);if(L=b.getAttribute("data-main"))return q=L,r.baseUrl||(E=q.split("/"),q=E.pop(),Q=E.length?E.join("/")+"/":"./",r.baseUrl=
35
+ Q),q=q.replace(R,""),h.jsExtRegExp.test(q)&&(q=L),r.deps=r.deps?r.deps.concat(q):[q],!0});define=function(b,c,d){var g,h;"string"!==typeof b&&(d=c,c=b,b=null);H(c)||(d=c,c=null);!c&&G(d)&&(c=[],d.length&&(d.toString().replace(la,"").replace(ma,function(b,d){c.push(d)}),c=(1===d.length?["require"]:["require","exports","module"]).concat(c)));if(O){if(!(g=M))P&&"interactive"===P.readyState||U(document.getElementsByTagName("script"),function(b){if("interactive"===b.readyState)return P=b}),g=P;g&&(b||
36
+ (b=g.getAttribute("data-requiremodule")),h=F[g.getAttribute("data-requirecontext")])}(h?h.defQueue:S).push([b,c,d])};define.amd={jQuery:!0};h.exec=function(b){return eval(b)};h(r)}})(this);
data/lib/j1/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module J1
2
- VERSION = '2022.2.3'
2
+ VERSION = '2022.3.0'
3
3
  end
@@ -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.3'
56
+ gem 'j1-template', '~> 2022.3.0'
57
57
 
58
58
  # ------------------------------------------------------------------------------
59
59
  # PRODUCTION: Gem needed for the Jekyll and J1 prod environment
@@ -53,7 +53,7 @@ environment: development
53
53
  # ------------------------------------------------------------------------------
54
54
  # Sets the build version of J1 Template Gem
55
55
  #
56
- version: 2022.2.3
56
+ version: 2022.3.0
57
57
 
58
58
  # version
59
59
  # ------------------------------------------------------------------------------
@@ -25,34 +25,19 @@ description:
25
25
  #
26
26
  settings:
27
27
 
28
- # ----------------------------------------------------------------------------
29
- # Settings
30
- #
31
- # enabled
32
- # --------------------------------------------------------------------------
33
- # Enables or disables the Analytics services. If disabled, the services
34
- # won't be enabled on any page.
35
- #
36
- # values: [true|false]
37
- # default: false
38
- #
39
- # provider
40
- # --------------------------------------------------------------------------
41
- # Currently, only Google Analytics (google) is available as an provider
42
- # for Analytics services.
43
- #
44
- # values: [google]
45
- # default: google
46
- #
47
- # ----------------------------------------------------------------------------
48
- #
49
- enabled: true
50
28
  provider: google
51
-
52
29
  google:
53
30
  # --------------------------------------------------------------------------
54
31
  # Provider settings
55
32
  #
33
+ # provider
34
+ # --------------------------------------------------------------------------
35
+ # Currently, only Google Analytics (google) is available as an provider
36
+ # for Analytics services.
37
+ #
38
+ # values: [google]
39
+ # default: google
40
+ #
56
41
  # skipAllHosts
57
42
  # ------------------------------------------------------------------------
58
43
  # All hosts skipped for Google Analytics (GA script NOT installed).
@@ -51,8 +51,8 @@ defaults:
51
51
  # ----------------------------------------------------------------------------
52
52
  #
53
53
  enabled: false
54
- provider: google
55
54
 
55
+ provider: google
56
56
  google:
57
57
 
58
58
  # --------------------------------------------------------------------------
@@ -364,20 +364,26 @@ settings:
364
364
  image_path: /assets/videos/gallery
365
365
  thumb_path: /assets/videos/gallery
366
366
  videos: [
367
- "//vimeo.com/175582480",
368
- "//vimeo.com/179528528"
367
+ "//vimeo.com/179528528",
368
+ "//vimeo.com/202117650",
369
+ "//vimeo.com/196000652"
369
370
  ]
370
371
  captions_gallery: [
371
- "Vogue - Adriana Lima",
372
- "Young Fashion - Kick It Old School"
372
+ "Forever 21 - Kick It Old School",
373
+ "Forever 21 - Stay Colorful, Babe!",
374
+ "Forever 21 - NYE Party Shop"
375
+
373
376
  ]
374
377
  captions_lightbox: [
375
- "<p>Adriana Lima on Vimeo</p>",
376
- "<p>Kick It Old School on Vimeo</p>"
378
+ "<p>Kick It Old School on Vimeo</p>",
379
+ "<p>Stay Colorful on Vimeo</p>",
380
+ "<p>NYE Party Shop on Vimeo</p>"
381
+
377
382
  ]
378
383
  poster: [
379
- adriana-lima-poster.jpg,
380
- kick-it-old-school-poster.jpg
384
+ kick-it-old-school-poster.jpg,
385
+ stay-colorful-poster.jpg,
386
+ nye-party-shop-poster.jpg
381
387
  ]
382
388
  gallery_options:
383
389
  rowHeight: 200
@@ -78,7 +78,10 @@
78
78
  - title: Interactive Widgets
79
79
  href: /pages/public/jupyter/textbooks/interactive-widgets/
80
80
  icon: script-text-play-outline
81
- - title: Interactive Evaluation
81
+ - title: Time Tables Visualization
82
+ href: /pages/public/jupyter/textbooks/j1-circular-times-table/
83
+ icon: script-text-play-outline
84
+ - title: ODEs in Python
82
85
  href: /pages/public/jupyter/textbooks/odes-in-python/
83
86
  icon: script-text-play-outline
84
87
  - title: Non-Interactive Notebook
@@ -109,10 +112,10 @@
109
112
  icon: book-open-page-variant
110
113
  dropdown:
111
114
  - title: BinderHub API
112
- href: /pages/public/jupyter/docs/binderhub-api/
115
+ href: /pages/public/jupyter/docs/binderhub/
113
116
  icon: book
114
117
  - title: JupyterHub API
115
- href: /pages/public/jupyter/docs/jupyterlab-api/
118
+ href: /pages/public/jupyter/docs/jupyterhub/
116
119
  icon: book
117
120
 
118
121
  # --------------------------------------------------------------------------
@@ -83,42 +83,6 @@ settings:
83
83
  # Textbooks for testing
84
84
  # --------------------------------------------------------------------------
85
85
 
86
- # --------------------------------------------------------------------------
87
- # altair-base
88
- #
89
- - textbook:
90
- enabled: false
91
-
92
- id: j1_altair_base
93
- xhr_data: j1_altair_visualization.html
94
- xhr_data_path: /pages/public/jupyter/notebooks/textbooks
95
- use_mathjax: false
96
- altair_cleanups: true
97
-
98
- # --------------------------------------------------------------------------
99
- # altair-interactive
100
- #
101
- - textbook:
102
- enabled: false
103
-
104
- id: j1_altair_interactive
105
- xhr_data: j1_altair_interactive.html
106
- xhr_data_path: /pages/public/jupyter/notebooks/textbooks
107
- use_mathjax: false
108
- altair_cleanups: true
109
-
110
- # --------------------------------------------------------------------------
111
- # altair-interactive-test
112
- #
113
- - textbook:
114
- enabled: false
115
-
116
- id: j1_altair_interactive_test
117
- xhr_data: j1_altair_interactive_test.html
118
- xhr_data_path: /pages/public/jupyter/notebooks/textbooks
119
- use_mathjax: false
120
- altair_cleanups: true
121
-
122
86
  # --------------------------------------------------------------------------
123
87
  # climate-change-forecast (static notebook)
124
88
  #
@@ -145,34 +109,34 @@ settings:
145
109
  # odes_in_python
146
110
  #
147
111
  - textbook:
148
- enabled: false
112
+ enabled: true
149
113
 
150
- id: j1_odes_in_python
151
- xhr_data: j1_odes_in_python.html
114
+ id: j1_docs_example_dynamic
115
+ xhr_data: j1_docs_example_dynamic.html
152
116
  xhr_data_path: /pages/public/jupyter/notebooks/textbooks
153
- use_mathjax: false
117
+ use_mathjax: true
154
118
 
155
119
  # --------------------------------------------------------------------------
156
- # ode_selected
120
+ # j1_circular_times_table
157
121
  #
158
122
  - textbook:
159
123
  enabled: true
160
124
 
161
- id: j1_ode_selected
162
- xhr_data: j1_ode_selected.html
125
+ id: j1_circular_times_table
126
+ xhr_data: j1_circular_times_table.html
163
127
  xhr_data_path: /pages/public/jupyter/notebooks/textbooks
164
128
  use_mathjax: false
165
129
 
166
130
  # --------------------------------------------------------------------------
167
- # creating-reading-and-writing
131
+ # odes_in_python
168
132
  #
169
133
  - textbook:
170
- enabled: false
134
+ enabled: true
171
135
 
172
- id: j1_pandas_intro
173
- xhr_data: j1_pandas_creating_reading_and_writing.html
136
+ id: j1_odes_in_python
137
+ xhr_data: j1_odes_in_python.html
174
138
  xhr_data_path: /pages/public/jupyter/notebooks/textbooks
175
- use_mathjax: false
139
+ use_mathjax: true
176
140
 
177
141
 
178
142
  # --------------------------------------------------------------------------
@@ -1660,5 +1660,61 @@ resources:
1660
1660
  js: [ modules/nbInteract/js/nbinteract/nbinteract-core ]
1661
1661
  init_function: [ j1.adapter.nbinteract.init ]
1662
1662
 
1663
+
1664
+ # ----------------------------------------------------------------------------
1665
+ # Plotly Open Source Graphing Library
1666
+ # Interactive charts and maps for Python, R, Julia, Javascript,
1667
+ # ggplot2, F#, MATLAB®, and Dash.
1668
+ # See: https://plotly.com/graphing-libraries/
1669
+ # https://plotly.com/javascript/getting-started/
1670
+ #
1671
+ - name: Plotly
1672
+ resource:
1673
+ enabled: false
1674
+
1675
+ id: plotly
1676
+ comment: Plotly Open Source JS
1677
+ region: head
1678
+ layout: [ all ]
1679
+ required: ondemand
1680
+ preload: false
1681
+ script_load: defer
1682
+ dependencies: false
1683
+ pass_init_data: false
1684
+ data:
1685
+ css: []
1686
+ files: []
1687
+ js: [
1688
+ modules/plotly/js/plotly
1689
+ ]
1690
+ init_function: []
1691
+
1692
+ # ----------------------------------------------------------------------------
1693
+ # RequireJS
1694
+ # RequireJS loads plain JavaScript files as well as more defined modules.
1695
+ # See: https://github.com/requirejs/requirejs
1696
+ # https://plotly.com/javascript/getting-started/
1697
+ #
1698
+ - name: RequireJS
1699
+ resource:
1700
+ enabled: true
1701
+
1702
+ id: require
1703
+ comment: RequireJS
1704
+ region: head
1705
+ layout: [ all ]
1706
+ required: ondemand
1707
+ preload: false
1708
+ script_load: defer
1709
+ dependencies: false
1710
+ pass_init_data: false
1711
+ data:
1712
+ css: []
1713
+ files: []
1714
+ js: [
1715
+ modules/requirejs/js/require
1716
+ ]
1717
+ init_function: []
1718
+
1663
1719
  # ------------------------------------------------------------------------------
1664
1720
  # END config
@@ -120,6 +120,7 @@ tag::urls[]
120
120
  :url-cross-var--gh-repo: https://github.com/elijahmanor/cross-var/
121
121
 
122
122
  :url-dailymotion--home: https://www.dailymotion.com/
123
+ :url-dailymotion--privacy-policy: https://legal.dailymotion.com/en/privacy-policy/
123
124
 
124
125
  :url-datatables--home: https://datatables.net/
125
126
  :url-docker--home: https://getbootstrap.com/
@@ -385,7 +386,9 @@ tag::urls[]
385
386
  :url-vimeo--privacy-policy: https://vimeo.com/privacy
386
387
 
387
388
  :url-vivendi--home: https://www.vivendi.com/en/
389
+
388
390
  :url-vk--home: https://vk.com/
391
+ :url-vk--privacy-policy: https://vk.com/data_protection
389
392
 
390
393
  :url-webpack--home: https://webpack.js.org/
391
394
  :url-webpack--gh-repo: https://github.com/webpack/webpack/
@@ -488,6 +491,14 @@ tag::data[]
488
491
 
489
492
  :data-nbi-textbook--excerpt: "pages/nbinteract/nbi-textbook-example.jpg, NBI textbook (excerpt)"
490
493
 
494
+ :data-nbi-widget--bar: "pages/nbinteract/manual/nbi_bar.jpg, Rendered Barchart"
495
+ :data-nbi-widget--hist: "pages/nbinteract/manual/nbi_hist.jpg, Rendered Histogram"
496
+ :data-nbi-widget--line: "pages/nbinteract/manual/nbi_line.jpg, Rendered Line Chart"
497
+ :data-nbi-widget--multiple-choice: "pages/nbinteract/manual/nbi_multiple_choice.jpg, Rendered Multiple Choice"
498
+ :data-nbi-widget--scatter: "pages/nbinteract/manual/nbi_scatter.jpg, Rendered Scatter"
499
+ :data-nbi-widget--scatter-drag: "pages/nbinteract/manual/nbi_scatter_drag.jpg, Rendered interactive Scatter"
500
+ :data-nbi-widget--short-answer: "pages/nbinteract/manual/nbi_short_answer.jpg, Rendered Short Answer"
501
+
491
502
  :data-lingohub--speakers-by-language: "pages/features/native-speakers-by-language.jpg, Native speakers by language"
492
503
  :data-images--google-lighthouse: "pages/features/google-lighthouse-1080x300.jpg, Google Lighthouse Scores"
493
504
  :data-images--mobile-navigation: "pages/features/mobile-navigation-600x800.jpg, Mobile Web Navigation"
@@ -369,6 +369,6 @@ end
369
369
 
370
370
  module Jekyll
371
371
  module J1LunrSearch
372
- VERSION = '2022.2.3'
372
+ VERSION = '2022.3.0'
373
373
  end
374
374
  end
@@ -7,6 +7,7 @@ tags: [ USA, Minnesota, Cities, Minneapolis ]
7
7
 
8
8
  series: wiki-series
9
9
  image: /assets/images/collections/blog/wikipedia/minneapolis.1200x400.jpg
10
+ fab_menu_id: open_toc_reload
10
11
  regenerate: false
11
12
 
12
13
  resources: [ animate ]
@@ -7,6 +7,7 @@ tags: [ Canada, Cities, Narcisse ]
7
7
 
8
8
  series: wiki-series
9
9
  image: /assets/images/collections/blog/wikipedia/narcise-snake-pits.1200x400.jpg
10
+ fab_menu_id: open_toc_reload
10
11
 
11
12
  regenerate: false
12
13
 
@@ -7,6 +7,7 @@ tags: [ USA, Rivers ]
7
7
 
8
8
  series: wiki-series
9
9
  image: /assets/images/collections/blog/wikipedia/columbia-river.1200x400.jpg
10
+ fab_menu_id: open_toc_reload
10
11
 
11
12
  regenerate: false
12
13
 
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "private": true,
3
3
  "name": "j1",
4
- "version": "2022.2.3",
4
+ "version": "2022.3.0",
5
5
  "description": "J1 Template Starter Web",
6
6
  "homepage": "https://your.site",
7
7
  "author": {
@@ -142,7 +142,6 @@
142
142
  "getos": "^3.2.1",
143
143
  "getos-cli": "^1.0.0",
144
144
  "if-env": "^1.0.4",
145
- "j1-cli": "^2019.0.3",
146
145
  "npm-delay": "^1.0.4",
147
146
  "npm-run-all": "^4.1.5",
148
147
  "open-cli": "^7.0.1",
@@ -38,7 +38,7 @@ personalization: true
38
38
  permalink: /pages/public/jupyter/docs/j1-nbinteract-docs/
39
39
  regenerate: true
40
40
 
41
- resources: [ animate, clipboard, nbinteract, rouge ]
41
+ resources: [ animate, clipboard, lightbox, nbinteract, rouge ]
42
42
  resource_options:
43
43
  - attic:
44
44
  padding_top: 400
@@ -64,7 +64,7 @@ resource_options:
64
64
  :binder-badges-enabled: true
65
65
  :binder--home: https://mybinder.org/
66
66
  :binder--docs: https://mybinder.readthedocs.io/en/latest/
67
- :binder-app-launch--tree: https://mybinder.org/v2/gh/jekyll-one/nbinteract-notebooks/main?urlpath=/tree
67
+ :binder-app-launch--tree: https://mybinder.org/v2/gh/jekyll-one/j1-binder-repo/main?urlpath=/tree
68
68
 
69
69
  // Load Liquid procedures
70
70
  // -----------------------------------------------------------------------------
@@ -190,8 +190,8 @@ not preserve the interactive elements of the notebook. The resulting web
190
190
  page only contains text and images.
191
191
 
192
192
  .NBI textbook (excerpt)
193
- // lightbox::nbi-textbook--excerpt[ 800, {data-nbi-textbook--excerpt}, role="mt-3 mb-4" ]
194
- image::pages/nbinteract/nbi-textbook-example.jpg["NBI textbook (excerpt)", 800]
193
+ lightbox::nbi-textbook--excerpt[ 800, {data-nbi-textbook--excerpt}, role="mt-3 mb-4" ]
194
+ // image::pages/nbinteract/nbi-textbook-example.jpg["NBI textbook (excerpt)", 800]
195
195
 
196
196
  The Python package `nbinteract` allows authors to convert Jupyter notebooks
197
197
  into *interactive*, standalone HTML pages: the textbooks. The interactive
@@ -351,7 +351,7 @@ time being.
351
351
  #
352
352
  defaults:
353
353
 
354
- spec: jekyll-one/nbinteract-notebooks/main
354
+ spec: jekyll-one/j1-binder-repo/main
355
355
  baseUrl: 'https://mybinder.org'
356
356
  provider: gh
357
357
 
@@ -457,7 +457,7 @@ For integrating textbooks (nbinteract HTML notebook) into web pages, the
457
457
  resource of J1 NBI Module is required. The `ID` of the module of the J1 NBI
458
458
  integration is: `nbinteract`.
459
459
 
460
- .Example Frontmatter of a page using Textbooks
460
+ .Example of a Frontmatter for a page using Textbooks
461
461
  [source, yaml, role="noclip"]
462
462
  ----
463
463
  title: J1 NbInteract
@@ -480,10 +480,10 @@ regenerate: true
480
480
 
481
481
  resources: [ nbinteract, rouge ] <2>
482
482
  ----
483
- <1> Binder's services require personalized settings in the *cookies* used.
484
- Difficulties with the rules of privacy should be explicitly pointed out
485
- and responded to in a suitable form if the cookie settings of the
486
- visitor do not allow this.
483
+ <1> Binder's services require *Personalization* accepted in the users
484
+ *cookie* settings. Difficulties with the rules of privacy should be
485
+ explicitly pointed out and responded to in a suitable form if the cookie
486
+ settings of the visitor do not allow this.
487
487
  <2> If highlighting the source code parts is desired in a textbook, the
488
488
  `rouge` module must included as well.
489
489
 
@@ -506,7 +506,7 @@ textbook::j1_docs_example_dynamic[]
506
506
  ----
507
507
 
508
508
 
509
- == NBI Textbook Examples
509
+ == NBI Textbook examples
510
510
 
511
511
  For the J1 template, textbooks are typically integrated as *dynamic* HTML
512
512
  pages. In addition to the dynamic pages, textbooks can also be integrated as
@@ -520,7 +520,7 @@ Jinja templates. The tool allows you to convert an .ipynb notebook file into
520
520
  various *static* formats. For more details, refer to
521
521
  link:{url-nbconvert--doc}[nbconvert - usage, {browser-window--new}].
522
522
 
523
- .Generate a static Textbook
523
+ .Generate a static textbook
524
524
  [source, sh]
525
525
  ----
526
526
  jupyter nbconvert --execute --to html <full_path_to>/<notebook.ipynb>
@@ -530,11 +530,11 @@ Below you find an static HTML output (Textbook) generated via `nbconvert`.
530
530
 
531
531
  include::{documentdir}/j1_docs_example_static.asciidoc[]
532
532
 
533
- === Dynamic Textbook
533
+ === Interactive Textbook
534
534
 
535
- *Dynamic* Textbooks are generated using `nbinteract`:
535
+ *Interactive* Textbooks are generated using `nbinteract`:
536
536
 
537
- .Generate a dynamic Textbook (J1 Version)
537
+ .Generate an interactive textbook
538
538
  [source, sh]
539
539
  ----
540
540
  nbinteract <full_path_to>/<notebook.ipynb> -t plain -s fake/fake
@@ -546,4 +546,4 @@ textbook::j1_docs_example_dynamic[]
546
546
 
547
547
  Compare both textbook versions, dynamic versus static, in terms of
548
548
  *interactivity*. Again, compare the _Evaluation_ section at section
549
- <<Dynamic Textbook>> with the static conterpart at <<Static Textbook>>.
549
+ <<Interactive Textbook>> with the static conterpart at <<Static Textbook>>.