j1-template 2022.5.0.rc1 → 2022.5.0.rc4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (378) hide show
  1. checksums.yaml +4 -4
  2. data/assets/data/banner.html +24 -1
  3. data/assets/themes/j1/adapter/js/masterslider.js +22 -5
  4. data/assets/themes/j1/core/css/themes/unolight/bootstrap.css +56 -0
  5. data/assets/themes/j1/core/css/themes/unolight/bootstrap.min.css +1 -1
  6. data/lib/j1/version.rb +1 -1
  7. data/lib/starter_web/Gemfile +270 -270
  8. data/lib/starter_web/_config.yml +19 -9
  9. data/lib/starter_web/_data/blocks/banner.yml +17 -0
  10. data/lib/starter_web/_data/modules/defaults/masterslider.yml +1 -1
  11. data/lib/starter_web/_data/modules/justifiedGallery.yml +82 -0
  12. data/lib/starter_web/_data/modules/masterslider.yml +5 -9
  13. data/lib/starter_web/_data/modules/navigator_menu.yml +208 -168
  14. data/lib/starter_web/_includes/attributes.asciidoc +18 -14
  15. data/lib/starter_web/_includes/tables/template_variables.asciidoc +1 -1
  16. data/lib/starter_web/_plugins/asciidoctor-extensions/lightbox-block.rb +4 -4
  17. data/lib/starter_web/assets/images/pages/features/blog-post-navigator-1280x1000.jpg +0 -0
  18. data/lib/starter_web/assets/images/pages/features/bootswatch-themes-1280x800.png +0 -0
  19. data/lib/starter_web/assets/images/pages/features/clipboard-1280x600.jpg +0 -0
  20. data/lib/starter_web/assets/images/pages/features/comments-1280x600.jpg +0 -0
  21. data/lib/starter_web/assets/images/pages/features/cookie-consent-1280x800.jpg +0 -0
  22. data/lib/starter_web/assets/images/pages/features/desktop-web-navigation-1280x1000.jpg +0 -0
  23. data/lib/starter_web/assets/images/pages/features/example-content-1280x800.jpg +0 -0
  24. data/lib/starter_web/assets/images/pages/features/example-content-present-videos-1280x800.jpg +0 -0
  25. data/lib/starter_web/assets/images/pages/features/fab-1280x500.jpg +0 -0
  26. data/lib/starter_web/assets/images/pages/features/full-text-search-1280x800.jpg +0 -0
  27. data/lib/starter_web/assets/images/pages/features/global-mobile-traffic-1920x1080.png +0 -0
  28. data/lib/starter_web/assets/images/pages/features/google-lighthouse-1080x300.png +0 -0
  29. data/lib/starter_web/assets/images/pages/features/intro-panel-1280x800.jpg +0 -0
  30. data/lib/starter_web/assets/images/pages/features/master-header-1280x600.jpg +0 -0
  31. data/lib/starter_web/assets/images/pages/features/mobile-navigation-600x800.png +0 -0
  32. data/lib/starter_web/assets/images/pages/features/native-speakers-by-language.png +0 -0
  33. data/lib/starter_web/assets/images/pages/features/nav-module-1280x300.jpg +0 -0
  34. data/lib/starter_web/assets/images/pages/features/nbi-barchart-1280x800.jpg +0 -0
  35. data/lib/starter_web/assets/images/pages/features/teaser-banner-1280x600.jpg +0 -0
  36. data/lib/starter_web/assets/images/pages/features/translator-1280x800.jpg +0 -0
  37. data/lib/starter_web/assets/images/sticker/600x600/sticker-new-version.png +0 -0
  38. data/lib/starter_web/assets/images/sticker/scalable/readme +0 -0
  39. data/lib/starter_web/package.json +6 -6
  40. data/lib/starter_web/pages/public/_jupyter/docs/_includes/attributes.asciidoc +67 -0
  41. data/lib/starter_web/pages/public/_jupyter/docs/_includes/documents/j1_docs_example_static.asciidoc +232 -0
  42. data/lib/starter_web/pages/public/_jupyter/docs/binderhub.adoc +631 -0
  43. data/lib/starter_web/pages/public/_jupyter/docs/j1-nbinteract.adoc +638 -0
  44. data/lib/starter_web/pages/public/_jupyter/docs/jupyterhub.adoc +248 -0
  45. data/lib/starter_web/pages/public/_jupyter/docs/nbinteract-widget-manual.adoc +928 -0
  46. data/lib/starter_web/pages/public/_jupyter/examples/distributed/j1-circular-times-table.adoc +139 -0
  47. data/lib/starter_web/pages/public/_jupyter/examples/distributed/j1-common-used-widgets.adoc +229 -0
  48. data/lib/starter_web/pages/public/_jupyter/examples/distributed/j1-odes-in-python.adoc +112 -0
  49. data/lib/starter_web/pages/public/_jupyter/examples/localized/j1-altair/j1-altair-visualisations.adoc +142 -0
  50. data/lib/starter_web/pages/public/_jupyter/examples/localized/j1-bokeh/j1-bokeh-visualisations.adoc +171 -0
  51. data/lib/starter_web/pages/public/_jupyter/examples/localized/j1-bokeh/j1-bqplot-eamples.adoc +111 -0
  52. data/lib/starter_web/pages/public/_jupyter/examples/localized/j1-plotly/j1-plotly-visualisations.adoc +94 -0
  53. data/lib/starter_web/pages/public/_jupyter/examples/localized/j1_climate-change-forecast.adoc +106 -0
  54. data/lib/starter_web/pages/public/_jupyter/notebooks/j1/.ipynb_checkpoints/j1_altair_interactive-checkpoint.ipynb +16260 -0
  55. data/lib/starter_web/pages/public/_jupyter/notebooks/j1/.ipynb_checkpoints/j1_bgplot_line_plot-checkpoint.ipynb +247 -0
  56. data/lib/starter_web/pages/public/_jupyter/notebooks/j1/.ipynb_checkpoints/j1_circular_times_table-Copy1-checkpoint.ipynb +12382 -0
  57. data/lib/starter_web/pages/public/_jupyter/notebooks/j1/.ipynb_checkpoints/j1_circular_times_table-checkpoint.ipynb +12387 -0
  58. data/lib/starter_web/pages/public/_jupyter/notebooks/j1/.ipynb_checkpoints/j1_circular_times_table-short-checkpoint.ipynb +12170 -0
  59. data/lib/starter_web/pages/public/_jupyter/notebooks/j1/.ipynb_checkpoints/j1_climate_change_forecast-checkpoint.ipynb +1058 -0
  60. data/lib/starter_web/pages/public/_jupyter/notebooks/j1/.ipynb_checkpoints/j1_docs_example_dynamic-checkpoint.ipynb +14478 -0
  61. data/lib/starter_web/pages/public/_jupyter/notebooks/j1/.ipynb_checkpoints/j1_interactive_widgets-Copy1-checkpoint.ipynb +379 -0
  62. data/lib/starter_web/pages/public/_jupyter/notebooks/j1/.ipynb_checkpoints/j1_interactive_widgets-checkpoint.ipynb +442 -0
  63. data/lib/starter_web/pages/public/_jupyter/notebooks/j1/.ipynb_checkpoints/j1_nbi_widgets-checkpoint.ipynb +523 -0
  64. data/lib/starter_web/pages/public/_jupyter/notebooks/j1/.ipynb_checkpoints/j1_nbi_widgets.line_charts-checkpoint.ipynb +84 -0
  65. data/lib/starter_web/pages/public/_jupyter/notebooks/j1/.ipynb_checkpoints/j1_nbi_widgets.questions-checkpoint.ipynb +194 -0
  66. data/lib/starter_web/pages/public/_jupyter/notebooks/j1/.ipynb_checkpoints/j1_nbi_widgets_bar_chart-checkpoint.ipynb +89 -0
  67. data/lib/starter_web/pages/public/_jupyter/notebooks/j1/.ipynb_checkpoints/j1_nbi_widgets_bar_charts-Copy1-checkpoint.ipynb +164 -0
  68. data/lib/starter_web/pages/public/_jupyter/notebooks/j1/.ipynb_checkpoints/j1_nbi_widgets_bar_charts-checkpoint.ipynb +173 -0
  69. data/lib/starter_web/pages/public/_jupyter/notebooks/j1/.ipynb_checkpoints/j1_nbi_widgets_bar_charts.1-checkpoint.ipynb +256 -0
  70. data/lib/starter_web/pages/public/_jupyter/notebooks/j1/.ipynb_checkpoints/j1_nbi_widgets_barcharts-checkpoint.ipynb +126 -0
  71. data/lib/starter_web/pages/public/_jupyter/notebooks/j1/.ipynb_checkpoints/j1_nbi_widgets_hist_chart-checkpoint.ipynb +87 -0
  72. data/lib/starter_web/pages/public/_jupyter/notebooks/j1/.ipynb_checkpoints/j1_nbi_widgets_line_chart-checkpoint.ipynb +90 -0
  73. data/lib/starter_web/pages/public/_jupyter/notebooks/j1/.ipynb_checkpoints/j1_nbi_widgets_line_charts-checkpoint.ipynb +87 -0
  74. data/lib/starter_web/pages/public/_jupyter/notebooks/j1/.ipynb_checkpoints/j1_nbi_widgets_question_multiple_choice-checkpoint.ipynb +64 -0
  75. data/lib/starter_web/pages/public/_jupyter/notebooks/j1/.ipynb_checkpoints/j1_nbi_widgets_question_short_answer-checkpoint.ipynb +122 -0
  76. data/lib/starter_web/pages/public/_jupyter/notebooks/j1/.ipynb_checkpoints/j1_nbi_widgets_questions-checkpoint.ipynb +181 -0
  77. data/lib/starter_web/pages/public/_jupyter/notebooks/j1/.ipynb_checkpoints/j1_nbi_widgets_scatter_chart-checkpoint.ipynb +89 -0
  78. data/lib/starter_web/pages/public/_jupyter/notebooks/j1/.ipynb_checkpoints/j1_nbi_widgets_scatter_charts-checkpoint.ipynb +175 -0
  79. data/lib/starter_web/pages/public/_jupyter/notebooks/j1/.ipynb_checkpoints/j1_nbi_widgets_scatter_drag_chart-checkpoint.ipynb +87 -0
  80. data/lib/starter_web/pages/public/_jupyter/notebooks/j1/.ipynb_checkpoints/j1_ode_selected-checkpoint.ipynb +14478 -0
  81. data/lib/starter_web/pages/public/_jupyter/notebooks/j1/.ipynb_checkpoints/j1_odes_in_python-checkpoint.ipynb +15227 -0
  82. data/lib/starter_web/pages/public/_jupyter/notebooks/j1/factor_by_factor.mp4 +0 -0
  83. data/lib/starter_web/pages/public/_jupyter/notebooks/j1/j1_circular_times_table.ipynb +12382 -0
  84. data/lib/starter_web/pages/public/_jupyter/notebooks/j1/j1_climate_change_forecast.ipynb +1058 -0
  85. data/lib/starter_web/pages/public/_jupyter/notebooks/j1/j1_docs_example_dynamic.ipynb +14478 -0
  86. data/lib/starter_web/pages/public/_jupyter/notebooks/j1/j1_interactive_widgets.ipynb +442 -0
  87. data/lib/starter_web/pages/public/_jupyter/notebooks/j1/j1_nbi_widgets.ipynb +523 -0
  88. data/lib/starter_web/pages/public/_jupyter/notebooks/j1/j1_nbi_widgets_bar_chart.ipynb +89 -0
  89. data/lib/starter_web/pages/public/_jupyter/notebooks/j1/j1_nbi_widgets_hist_chart.ipynb +87 -0
  90. data/lib/starter_web/pages/public/_jupyter/notebooks/j1/j1_nbi_widgets_line_chart.ipynb +90 -0
  91. data/lib/starter_web/pages/public/_jupyter/notebooks/j1/j1_nbi_widgets_question_multiple_choice.ipynb +64 -0
  92. data/lib/starter_web/pages/public/_jupyter/notebooks/j1/j1_nbi_widgets_question_short_answer.ipynb +122 -0
  93. data/lib/starter_web/pages/public/_jupyter/notebooks/j1/j1_nbi_widgets_scatter_chart.ipynb +89 -0
  94. data/lib/starter_web/pages/public/_jupyter/notebooks/j1/j1_nbi_widgets_scatter_drag_chart.ipynb +87 -0
  95. data/lib/starter_web/pages/public/_jupyter/notebooks/j1/j1_odes_in_python.ipynb +15227 -0
  96. data/lib/starter_web/pages/public/_jupyter/notebooks/j1/line_by_line.mp4 +0 -0
  97. data/lib/starter_web/pages/public/_jupyter/notebooks/j1/point_by_point.mp4 +0 -0
  98. data/lib/starter_web/pages/public/_jupyter/notebooks/j1-altair-tutorial/.ipynb_checkpoints/j1_altair_interactive-checkpoint.ipynb +16296 -0
  99. data/lib/starter_web/pages/public/_jupyter/notebooks/j1-altair-tutorial/.ipynb_checkpoints/j1_altair_non_interactive-checkpoint.ipynb +15385 -0
  100. data/lib/starter_web/pages/public/_jupyter/notebooks/j1-altair-tutorial/j1_altair_interactive.ipynb +16296 -0
  101. data/lib/starter_web/pages/public/_jupyter/notebooks/j1-altair-tutorial/j1_altair_non_interactive.ipynb +15385 -0
  102. data/lib/starter_web/pages/public/_jupyter/notebooks/j1-bokeh-tutorial/.ipynb_checkpoints/00 - Introduction and Setup-checkpoint.ipynb +717 -0
  103. data/lib/starter_web/pages/public/_jupyter/notebooks/j1-bokeh-tutorial/.ipynb_checkpoints/01 - Basic Plotting-checkpoint.ipynb +1381 -0
  104. data/lib/starter_web/pages/public/_jupyter/notebooks/j1-bokeh-tutorial/.ipynb_checkpoints/02 - Styling and Theming-checkpoint.ipynb +1440 -0
  105. data/lib/starter_web/pages/public/_jupyter/notebooks/j1-bokeh-tutorial/.ipynb_checkpoints/03 - Data Sources and Transformations-checkpoint.ipynb +927 -0
  106. data/lib/starter_web/pages/public/_jupyter/notebooks/j1-bokeh-tutorial/.ipynb_checkpoints/04 - Adding Annotations-checkpoint.ipynb +1105 -0
  107. data/lib/starter_web/pages/public/_jupyter/notebooks/j1-bokeh-tutorial/.ipynb_checkpoints/05 - Presentation Layouts-checkpoint.ipynb +578 -0
  108. data/lib/starter_web/pages/public/_jupyter/notebooks/j1-bokeh-tutorial/.ipynb_checkpoints/06 - Linking and Interactions-checkpoint.ipynb +1196 -0
  109. data/lib/starter_web/pages/public/_jupyter/notebooks/j1-bokeh-tutorial/.ipynb_checkpoints/07 - Bar and Categorical Data Plots-checkpoint.ipynb +1681 -0
  110. data/lib/starter_web/pages/public/_jupyter/notebooks/j1-bokeh-tutorial/.ipynb_checkpoints/08 - Graph and Network Plots-checkpoint.ipynb +680 -0
  111. data/lib/starter_web/pages/public/_jupyter/notebooks/j1-bokeh-tutorial/.ipynb_checkpoints/09 - Geographic Plots-checkpoint.ipynb +693 -0
  112. data/lib/starter_web/pages/public/_jupyter/notebooks/j1-bokeh-tutorial/.ipynb_checkpoints/10 - Exporting and Embedding-checkpoint.ipynb +751 -0
  113. data/lib/starter_web/pages/public/_jupyter/notebooks/j1-bokeh-tutorial/.ipynb_checkpoints/11 - Running Bokeh Applications-checkpoint.ipynb +770 -0
  114. data/lib/starter_web/pages/public/_jupyter/notebooks/j1-bokeh-tutorial/.ipynb_checkpoints/bokeh_tut_00_introduction_and_setup-checkpoint.ipynb +666 -0
  115. data/lib/starter_web/pages/public/_jupyter/notebooks/j1-bokeh-tutorial/.ipynb_checkpoints/j1_bokeh_01_basic_plotting-checkpoint.ipynb +1365 -0
  116. data/lib/starter_web/pages/public/_jupyter/notebooks/j1-bokeh-tutorial/.ipynb_checkpoints/j1_bokeh_02_styling_and_theming-checkpoint.ipynb +1405 -0
  117. data/lib/starter_web/pages/public/_jupyter/notebooks/j1-bokeh-tutorial/.ipynb_checkpoints/j1_bokeh_03_data_sources_and_transformations-checkpoint.ipynb +856 -0
  118. data/lib/starter_web/pages/public/_jupyter/notebooks/j1-bokeh-tutorial/.ipynb_checkpoints/j1_bokeh_04_adding_annotations-checkpoint.ipynb +1167 -0
  119. data/lib/starter_web/pages/public/_jupyter/notebooks/j1-bokeh-tutorial/.ipynb_checkpoints/j1_bokeh_05_presentation_layouts-checkpoint.ipynb +601 -0
  120. data/lib/starter_web/pages/public/_jupyter/notebooks/j1-bokeh-tutorial/.ipynb_checkpoints/j1_bokeh_06_linking_and_interactions-checkpoint.ipynb +1356 -0
  121. data/lib/starter_web/pages/public/_jupyter/notebooks/j1-bokeh-tutorial/.ipynb_checkpoints/j1_bokeh_07_bar_and_categorical_data_plots-checkpoint.ipynb +1742 -0
  122. data/lib/starter_web/pages/public/_jupyter/notebooks/j1-bokeh-tutorial/.ipynb_checkpoints/j1_bokeh_08_graph_and_network_plots-checkpoint.ipynb +625 -0
  123. data/lib/starter_web/pages/public/_jupyter/notebooks/j1-bokeh-tutorial/.ipynb_checkpoints/j1_bokeh_09_geographic_plots-checkpoint.ipynb +685 -0
  124. data/lib/starter_web/pages/public/_jupyter/notebooks/j1-bokeh-tutorial/.ipynb_checkpoints/j1_bokeh_10_exporting_and_embedding-checkpoint.ipynb +726 -0
  125. data/lib/starter_web/pages/public/_jupyter/notebooks/j1-bokeh-tutorial/.ipynb_checkpoints/j1_bokeh_10_exporting_and_embedding-checkpoint.org +726 -0
  126. data/lib/starter_web/pages/public/_jupyter/notebooks/j1-bokeh-tutorial/.ipynb_checkpoints/j1_bokeh_10_exporting_and_embedding.new-checkpoint.ipynb +560 -0
  127. data/lib/starter_web/pages/public/_jupyter/notebooks/j1-bokeh-tutorial/.ipynb_checkpoints/j1_bokeh_11_running_bokeh_applications-checkpoint.ipynb +716 -0
  128. data/lib/starter_web/pages/public/_jupyter/notebooks/j1-bokeh-tutorial/j1_bokeh_01_basic_plotting.ipynb +1365 -0
  129. data/lib/starter_web/pages/public/_jupyter/notebooks/j1-bokeh-tutorial/j1_bokeh_02_styling_and_theming.ipynb +1405 -0
  130. data/lib/starter_web/pages/public/_jupyter/notebooks/j1-bokeh-tutorial/j1_bokeh_03_data_sources_and_transformations.ipynb +856 -0
  131. data/lib/starter_web/pages/public/_jupyter/notebooks/j1-bokeh-tutorial/j1_bokeh_04_adding_annotations.ipynb +1167 -0
  132. data/lib/starter_web/pages/public/_jupyter/notebooks/j1-bokeh-tutorial/j1_bokeh_05_presentation_layouts.ipynb +601 -0
  133. data/lib/starter_web/pages/public/_jupyter/notebooks/j1-bokeh-tutorial/j1_bokeh_06_linking_and_interactions.ipynb +1356 -0
  134. data/lib/starter_web/pages/public/_jupyter/notebooks/j1-bokeh-tutorial/j1_bokeh_07_bar_and_categorical_data_plots.ipynb +1742 -0
  135. data/lib/starter_web/pages/public/_jupyter/notebooks/j1-bokeh-tutorial/j1_bokeh_08_graph_and_network_plots.ipynb +625 -0
  136. data/lib/starter_web/pages/public/_jupyter/notebooks/j1-bokeh-tutorial/j1_bokeh_09_geographic_plots.ipynb +685 -0
  137. data/lib/starter_web/pages/public/_jupyter/notebooks/j1-bqplot/.ipynb_checkpoints/j1_mathplot_vs_bqplot-checkpoint.ipynb +336 -0
  138. data/lib/starter_web/pages/public/_jupyter/notebooks/j1-bqplot/advanced/Feature_Vector_Distribution-Iris-Digits.ipynb +433 -0
  139. data/lib/starter_web/pages/public/_jupyter/notebooks/j1-bqplot/j1_bgplot_line_plot.ipynb +244 -0
  140. data/lib/starter_web/pages/public/_jupyter/notebooks/j1-bqplot/j1_circular_times_table-short.ipynb +12170 -0
  141. data/lib/starter_web/pages/public/_jupyter/notebooks/j1-bqplot/j1_mathplot_vs_bqplot.ipynb +336 -0
  142. data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/.ipynb_checkpoints/Index-checkpoint.ipynb +163 -0
  143. data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/.ipynb_checkpoints/Tutorials-checkpoint.ipynb +51 -0
  144. data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Advanced Plotting/Advanced Plotting.ipynb +289 -0
  145. data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Advanced Plotting/Animations.ipynb +266 -0
  146. data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Advanced Plotting/Axis Properties.ipynb +396 -0
  147. data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Advanced Plotting/Plotting Dates.ipynb +318 -0
  148. data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Applications/Equity Index Performance/Time Series.ipynb +158 -0
  149. data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Applications/Equity Index Performance/spx_prices.csv +6799 -0
  150. data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Applications/Feature_Vector_Distribution-Iris-Digits.ipynb +470 -0
  151. data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Applications/Index.ipynb +49 -0
  152. data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Applications/Logs Analytics/Logs Dashboard.ipynb +378 -0
  153. data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Applications/Mobile Patent Suits.ipynb +123 -0
  154. data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Applications/Neural Network.ipynb +177 -0
  155. data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Applications/Outlier Detection.ipynb +311 -0
  156. data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Applications/Wealth Of Nations/Bubble Chart.ipynb +255 -0
  157. data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Applications/Wealth Of Nations/Choropleth.ipynb +275 -0
  158. data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Applications/Wealth Of Nations/nations.json +1 -0
  159. data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Applications/Wealth Of Nations/world_map_codes.csv +234 -0
  160. data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Basic Plotting/.ipynb_checkpoints/Basic Plotting-checkpoint.ipynb +186 -0
  161. data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Basic Plotting/.ipynb_checkpoints/Pyplot-checkpoint.ipynb +794 -0
  162. data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Basic Plotting/.ipynb_checkpoints/Untitled-checkpoint.ipynb +323 -0
  163. data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Basic Plotting/Basic Plotting.ipynb +261 -0
  164. data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Basic Plotting/Pyplot.ipynb +1489 -0
  165. data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Index.ipynb +163 -0
  166. data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Interactions/Interaction Layer.ipynb +966 -0
  167. data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Interactions/Mark Interactions.ipynb +476 -0
  168. data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Interactions/Selectors.ipynb +427 -0
  169. data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Introduction.ipynb +528 -0
  170. data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Marks/Object Model/Bars.ipynb +480 -0
  171. data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Marks/Object Model/Bins.ipynb +217 -0
  172. data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Marks/Object Model/Boxplot.ipynb +253 -0
  173. data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Marks/Object Model/Candles.ipynb +225 -0
  174. data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Marks/Object Model/FlexLine.ipynb +123 -0
  175. data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Marks/Object Model/Graph.ipynb +357 -0
  176. data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Marks/Object Model/GridHeatMap.ipynb +422 -0
  177. data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Marks/Object Model/HeatMap.ipynb +157 -0
  178. data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Marks/Object Model/Hist.ipynb +176 -0
  179. data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Marks/Object Model/Image.ipynb +195 -0
  180. data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Marks/Object Model/Label.ipynb +189 -0
  181. data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Marks/Object Model/Lines.ipynb +565 -0
  182. data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Marks/Object Model/Map.ipynb +182 -0
  183. data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Marks/Object Model/Market Map.ipynb +315 -0
  184. data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Marks/Object Model/Pie.ipynb +465 -0
  185. data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Marks/Object Model/Scatter.ipynb +835 -0
  186. data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Marks/Pyplot/Bars.ipynb +362 -0
  187. data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Marks/Pyplot/Bins.ipynb +252 -0
  188. data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Marks/Pyplot/Boxplot.ipynb +273 -0
  189. data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Marks/Pyplot/Candles.ipynb +242 -0
  190. data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Marks/Pyplot/GridHeatMap.ipynb +417 -0
  191. data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Marks/Pyplot/HeatMap.ipynb +155 -0
  192. data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Marks/Pyplot/Hist.ipynb +238 -0
  193. data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Marks/Pyplot/Image.ipynb +152 -0
  194. data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Marks/Pyplot/Label.ipynb +206 -0
  195. data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Marks/Pyplot/Lines.ipynb +474 -0
  196. data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Marks/Pyplot/Map.ipynb +181 -0
  197. data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Marks/Pyplot/Pie.ipynb +310 -0
  198. data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Marks/Pyplot/Scatter.ipynb +702 -0
  199. data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Scales/Color Scales.ipynb +495 -0
  200. data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Tutorials/.ipynb_checkpoints/Feature_Vector_Distribution-Iris-Digits-checkpoint.ipynb +433 -0
  201. data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Tutorials/.ipynb_checkpoints/Linking Plots With Widgets-checkpoint.ipynb +326 -0
  202. data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Tutorials/.ipynb_checkpoints/Updating Plots-Copy1-checkpoint.ipynb +177 -0
  203. data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Tutorials/.ipynb_checkpoints/Updating Plots-checkpoint.ipynb +177 -0
  204. data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Tutorials/Brush Interval Selector.ipynb +154 -0
  205. data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Tutorials/Fast Interval Selector.ipynb +152 -0
  206. data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Tutorials/Gaussian Density Widget.ipynb +128 -0
  207. data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Tutorials/Gaussian Density.ipynb +113 -0
  208. data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Tutorials/Linking Plots With Widgets.ipynb +326 -0
  209. data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Tutorials/Object Model.ipynb +179 -0
  210. data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Tutorials/Pyplot.ipynb +174 -0
  211. data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Tutorials/Updating Plots.ipynb +177 -0
  212. data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/Tutorials.ipynb +51 -0
  213. data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/data_files/country_codes.csv +213 -0
  214. data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/data_files/gdp_per_capita.csv +56 -0
  215. data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/data_files/state_codes.csv +52 -0
  216. data/lib/starter_web/pages/public/_jupyter/notebooks/martin_renou_bqplot/data_files/trees.jpg +0 -0
  217. data/lib/starter_web/pages/public/_jupyter/notebooks/nbi-docs/.ipynb_checkpoints/nbi_docs_examples_central_limit_theorem-checkpoint.ipynb +247 -0
  218. data/lib/starter_web/pages/public/_jupyter/notebooks/nbi-docs/.ipynb_checkpoints/nbi_docs_examples_variability_of_the_sample_mean-checkpoint.ipynb +323 -0
  219. data/lib/starter_web/pages/public/_jupyter/notebooks/nbi-docs/.ipynb_checkpoints/nbi_docs_recipes_graphing-checkpoint.ipynb +387 -0
  220. data/lib/starter_web/pages/public/_jupyter/notebooks/nbi-docs/.ipynb_checkpoints/nbi_docs_recipes_interactive_questions-checkpoint.ipynb +185 -0
  221. data/lib/starter_web/pages/public/_jupyter/notebooks/nbi-docs/.ipynb_checkpoints/nbi_docs_recipes_layout-checkpoint.ipynb +384 -0
  222. data/lib/starter_web/pages/public/_jupyter/notebooks/nbi-docs/.ipynb_checkpoints/nbi_docs_tutorial_interact-checkpoint.ipynb +254 -0
  223. data/lib/starter_web/pages/public/_jupyter/notebooks/nbi-docs/.ipynb_checkpoints/nbi_docs_tutorial_monty_hall-checkpoint.ipynb +732 -0
  224. data/lib/starter_web/pages/public/_jupyter/notebooks/nbi-docs/nbi_docs_examples_central_limit_theorem.ipynb +247 -0
  225. data/lib/starter_web/pages/public/_jupyter/notebooks/nbi-docs/nbi_docs_examples_correlation.ipynb +651 -0
  226. data/lib/starter_web/pages/public/_jupyter/notebooks/nbi-docs/nbi_docs_examples_empirical_distributions.ipynb +773 -0
  227. data/lib/starter_web/pages/public/_jupyter/notebooks/nbi-docs/nbi_docs_examples_linear_regression.ipynb +111 -0
  228. data/lib/starter_web/pages/public/_jupyter/notebooks/nbi-docs/nbi_docs_examples_probability_distribution_plots.ipynb +199 -0
  229. data/lib/starter_web/pages/public/_jupyter/notebooks/nbi-docs/nbi_docs_examples_sampling_from_a_population.ipynb +421 -0
  230. data/lib/starter_web/pages/public/_jupyter/notebooks/nbi-docs/nbi_docs_examples_variability_of_the_sample_mean.ipynb +323 -0
  231. data/lib/starter_web/pages/public/_jupyter/notebooks/nbi-docs/nbi_docs_recipes_graphing.ipynb +387 -0
  232. data/lib/starter_web/pages/public/_jupyter/notebooks/nbi-docs/nbi_docs_recipes_interactive_questions.ipynb +185 -0
  233. data/lib/starter_web/pages/public/_jupyter/notebooks/nbi-docs/nbi_docs_recipes_layout.ipynb +384 -0
  234. data/lib/starter_web/pages/public/_jupyter/notebooks/nbi-docs/nbi_docs_tutorial_interact.ipynb +254 -0
  235. data/lib/starter_web/pages/public/_jupyter/notebooks/nbi-docs/nbi_docs_tutorial_monty_hall.ipynb +732 -0
  236. data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/Advanced Plotting.html +373 -0
  237. data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/Animations.html +361 -0
  238. data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/Axis Properties.html +569 -0
  239. data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/Bars.html +487 -0
  240. data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/Basic Plotting.html +341 -0
  241. data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/Bins.html +259 -0
  242. data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/Boxplot.html +277 -0
  243. data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/Brush Interval Selector.html +182 -0
  244. data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/Bubble Chart.html +299 -0
  245. data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/Candles.html +252 -0
  246. data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/Choropleth.html +318 -0
  247. data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/Color Scales.html +514 -0
  248. data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/Fast Interval Selector.html +182 -0
  249. data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/Feature_Vector_Distribution-Iris-Digits.html +479 -0
  250. data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/FlexLine.html +128 -0
  251. data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/Gaussian Density Widget.html +152 -0
  252. data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/Gaussian Density.html +137 -0
  253. data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/Graph.html +484 -0
  254. data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/GridHeatMap.html +483 -0
  255. data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/HeatMap.html +170 -0
  256. data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/Hist.html +349 -0
  257. data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/Image.html +177 -0
  258. data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/Index.html +29 -0
  259. data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/Interaction Layer.html +1372 -0
  260. data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/Introduction.html +749 -0
  261. data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/Label.html +268 -0
  262. data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/Lines.html +704 -0
  263. data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/Linking Plots With Widgets.html +389 -0
  264. data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/Logs Dashboard.html +455 -0
  265. data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/Map.html +229 -0
  266. data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/Mark Interactions.html +613 -0
  267. data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/Market Map.html +413 -0
  268. data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/Mobile Patent Suits.html +131 -0
  269. data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/Neural Network.html +190 -0
  270. data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/Object Model.html +193 -0
  271. data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/Outlier Detection.html +363 -0
  272. data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/Pie.html +367 -0
  273. data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/Plotting Dates.html +337 -0
  274. data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/Pyplot.html +196 -0
  275. data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/Scatter.html +948 -0
  276. data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/Selectors.html +489 -0
  277. data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/Time Series.html +173 -0
  278. data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/Tutorials.html +40 -0
  279. data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/Updating Plots.html +228 -0
  280. data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/j1_altair_interactive.html +2216 -0
  281. data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/j1_altair_non_interactive.html +1170 -0
  282. data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/j1_bgplot_line_plot.html +318 -0
  283. data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/j1_bokeh_01_basic_plotting.html +1479 -0
  284. data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/j1_bokeh_02_styling_and_theming.html +1524 -0
  285. data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/j1_bokeh_03_data_sources_and_transformations.html +983 -0
  286. data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/j1_bokeh_04_adding_annotations.html +1280 -0
  287. data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/j1_bokeh_05_presentation_layouts.html +660 -0
  288. data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/j1_bokeh_06_linking_and_interactions.html +1563 -0
  289. data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/j1_bokeh_07_bar_and_categorical_data_plots.html +1888 -0
  290. data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/j1_bokeh_08_graph_and_network_plots.html +689 -0
  291. data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/j1_bokeh_09_geographic_plots.html +767 -0
  292. data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/j1_circular_times_table-short.html +475 -0
  293. data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/j1_circular_times_table.html +747 -0
  294. data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/j1_climate_change_forecast.html +1250 -0
  295. data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/j1_docs_example_dynamic.html +186 -0
  296. data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/j1_interactive_widgets.html +512 -0
  297. data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/j1_mathplot_vs_bqplot.html +407 -0
  298. data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/j1_nbi_widgets.html +629 -0
  299. data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/j1_nbi_widgets_bar_chart.html +95 -0
  300. data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/j1_nbi_widgets_hist_chart.html +93 -0
  301. data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/j1_nbi_widgets_line_chart.html +96 -0
  302. data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/j1_nbi_widgets_question_multiple_choice.html +70 -0
  303. data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/j1_nbi_widgets_question_short_answer.html +156 -0
  304. data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/j1_nbi_widgets_scatter_chart.html +95 -0
  305. data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/j1_nbi_widgets_scatter_drag_chart.html +93 -0
  306. data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/j1_odes_in_python.html +955 -0
  307. data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/nbi_docs_examples_central_limit_theorem.html +290 -0
  308. data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/nbi_docs_examples_correlation.html +818 -0
  309. data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/nbi_docs_examples_empirical_distributions.html +351 -0
  310. data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/nbi_docs_examples_linear_regression.html +106 -0
  311. data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/nbi_docs_examples_probability_distribution_plots.html +228 -0
  312. data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/nbi_docs_examples_sampling_from_a_population.html +518 -0
  313. data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/nbi_docs_examples_variability_of_the_sample_mean.html +372 -0
  314. data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/nbi_docs_recipes_graphing.html +473 -0
  315. data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/nbi_docs_recipes_interactive_questions.html +242 -0
  316. data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/nbi_docs_recipes_layout.html +496 -0
  317. data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/nbi_docs_tutorial_interact.html +329 -0
  318. data/lib/starter_web/pages/public/_jupyter/notebooks/textbooks/nbi_docs_tutorial_monty_hall.html +866 -0
  319. data/lib/starter_web/pages/public/_jupyter/where_to_go.adoc +270 -0
  320. data/lib/starter_web/pages/public/features/general.adoc +74 -33
  321. data/lib/starter_web/pages/public/features/template.adoc +159 -68
  322. data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/j1_interactive_widgets.html +512 -512
  323. data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/j1_nbi_widgets.html +629 -629
  324. data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/j1_nbi_widgets_bar_chart.html +95 -95
  325. data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/j1_nbi_widgets_hist_chart.html +93 -93
  326. data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/j1_nbi_widgets_line_chart.html +96 -96
  327. data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/j1_nbi_widgets_question_multiple_choice.html +70 -70
  328. data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/j1_nbi_widgets_question_short_answer.html +156 -156
  329. data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/j1_nbi_widgets_scatter_chart.html +95 -95
  330. data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/j1_nbi_widgets_scatter_drag_chart.html +93 -93
  331. data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/j1_odes_in_python.html +955 -955
  332. data/lib/starter_web/pages/public/learn/_roundtrip/100_present_images.adoc +313 -0
  333. data/lib/starter_web/pages/public/learn/_roundtrip/100_present_videos.adoc +281 -0
  334. data/lib/starter_web/pages/public/learn/_roundtrip/200_typography.adoc +253 -0
  335. data/lib/starter_web/pages/public/learn/_roundtrip/300_icon_fonts.adoc +579 -0
  336. data/lib/starter_web/pages/public/learn/_roundtrip/400_asciidoc_extensions.adoc +718 -0
  337. data/lib/starter_web/pages/public/learn/_roundtrip/410_bs_modals_extentions.adoc +91 -0
  338. data/lib/starter_web/pages/public/learn/_roundtrip/420_responsive_tables_extensions.adoc +420 -0
  339. data/lib/starter_web/pages/public/learn/_roundtrip/500_themes.adoc +250 -0
  340. data/lib/starter_web/pages/public/learn/_roundtrip/600_quicksearch.adoc +425 -0
  341. data/lib/starter_web/pages/public/learn/_roundtrip/_includes/attributes.asciidoc +118 -0
  342. data/lib/starter_web/pages/public/learn/_roundtrip/_includes/documents/100_gistblock.asciidoc +28 -0
  343. data/lib/starter_web/pages/public/learn/_roundtrip/_includes/documents/410_bottom_info.asciidoc +14 -0
  344. data/lib/starter_web/pages/public/learn/_roundtrip/_includes/documents/410_bottom_left_warning.asciidoc +11 -0
  345. data/lib/starter_web/pages/public/learn/_roundtrip/_includes/documents/410_bottom_right_danger.asciidoc +11 -0
  346. data/lib/starter_web/pages/public/learn/_roundtrip/_includes/documents/410_central_success.asciidoc +11 -0
  347. data/lib/starter_web/pages/public/learn/_roundtrip/_includes/documents/410_full_height_left_info.asciidoc +11 -0
  348. data/lib/starter_web/pages/public/learn/_roundtrip/_includes/documents/410_full_height_right_success.asciidoc +11 -0
  349. data/lib/starter_web/pages/public/learn/_roundtrip/_includes/documents/410_table_bs_modal_examples.asciidoc +47 -0
  350. data/lib/starter_web/pages/public/learn/_roundtrip/_includes/documents/410_top_info.asciidoc +11 -0
  351. data/lib/starter_web/pages/public/learn/_roundtrip/_includes/documents/410_top_left_info.asciidoc +11 -0
  352. data/lib/starter_web/pages/public/learn/_roundtrip/_includes/documents/410_top_right_success.asciidoc +11 -0
  353. data/lib/starter_web/pages/public/learn/_roundtrip/_includes/documents/419_advanced_modals_demo.asciidoc +337 -0
  354. data/lib/starter_web/pages/public/learn/_roundtrip/_includes/documents/tables/bs_modal_examples.asciidoc +47 -0
  355. data/lib/starter_web/pages/public/learn/_roundtrip/_includes/google-ad.js +130 -0
  356. data/lib/starter_web/pages/public/learn/roundtrip/100_present_images.adoc +6 -5
  357. data/lib/starter_web/pages/public/learn/roundtrip/300_icon_fonts.adoc +1 -2
  358. data/lib/starter_web/pages/public/learn/roundtrip/400_asciidoc_extensions.adoc +4 -2
  359. data/lib/starter_web/pages/public/learn/roundtrip/500_themes.adoc +1 -1
  360. data/lib/starter_web/pages/public/learn/roundtrip/_includes/attributes.asciidoc +1 -1
  361. data/lib/starter_web/utilsrv/_defaults/package.json +1 -1
  362. data/lib/starter_web/utilsrv/package.json +1 -1
  363. metadata +384 -17
  364. data/lib/starter_web/_includes/_attributes.asciidoc +0 -575
  365. data/lib/starter_web/assets/images/pages/features/bootswatch-themes-1080x800.jpg +0 -0
  366. data/lib/starter_web/assets/images/pages/features/comments-1080x600.jpg +0 -0
  367. data/lib/starter_web/assets/images/pages/features/cookie-consent-1080x800.jpg +0 -0
  368. data/lib/starter_web/assets/images/pages/features/example-content-present-videos-1080x800.jpg +0 -0
  369. data/lib/starter_web/assets/images/pages/features/fab-1080x500.jpg +0 -0
  370. data/lib/starter_web/assets/images/pages/features/full-text-search-1080x800.jpg +0 -0
  371. data/lib/starter_web/assets/images/pages/features/global-mobile-traffic-1920x1080.jpg +0 -0
  372. data/lib/starter_web/assets/images/pages/features/google-lighthouse-1080x300.jpg +0 -0
  373. data/lib/starter_web/assets/images/pages/features/intro-panel-1080x800.jpg +0 -0
  374. data/lib/starter_web/assets/images/pages/features/mobile-navigation-600x800.jpg +0 -0
  375. data/lib/starter_web/assets/images/pages/features/native-speakers-by-language.jpg +0 -0
  376. data/lib/starter_web/assets/images/pages/features/nav-module-1080x300.jpg +0 -0
  377. data/lib/starter_web/assets/images/pages/features/teaser-banner-1080x600.jpg +0 -0
  378. data/lib/starter_web/assets/images/pages/features/translator-1080x800.jpg +0 -0
@@ -0,0 +1,638 @@
1
+ ---
2
+ title: J1 NBI
3
+ tagline: jupyter notebook integration
4
+ date: 2022-04-17 00:00:00
5
+ description: >
6
+ The package j1-nbinteract aims to enable authors and educators to create and
7
+ share interactive web pages easily. Interactive explanations of concepts are
8
+ useful for communicating and explaining tricky concepts.
9
+ keywords: >
10
+ opensource, free, load, download, start, starter, example,
11
+ high, easy, use, secure, encrypt, standard, popular,
12
+ generate, create, learn, distribute, publish, deploy,
13
+ beginner, advanced, expert, student, learner, educator,
14
+ writer, reader, visitor,
15
+ framework, toolkit, integration, extension, module, api,
16
+ dynamic, static, generator, client, server, internet, local, localhost,
17
+ page, web, website, webdesign, material, design, responsive,
18
+ javascript, nodejs, ruby, windows, linux, osx, mac, os,
19
+ http, https, html, html5, css, scss, style,
20
+ browser, firefox, chrome, edge, opera, safari,
21
+ configuration, generator, navigation, menu, dropdown, fab, action, button,
22
+ application, interface, provider, api, repository,
23
+ cookie, language, translation, gdpr, dsgvo, privacy,
24
+ asciidoc, aciidoctor, bootstrap, jekyll, liquid,
25
+ hyvor, disqus, git, github, netlify, heroku, apple, microsoft,
26
+ provider, service, internet, support,
27
+ google, analytics, advertising, search, console, silverlight, score,
28
+ j1, nbi, j1-nbinteract, nbinteract, template, integration,
29
+ python, jupyter, notebook, textbook, api, app,
30
+ binder, binderhub, jupyterhub
31
+
32
+ categories: [ J1, Integration ]
33
+ tags: [ NBI, Notebooks, Distributed ]
34
+
35
+ scrollbar: false
36
+ fab_menu_id: page_ctrl
37
+ personalization: true
38
+
39
+ permalink: /pages/public/jupyter/docs/j1-nbinteract-docs/
40
+ regenerate: false
41
+
42
+ resources: [ animate, clipboard, lightbox, nbinteract, rouge ]
43
+ resource_options:
44
+ - attic:
45
+ slides:
46
+ - url: /assets/images/modules/attics/yellow-cactus-1920x1280.jpg
47
+ alt: Photo by Yellow Cactus on Unsplash
48
+ badge:
49
+ type: unsplash
50
+ author: Yellow Cactus
51
+ href: https://unsplash.com/@yellowcactus
52
+ ---
53
+
54
+ // Page Initializer
55
+ // =============================================================================
56
+ // Enable the Liquid Preprocessor
57
+ :page-liquid:
58
+
59
+ // Set (local) page attributes here
60
+ // -----------------------------------------------------------------------------
61
+ // :page--attr: <attr-value>
62
+ :binder-badges-enabled: true
63
+ :binder--home: https://mybinder.org/
64
+ :binder--docs: https://mybinder.readthedocs.io/en/latest/
65
+ :github-repo--binderhub: https://github.com/jupyterhub/binderhub
66
+ :binder-app-launch--lab: https://mybinder.org/v2/gh/jekyll-one/j1-binder-repo/main
67
+ :binder-app-launch--tree: https://mybinder.org/v2/gh/jekyll-one/j1-binder-repo/main?urlpath=/tree
68
+
69
+ // Load Liquid procedures
70
+ // -----------------------------------------------------------------------------
71
+ {% capture load_attributes %}themes/{{site.template.name}}/procedures/global/attributes_loader.proc{%endcapture%}
72
+
73
+ // Load page attributes
74
+ // -----------------------------------------------------------------------------
75
+ {% include {{load_attributes}} scope="all" %}
76
+
77
+ // Page content
78
+ // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
79
+ ifeval::[{binder-badges-enabled} == true]
80
+ image:/assets/images/badges/configBinder.png[Binder, link="{binder--home}", {browser-window--new}]
81
+ image:/assets/images/badges/docsBinder.png[Binder, link="{binder--docs}", {browser-window--new}]
82
+ endif::[]
83
+
84
+ // Include sub-documents (if any)
85
+ // -----------------------------------------------------------------------------
86
+
87
+ // tut: https://www.dataquest.io/blog/jupyter-notebook-tutorial/
88
+ // tut: https://reproducible-science-curriculum.github.io/publication-RR-Jupyter/01-documentation/index.html
89
+
90
+ // integration: https://code.visualstudio.com/docs/datascience/jupyter-notebooks
91
+ // intro: https://jupyter-notebook-beginner-guide.readthedocs.io/en/latest/index.html
92
+ // Books: https://jupyterbook.org/intro.html
93
+ // 2HTML: https://stackoverflow.com/questions/35896866/how-to-export-current-notebook-in-html-on-jupyter
94
+
95
+ // info: https://en.wikipedia.org/wiki/Galileo_Galilei
96
+
97
+ == J1 NBI Package
98
+
99
+ The package `j1-nbinteract` aims to enable authors and educators to create and
100
+ share interactive web pages easily. Interactive explanations of concepts are
101
+ useful for communicating and explaining tricky concepts.
102
+
103
+ As a web technology, _Jupyter Notebook_ provides a platform for authoring
104
+ interactive scientific documents. For example, the popular `ipywidgets`
105
+ Python library allows users to create web-based user interfaces to interact
106
+ with arbitrary Python functions. Users can create these interfaces using
107
+ Python directly in the notebook instead of HTML and JavaScript, significantly
108
+ lowering the time needed to create these interfaces.
109
+
110
+ This ease of use encourages instructors and researchers to create interactive
111
+ explanations of their work. Unfortunately, it isn't easy to *share* these
112
+ interactive notebooks with the public. Sharing the notebook file itself
113
+ retains full interactivity but requires *viewers* to have Jupyter, Python,
114
+ and all other packages used in the notebook installed on their machines.
115
+
116
+ The freely available Binder service circumvents this by hosting notebook
117
+ servers pre-packaged with the necessary software. However, both of these
118
+ options still require readers to have prior familiarity with the Jupyter
119
+ environment, making them less suitable for use with non-technical people.
120
+
121
+ Authors can convert a Jupyter notebook to a static HTML document and host
122
+ the document as a publicly-accessible web page. However, this method does
123
+ not preserve the interactive elements of the notebook. The resulting web
124
+ page only contains text and images.
125
+
126
+ .NBI textbook (excerpt)
127
+ [source, python, role="noclip"]
128
+ ----
129
+ # Define the plot function
130
+ #
131
+ def myplot(xv):
132
+ x = arange(0, xv, 0.01)
133
+ y = sin(pi*x)
134
+
135
+ # figsize: width, height in inches
136
+ plt.figure(figsize=(10, 5))
137
+
138
+ # set the grid lines
139
+ plt.grid(axis='x', color='#E0E0E0', linestyle='--', linewidth=2),
140
+ plt.grid(axis='y', color='#E0E0E0', linestyle='-', linewidth=2),
141
+
142
+ # set the axis labels
143
+ plt.xlabel('x-values'),
144
+ plt.ylabel('y-values'),
145
+
146
+ # set the plot title
147
+ plt.title('Simple plot function based on sin(x)'),
148
+
149
+ # define the plot
150
+ plt.plot(x, y)
151
+
152
+
153
+ # Create an interactive widget for the plot using interact
154
+ #
155
+ interact = widgets.interact(
156
+ myplot,
157
+ xv = widgets.FloatSlider(
158
+ value=pi,
159
+ min=(pi/2),
160
+ max=(4*pi),
161
+ step=0.01,
162
+ description='Slider (x):',
163
+ layout=Layout(width='90%')
164
+ )
165
+ )
166
+
167
+ interact;
168
+ ----
169
+
170
+ lightbox::nbi-textbook--excerpt[1280, {data-nbi-textbook--excerpt}, role="mt-3 mb-4"]
171
+
172
+ The Python package `j1-nbinteract` allows authors to convert Jupyter notebooks
173
+ into *interactive*, standalone HTML pages: the textbooks. The interactive
174
+ elements can use arbitrary Python code to generate output, including Python
175
+ libraries that use C extensions (e.g., _NumPy_ and _Pandas_) and libraries
176
+ that create images (e.g., _Matplotlib_).
177
+
178
+ CAUTION: The current version of j1-nbinteract *1.x* is limited to Notebook v6
179
+ (Classic Notebook). The latest version Jupyter Notebook v7 (JupyterLab) are
180
+ supported by upcoming versions of j1-nbinteract *2.x*.
181
+
182
+ Anyone with a modern web browser can use the resulting web pages even if
183
+ the viewer does *not* have Python or Jupyter installed on their computer.
184
+ To make this possible, NBI uses the freely available cloud service _Binder_.
185
+ Two communication libraries are used to interact with the _BinderHub_ and the
186
+ _JupyterHub_ services
187
+
188
+ You can find an overview of these services and their communication interfaces
189
+ at:
190
+
191
+ * link:{url-j1-docs-binderhub--remote}[BinderHub, {browser-window--new}]
192
+ * link:{url-j1-docs-jupyterhub--remote}[JupyterHub, {browser-window--new}]
193
+
194
+ TIP: The `nbinteract` package also includes additional methods for interactive
195
+ plots (widgets) designed for very fast interaction prototyping in the notebook
196
+ and smooth interaction on static HTML web pages.
197
+
198
+ == J1 NBI Integration
199
+
200
+ The integration of NBI consists of the following components:
201
+
202
+ * the (modified) JS and CSS files of the library *nbinteract-core* specified
203
+ as resource record `nbinteract` (see: `~/_data/resources.yml`)
204
+ * an J1 adapter `nbinteract.js` for integration
205
+ * a module configuration `nbinteract.yml`
206
+ * an Asciidoc Extension `textbook::` to integrate textbooks (in webpages)
207
+
208
+ The built-in Starter Web of the template comes with a suitable J1 NBI
209
+ configuration and documents for testing. You can find examples of pages that
210
+ contain interactive textbooks under the menu `Lern` underneath the submenu
211
+ `Juyper Notebooks`.
212
+
213
+ WARNING: To develop your *Jupyter Notebooks*, a *local* installation of the
214
+ *Python* programming language is required. For the development of Jupyter
215
+ Notebooks, the *Jupyter* package and the installation of the library
216
+ *nbinteract* are expected.
217
+
218
+ The module for J1 NBI integration is available as a stable version. However,
219
+ it is still in an experimental state. The main reason for that experimental
220
+ status is the *age* of the base library `nbinteract-core` of version v0.2.6.
221
+
222
+ NOTE: Recent library updates are more than a year ago, and the current
223
+ version of the Jupyter Notebook V7 application (JupyterLab), unfortunately,
224
+ *not* supported (yet).
225
+
226
+ === Notebooks vs. Textbooks
227
+
228
+ Jupyter Notebook documents with the extension `.ipynb` are (data) files in
229
+ JSON format and can only be run using the *App* of Jupyter Notebook. On the
230
+ other hand, Textbooks are HTML exports with the extension `.html` from
231
+ Jupyter Notebooks to be viewed in a web browser.
232
+
233
+ For integrating textbooks in webpages, the notebooks with the extension
234
+ `.ipynb` are to be *exported* to HTML (text) files using the (Python)
235
+ program `nbinteract`. Textbooks that have already been exported can be found
236
+ for the *Starter Web* in the folder `~/pages/public/jupyter/notebooks/textbooks`.
237
+
238
+ == J1 NBI Configuration
239
+
240
+ The Template system J1 integrates the Javascript (core) library
241
+ `j1-nbinteract-core.js` from NBI (j1-nbinteract). The integration is a J1
242
+ module that requires *no programming* to integrate interactive textbooks in
243
+ your webpages.
244
+
245
+ WARNING: The (core) library integrated with J1 can *only* used with the
246
+ Template System J1. The library `j1-nbinteract-core` is modified for the use
247
+ with J1, allowing seamless integration between NBI and the pages of a J1 Web.
248
+
249
+ === Modul configuration
250
+
251
+ As with all modules available with J1, *no programming* is required. An
252
+ adapter for the template system takes the necessary steps for integration,
253
+ so easy integration into your website is possible using the module
254
+ configuration.
255
+
256
+ ==== Default settings
257
+
258
+ Find all parameters used for the default settings below. The configuration
259
+ file is `~/_data/default/nbinteract.yml`.
260
+
261
+ .Default settings
262
+ [cols="3a,4a,5a", subs=+macros, options="header", width="100%", role="rtable mt-3"]
263
+ |===
264
+ |Paramter |Value |Description
265
+
266
+ |`preferred`
267
+ |`<baseUrl> \| <provider>`
268
+ |Defines the provider and the *public* repo to be used by the
269
+ *Binder* service.
270
+
271
+ |`provider_spec`
272
+ |`<user>/<repo>/<branch>`
273
+ |Defines the *public* repo the configuration data is available to be read
274
+ by the *Binder* service.
275
+
276
+ |`baseUrl`
277
+ |`https://mybinder.org`
278
+ |Base URL of the *Binder* service.
279
+
280
+ |`provider_id`
281
+ |gh\|gist\|gl\|zenodo
282
+ |Provider of the *public* repo. +
283
+ `gh`, GitHub +
284
+ `gist`, GitHub Gist +
285
+ `gl`, GitLab +
286
+ `zenodo`, Zenodo Org
287
+
288
+ |`button_styles`
289
+ |CSS styles
290
+ |For *Bootstrap*, styles like `btn btn-primary btn-raised ` can be used.
291
+
292
+ |`show_nbi_messages`
293
+ |`true`\|`false`
294
+ |Show info\|progress\|error messages while nbinteract is being initialized.
295
+ Messges are shown in (Bootstrap) modals. +
296
+ Default: `false`
297
+
298
+ |`indicate_nbi_activity`
299
+ |`true`\|`false`
300
+ |Show a spinner while nbinteract in being initialized.
301
+ Default: `true`
302
+
303
+ |`nbi_messages_auto_close`
304
+ |`true`\|`false`
305
+ |Close the nbi messages modals automatically. +
306
+ Default: `true`
307
+
308
+ |`nbi_init_timeout`
309
+ |`integer`
310
+ |Time (ms) textbooks on a page are to be finally initialized. If the
311
+ init phase tooks longer, an error is issued. +
312
+ Default: `180000` (3 min)
313
+
314
+ |`nbi_messages_auto_close_delay`
315
+ |`integer`
316
+ |Delay (ms) to auto-close nbi messages modal. +
317
+ Default: `3500` (3.5 sec)
318
+
319
+ |`nbi_init_mathjax`
320
+ |`true`\|`false`
321
+ |Load and initialize the MathJax JS library. +
322
+ Default: `true`
323
+
324
+ |===
325
+
326
+ WARNING: In the current implementation of NBI for J1, the JS library *MathJax*
327
+ *may* interfere with the HTML output of other pages of a J1 website. Integrating
328
+ the MatJax JS library may result in *strange outcomes* for other contents.
329
+ For that reason, the MathJax library should be used *carefully* for the
330
+ time being.
331
+
332
+ .Example settings (`~/_data/default/nbinteract.yml`)
333
+ [source, yaml]
334
+ ----
335
+ # ------------------------------------------------------------------------------
336
+ # Default settings
337
+ #
338
+ defaults:
339
+
340
+ # ----------------------------------------------------------------------------
341
+ # Binder access
342
+ # ----------------------------------------------------------------------------
343
+
344
+ # Binder baseUrls (all members of the Binder Org Federation)
345
+ # ----------------------------------------------------------------------------
346
+ #
347
+ baseUrls:
348
+ preferred: mybinder
349
+ mybinder: 'https://mybinder.org' # Binder Org
350
+ gke: 'https://gke.mybinder.org' # Google Cloud
351
+ ovh: 'https://ovh.mybinder.org' # OVH Cloud
352
+ gesis: 'https://gesis.mybinder.org' # GESIS Notebooks
353
+ turing: 'https://turing.mybinder.org' # Alan Turing Institute
354
+
355
+ # Provider specs
356
+ # ----------------------------------------------------------------------------
357
+ #
358
+ providers:
359
+ preferred: github # github
360
+ github:
361
+ provider_id: gh
362
+ provider_spec: jekyll-one/j1-binder-repo/main # config: requirements.txt
363
+ zenodo:
364
+ provider_id: zenodo
365
+ provider_spec: 10.5281/zenodo.6721479 # 2nd version, config: requirements.txt
366
+
367
+ # ----------------------------------------------------------------------------
368
+ # Module settings
369
+ # ----------------------------------------------------------------------------
370
+
371
+ show_nbi_messages: false
372
+ indicate_nbi_activity: true
373
+ nbi_messages_auto_close: true
374
+
375
+ nbi_init_timeout: 180000
376
+ nbi_messages_auto_close_delay: 3500
377
+
378
+ nbi_init_mathjax: true
379
+ notebook_ready: first_widget
380
+ ----
381
+
382
+ ==== Textbook settings
383
+
384
+ Find all parameters used for the textbook settings below. The configuration
385
+ file is `~/_data/nbinteract.yml`.
386
+
387
+ .Textbook settings
388
+ [cols="3a,4a,5a", options="header", width="100%", role="rtable mt-3"]
389
+ |===
390
+ |Paramter |Value |Description
391
+
392
+ |`enabled`
393
+ |`true`\|`false`
394
+ |Enables\|Disables the use of a notebook. If disabled, *no* J1 adapter
395
+ setting are generated for this Jupyter Notebook. +
396
+ Default: `true`
397
+
398
+ |`id`
399
+ |`string`
400
+ |The id of a notebook that is used by the *Asciidoc Extension*
401
+ `textbook::<id>[]` to place the HTML portion for the HTML code
402
+ of an exported Jupyter Notebook. +
403
+ Default: `no default`
404
+
405
+ |`xhr_data`
406
+ |`string`
407
+ |The name of the exported HTML data file of a Jupyter Notebook. +
408
+ Default: `no default`
409
+
410
+ |`xhr_data_path`
411
+ |`path`
412
+ |The (data) path the Jupyter Notebook is exported. +
413
+ Default: `no default`
414
+
415
+ |`use_mathjax`
416
+ |`true`\|`false`
417
+ |This is a per notebook setting to enable mathjax processing. In general
418
+ `nbi_init_mathjax` from *default* settings are be set to `true` (enabled). +
419
+ Default: `false`
420
+
421
+ |===
422
+
423
+ .Example settings (~/_data/nbinteract.yml)
424
+ [source, yaml]
425
+ ----
426
+ # ------------------------------------------------------------------------------
427
+ # User configuration settings
428
+ #
429
+ settings:
430
+
431
+ textbooks:
432
+
433
+ # --------------------------------------------------------------------------
434
+ # interactive_widgets
435
+ #
436
+ - textbook:
437
+ enabled: true
438
+
439
+ id: j1_docs_example_dynamic
440
+ xhr_data: j1_docs_example_dynamic.html
441
+ xhr_data_path: /pages/public/jupyter/notebooks/textbooks
442
+ use_mathjax: false
443
+ ----
444
+
445
+ === Binder configuration
446
+
447
+ The use of J1 NBI requires a valid Binder configuration. The binder
448
+ configuration is to be provided via a public Git repo. An example of such a
449
+ Git repo you find on Github at
450
+ link:{url-j1--gh-binder-repo}[J1 Binder Repo, {browser-window--new}].
451
+ The configuration settings are described in the <<Default settings>> section.
452
+
453
+ === Textbook configuration
454
+
455
+ Besides the default settings for J1 NBI (`~/_data/default/nbinteract.yml`),
456
+ *individual* settings for each textbook (nbinteract HTML textebook) are
457
+ required to include textbooks in webpages. You find examples in the
458
+ configuration file `~/_data/nbinteract.yml`, a description of the parameters
459
+ used in the <<Textbook settings>> section.
460
+
461
+ === Textbook integration
462
+
463
+ For integrating textbooks (nbinteract HTML notebook) into web pages, the
464
+ resource of J1 NBI Module is required. The `ID` of the module of the J1 NBI
465
+ integration is: `nbinteract`.
466
+
467
+ .Example of a Frontmatter for a page using Textbooks
468
+ [source, yaml, role="noclip"]
469
+ ----
470
+ title: J1 NbInteract
471
+ tagline: nbi integration
472
+ date: 2022-04-17 00:00:00
473
+ description: >
474
+ Things you should know about this site,
475
+ the people and the software and/or
476
+ services provided.
477
+
478
+ categories: [ J1, Integration ]
479
+ tags: [ NBI, nbinteract ]
480
+
481
+ scrollbar: false
482
+ fab_menu_id: page_ctrl
483
+ personalization: true <1>
484
+
485
+ permalink: /pages/public/jupyter/docs/j1-nbinteract-docs/
486
+ regenerate: false
487
+
488
+ resources: [ nbinteract, rouge ] <2>
489
+ ----
490
+ <1> Binder's services require *Personalization* accepted in the users
491
+ *cookie* settings. Difficulties with the rules of privacy should be
492
+ explicitly pointed out and responded to in a suitable form if the cookie
493
+ settings of the visitor do not allow this.
494
+ <2> If highlighting the source code parts is desired in a textbook, the
495
+ `rouge` module must included as well.
496
+
497
+ Once the configuration steps for using J1 NBI have been completed, integrating
498
+ textbooks is very easy. The Asciidoc extension `textbook::` can include a
499
+ textbook (nbinteract HTML Notebook) anywhere.
500
+
501
+ .General syntax
502
+ [source, conf, role="noclip"]
503
+ ----
504
+ textbook::<notebook-id>[]
505
+ ----
506
+
507
+ Einbinden des Textbooks mit der ID `j1_docs_example_dynamic` in eine Webseite.
508
+
509
+ .Example
510
+ [source, conf]
511
+ ----
512
+ textbook::j1_docs_example_dynamic[]
513
+ ----
514
+
515
+
516
+ == NBI Textbook examples
517
+
518
+ For the J1 template, textbooks are typically integrated as *dynamic* HTML
519
+ pages. In addition to the dynamic pages, textbooks can also be integrated as
520
+ *static* HTML code. You can find examples for both variants in the following
521
+ sections.
522
+
523
+ === Static Textbook
524
+
525
+ The `nbconvert` tool converts *Jupyter Notebooks* to various other formats via
526
+ Jinja templates. The tool allows you to convert an .ipynb notebook file into
527
+ various *static* formats. For more details, refer to
528
+ link:{url-nbconvert--doc}[nbconvert - usage, {browser-window--new}].
529
+
530
+ .Generate a static textbook
531
+ [source, sh]
532
+ ----
533
+ jupyter nbconvert --execute --to html <full_path_to>/<notebook.ipynb>
534
+ ----
535
+
536
+ Below you find an static HTML output (Textbook) generated via `nbconvert`.
537
+
538
+ include::{documentdir}/j1_docs_example_static.asciidoc[]
539
+
540
+ === Interactive Textbook
541
+
542
+ *Interactive* Textbooks are generated using `nbinteract`:
543
+
544
+ .Generate an interactive textbook
545
+ [source, sh]
546
+ ----
547
+ nbinteract <full_path_to>/<notebook.ipynb> -t plain -s fake/fake
548
+ ----
549
+
550
+ textbook::j1_docs_example_dynamic[]
551
+
552
+ === Conclusion
553
+
554
+ Compare both textbook versions, dynamic versus static, in terms of
555
+ *interactivity*. Again, compare the _Evaluation_ section at section
556
+ <<Interactive Textbook>> with the static conterpart at <<Static Textbook>>.
557
+
558
+
559
+ == Jupyter Basics
560
+
561
+ To understand this documentation better, below you find a brief description
562
+ of JupyterHub (JH) and the three base components of Jupyter Notebook (JN).
563
+
564
+ === The Jupyter Project
565
+
566
+ The Jupyter Project is a non-profit organization founded in 2014 by
567
+ _Fernando Perez_. The Jupyter project supports interactive scientific
568
+ Data evaluations and scientific calculations. The main applications provided
569
+ by the Jupyter Project are:
570
+
571
+ * Jupyter Notebook (JN)
572
+ * JupyterHub (JH)
573
+
574
+ NOTE: The name _Jupyter_ refers to the three main programming languages
575
+ _Julia_, _Python_ and _R_ supported by the Jupyter Notebook App. The
576
+ name _Jupyter_ is a homage to the notebook entries by _Galileo Galilei_
577
+ on the discovery of the moons of Jupiter, where he made his observations
578
+ and the measurement data together.
579
+
580
+ Jupyter Notebook (JN) is an open source web application that allows data
581
+ scientists to create and share documents that include live code, equations,
582
+ and other multimedia resources. JN combines two components:
583
+
584
+ Web application::
585
+ a browser-based tool for interactive authoring of documents which combine
586
+ explanatory text, mathematics, computations and their rich media output.
587
+
588
+ Notebook documents::
589
+ a representation of all content visible in the web application, including
590
+ inputs and outputs of the computations, explanatory text, mathematics,
591
+ images, and rich media representations of objects.
592
+
593
+ === Jupyter Notebook App
594
+
595
+ The Jupyter Notebook *App* is a server-client application that allows editing
596
+ and running notebook documents via a web browser. The Notebook App can be
597
+ executed on a local desktop requiring no internet access or can be installed
598
+ on a remote server and accessed through the internet.
599
+
600
+ === Notebook documents
601
+
602
+ Notebook documents (or *notebooks* for short) are documents created by the
603
+ Notebook App, and both computer code (e.g., Python) and rich text may contain
604
+ elements (paragraphs, equations, figures, links, etc.). Notebook documents are
605
+ human-readable documents, alongside code descriptions and results (figures,
606
+ tables, etc.).
607
+
608
+ === Kernels
609
+
610
+ Generally, a notebook *kernel* is a *calculating machine* that lives in the
611
+ Jupyter Notebook App to process a Notebook document and executes its
612
+ code. The *Ipython* kernel, used for the NBI integration, runs _Python_
613
+ code, and produces the results.
614
+
615
+ === JupyterHub
616
+
617
+ _JupyterHub_ (JH) brings the power of notebooks to *groups* of users. It
618
+ gives users access to computational environments and resources without
619
+ burdening the users with installation and maintenance tasks. Users can get
620
+ their work done in their own workspaces on shared resources which can be
621
+ managed efficiently by system administrators without having the Jupyter
622
+ Notebook App (JN) locally installed on their systems.
623
+
624
+ JupyterHub runs in the cloud or on hardware hosted on your own and makes
625
+ it possible to serve a pre-configured data science environment to any user.
626
+ It is customizable and scalable and is suitable for small and large teams,
627
+ academic courses, and large-scale infrastructure (for example like the
628
+ Binder service).
629
+
630
+ == Binder
631
+
632
+ Binder allows you to create custom computing environments that can be
633
+ shared and used by many remote users. A Binder service is powered by
634
+ link:{github-repo--binderhub}[BinderHub Repo on Github, {browser-window--new}],
635
+ an open-source tool that runs on Kubernetes, a portable, extensible,
636
+ open-source platform for managing containerized services. One such deployment
637
+ lives at link:{binder--home}[Binder Home, {browser-window--new}], and is free
638
+ to use.