j1-template 2022.4.10 → 2022.5.0.rc2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (176) hide show
  1. checksums.yaml +4 -4
  2. data/_includes/themes/j1/modules/navigator/procedures/topsearch.proc +6 -6
  3. data/assets/data/fab.html +1 -1
  4. data/assets/data/panel.html +1 -1
  5. data/assets/themes/j1/adapter/js/attic.js +18 -3
  6. data/assets/themes/j1/adapter/js/navigator.js +19 -85
  7. data/assets/themes/j1/adapter/js/themer.js +5 -0
  8. data/assets/themes/j1/core/css/themes/unodark/bootstrap.css +23 -26
  9. data/assets/themes/j1/core/css/themes/unodark/bootstrap.min.css +1 -1
  10. data/assets/themes/j1/core/css/themes/unolight/bootstrap.css +7 -7
  11. data/assets/themes/j1/core/css/themes/unolight/bootstrap.min.css +2 -2
  12. data/assets/themes/j1/core/css/vendor.css +5 -1
  13. data/assets/themes/j1/core/css/vendor.min.css +1 -1
  14. data/assets/themes/j1/modules/backstretch/js/backstretch.js +3 -1
  15. data/assets/themes/j1/modules/backstretch/js/backstretch.min.js +1 -1
  16. data/lib/j1/commands/generate.rb +12 -1
  17. data/lib/j1/patches/rubygems/eventmachine-1.2.7-x64-mingw32/lib/3.0/fastfilereaderext.so +0 -0
  18. data/lib/j1/patches/rubygems/eventmachine-1.2.7-x64-mingw32/lib/3.0/rubyeventmachine.so +0 -0
  19. data/lib/j1/patches/rubygems/eventmachine-1.2.7-x64-mingw32/lib/3.1/fastfilereaderext.so +0 -0
  20. data/lib/j1/patches/rubygems/eventmachine-1.2.7-x64-mingw32/lib/3.1/rubyeventmachine.so +0 -0
  21. data/lib/j1/version.rb +1 -1
  22. data/lib/starter_web/Gemfile +124 -77
  23. data/lib/starter_web/_config.yml +6 -9
  24. data/lib/starter_web/_data/modules/attics.yml +13 -4
  25. data/lib/starter_web/_data/modules/defaults/attics.yml +1 -1
  26. data/lib/starter_web/_data/modules/defaults/navigator.yml +3 -3
  27. data/lib/starter_web/_data/modules/defaults/themer.yml +1 -1
  28. data/lib/starter_web/_data/modules/navigator.yml +3 -3
  29. data/lib/starter_web/_data/modules/navigator_menu.yml +366 -227
  30. data/lib/starter_web/_includes/_attributes.asciidoc +575 -0
  31. data/lib/starter_web/_includes/attributes.asciidoc +41 -40
  32. data/lib/starter_web/_plugins/lunr_index.rb +1 -1
  33. data/lib/starter_web/assets/images/{modules/icons → icons}/asciidoc/logo-512x512.png +0 -0
  34. data/lib/starter_web/assets/images/{modules/icons → icons}/bokeh/bokeh-32x32.ico +0 -0
  35. data/lib/starter_web/assets/images/{modules/icons → icons}/bokeh/bokeh.ico +0 -0
  36. data/lib/starter_web/assets/images/{modules/icons → icons}/bokeh/logo-160x160.png +0 -0
  37. data/lib/starter_web/assets/images/{modules/icons → icons}/bootstrap/bootstrap-solid-32x32.png +0 -0
  38. data/lib/starter_web/assets/images/{modules/icons → icons}/bootstrap/bs-docs-masthead-pattern.png +0 -0
  39. data/lib/starter_web/assets/images/{modules/icons → icons}/bootstrap/scalable/bootstrap-outline.svg +0 -0
  40. data/lib/starter_web/assets/images/{modules/icons → icons}/bootstrap/scalable/bootstrap-punchout.svg +0 -0
  41. data/lib/starter_web/assets/images/{modules/icons → icons}/bootstrap/scalable/bootstrap-solid.svg +0 -0
  42. data/lib/starter_web/assets/images/{modules/icons → icons}/components/angular.ui.png +0 -0
  43. data/lib/starter_web/assets/images/{modules/icons → icons}/components/angularjs.png +0 -0
  44. data/lib/starter_web/assets/images/{modules/icons → icons}/components/aws.png +0 -0
  45. data/lib/starter_web/assets/images/{modules/icons → icons}/components/bootstrap.png +0 -0
  46. data/lib/starter_web/assets/images/{modules/icons → icons}/components/c9.png +0 -0
  47. data/lib/starter_web/assets/images/{modules/icons → icons}/components/chai.png +0 -0
  48. data/lib/starter_web/assets/images/{modules/icons → icons}/components/emmet.png +0 -0
  49. data/lib/starter_web/assets/images/{modules/icons → icons}/components/express.png +0 -0
  50. data/lib/starter_web/assets/images/{modules/icons → icons}/components/git.png +0 -0
  51. data/lib/starter_web/assets/images/{modules/icons → icons}/components/github.png +0 -0
  52. data/lib/starter_web/assets/images/{modules/icons → icons}/components/gulp.png +0 -0
  53. data/lib/starter_web/assets/images/{modules/icons → icons}/components/heroku.png +0 -0
  54. data/lib/starter_web/assets/images/{modules/icons → icons}/components/htmlcss-1.png +0 -0
  55. data/lib/starter_web/assets/images/{modules/icons → icons}/components/htmlcss-2.png +0 -0
  56. data/lib/starter_web/assets/images/{modules/icons → icons}/components/jasmine.png +0 -0
  57. data/lib/starter_web/assets/images/{modules/icons → icons}/components/javascript.png +0 -0
  58. data/lib/starter_web/assets/images/{modules/icons → icons}/components/jquery.png +0 -0
  59. data/lib/starter_web/assets/images/{modules/icons → icons}/components/kanban.png +0 -0
  60. data/lib/starter_web/assets/images/{modules/icons → icons}/components/leanux.png +0 -0
  61. data/lib/starter_web/assets/images/{modules/icons → icons}/components/linkedin.png +0 -0
  62. data/lib/starter_web/assets/images/{modules/icons → icons}/components/mean.png +0 -0
  63. data/lib/starter_web/assets/images/{modules/icons → icons}/components/mongodb.png +0 -0
  64. data/lib/starter_web/assets/images/{modules/icons → icons}/components/node.png +0 -0
  65. data/lib/starter_web/assets/images/{modules/icons → icons}/components/postgresql.png +0 -0
  66. data/lib/starter_web/assets/images/{modules/icons → icons}/components/protractor.png +0 -0
  67. data/lib/starter_web/assets/images/{modules/icons → icons}/components/rails.png +0 -0
  68. data/lib/starter_web/assets/images/{modules/icons → icons}/components/ruby.png +0 -0
  69. data/lib/starter_web/assets/images/{modules/icons → icons}/components/sass.png +0 -0
  70. data/lib/starter_web/assets/images/{modules/icons → icons}/components/scrum.png +0 -0
  71. data/lib/starter_web/assets/images/{modules/icons → icons}/components/twitter.png +0 -0
  72. data/lib/starter_web/assets/images/{modules/icons → icons}/github/avatar-icon.png +0 -0
  73. data/lib/starter_web/assets/images/icons/hyvor-talk/hyvor-logo.24x24.png +0 -0
  74. data/lib/starter_web/assets/images/icons/hyvor-talk/hyvor-logo.512x512.png +0 -0
  75. data/lib/starter_web/assets/images/icons/hyvor-talk/hyvore-talk.ico +0 -0
  76. data/lib/starter_web/assets/images/icons/hyvor-talk/scalable/hyvor-logo.svg +81 -0
  77. data/lib/starter_web/assets/images/{modules/icons → icons}/j1/favicon.ico +0 -0
  78. data/lib/starter_web/assets/images/{modules/icons → icons}/j1/j1-256x256.gif +0 -0
  79. data/lib/starter_web/assets/images/{modules/icons → icons}/j1/j1-256x256.png +0 -0
  80. data/lib/starter_web/assets/images/{modules/icons → icons}/j1/j1-32x32.ico +0 -0
  81. data/lib/starter_web/assets/images/{modules/icons → icons}/j1/j1-512x512.png +0 -0
  82. data/lib/starter_web/assets/images/{modules/icons → icons}/j1/j1-64x64.png +0 -0
  83. data/lib/starter_web/assets/images/{modules/icons → icons}/j1/j1.ico +0 -0
  84. data/lib/starter_web/assets/images/{modules/icons → icons}/j1/scalable/j1.svg +0 -0
  85. data/lib/starter_web/assets/images/{modules/icons → icons}/jupyter/jupyter-32x32.ico +0 -0
  86. data/lib/starter_web/assets/images/{modules/icons → icons}/jupyter/jupyter.ico +0 -0
  87. data/lib/starter_web/assets/images/{modules/icons → icons}/jupyter/logo.png +0 -0
  88. data/lib/starter_web/assets/images/{modules/icons → icons}/os/centos/centos-icon.png +0 -0
  89. data/lib/starter_web/assets/images/{modules/icons → icons}/os/centos/centos.ico +0 -0
  90. data/lib/starter_web/assets/images/{modules/icons → icons}/os/suse/suse.gif +0 -0
  91. data/lib/starter_web/assets/images/{modules/icons → icons}/os/suse/suse.ico +0 -0
  92. data/lib/starter_web/assets/images/{modules/icons → icons}/os/suse/suse.png +0 -0
  93. data/lib/starter_web/assets/images/{modules/icons → icons}/os/ubuntu/cof_black_hex.png +0 -0
  94. data/lib/starter_web/assets/images/{modules/icons → icons}/os/ubuntu/cof_orange_hex.png +0 -0
  95. data/lib/starter_web/assets/images/{modules/icons → icons}/os/ubuntu/cof_white-black_hex.png +0 -0
  96. data/lib/starter_web/assets/images/{modules/icons → icons}/os/ubuntu/cof_white-orange_hex.png +0 -0
  97. data/lib/starter_web/assets/images/{modules/icons → icons}/os/ubuntu/ubuntu.ico +0 -0
  98. data/lib/starter_web/assets/images/{modules/icons → icons}/os/windows/windows.png +0 -0
  99. data/lib/starter_web/assets/images/{modules/icons → icons}/os/windows/windows_flags_color.ico +0 -0
  100. data/lib/starter_web/assets/images/{modules/icons → icons}/os/windows/windows_hdd.ico +0 -0
  101. data/lib/starter_web/assets/images/{modules/icons → icons}/os/windows/windows_store.ico +0 -0
  102. data/lib/starter_web/assets/images/{modules/icons → icons}/social/amazon.png +0 -0
  103. data/lib/starter_web/assets/images/{modules/icons → icons}/social/behance.png +0 -0
  104. data/lib/starter_web/assets/images/{modules/icons → icons}/social/blogger.png +0 -0
  105. data/lib/starter_web/assets/images/{modules/icons → icons}/social/deviantart.png +0 -0
  106. data/lib/starter_web/assets/images/{modules/icons → icons}/social/dribbble.png +0 -0
  107. data/lib/starter_web/assets/images/{modules/icons → icons}/social/dropbox.png +0 -0
  108. data/lib/starter_web/assets/images/{modules/icons → icons}/social/evernote.png +0 -0
  109. data/lib/starter_web/assets/images/{modules/icons → icons}/social/facebook.png +0 -0
  110. data/lib/starter_web/assets/images/{modules/icons → icons}/social/forrst.png +0 -0
  111. data/lib/starter_web/assets/images/{modules/icons → icons}/social/github.png +0 -0
  112. data/lib/starter_web/assets/images/{modules/icons → icons}/social/googleplus.png +0 -0
  113. data/lib/starter_web/assets/images/{modules/icons → icons}/social/instagram.png +0 -0
  114. data/lib/starter_web/assets/images/{modules/icons → icons}/social/jolicloud.png +0 -0
  115. data/lib/starter_web/assets/images/{modules/icons → icons}/social/last-fm.png +0 -0
  116. data/lib/starter_web/assets/images/{modules/icons → icons}/social/linkedin.png +0 -0
  117. data/lib/starter_web/assets/images/{modules/icons → icons}/social/picasa.png +0 -0
  118. data/lib/starter_web/assets/images/{modules/icons → icons}/social/pintrest.png +0 -0
  119. data/lib/starter_web/assets/images/{modules/icons → icons}/social/rss.png +0 -0
  120. data/lib/starter_web/assets/images/{modules/icons → icons}/social/skype.png +0 -0
  121. data/lib/starter_web/assets/images/{modules/icons → icons}/social/spotify.png +0 -0
  122. data/lib/starter_web/assets/images/{modules/icons → icons}/social/stumbleupon.png +0 -0
  123. data/lib/starter_web/assets/images/{modules/icons → icons}/social/tumblr.png +0 -0
  124. data/lib/starter_web/assets/images/{modules/icons → icons}/social/twitter.png +0 -0
  125. data/lib/starter_web/assets/images/{modules/icons → icons}/social/vimeo.png +0 -0
  126. data/lib/starter_web/assets/images/{modules/icons → icons}/social/vk.png +0 -0
  127. data/lib/starter_web/assets/images/{modules/icons → icons}/social/wordpress.png +0 -0
  128. data/lib/starter_web/assets/images/{modules/icons → icons}/social/xing.png +0 -0
  129. data/lib/starter_web/assets/images/{modules/icons → icons}/social/yahoo.png +0 -0
  130. data/lib/starter_web/assets/images/{modules/icons → icons}/social/youtube.png +0 -0
  131. data/lib/starter_web/assets/images/modules/attics/1920x1280/alexander-redl.jpg +0 -0
  132. data/lib/starter_web/assets/images/modules/attics/1920x1280/harpal-singh.jpg +0 -0
  133. data/lib/starter_web/assets/images/modules/attics/1920x1280/john-schnobrich-2.jpg +0 -0
  134. data/lib/starter_web/assets/images/modules/attics/alexander-redl.jpg +0 -0
  135. data/lib/starter_web/assets/images/modules/attics/harpal-singh.jpg +0 -0
  136. data/lib/starter_web/collections/posts/public/featured/_posts/2021-01-01-about-cookies.adoc +2 -2
  137. data/lib/starter_web/collections/posts/public/featured/_posts/2021-02-01-site-generators.adoc +3 -2
  138. data/lib/starter_web/collections/posts/public/featured/_posts/{2022-02-28-about-j1.adoc → 2022-02-01-about-j1.adoc} +2 -3
  139. data/lib/starter_web/collections/posts/public/featured/_posts/_includes/attributes.asciidoc +2 -2
  140. data/lib/starter_web/dot.ruby-version +1 -0
  141. data/lib/starter_web/index.html +6 -2
  142. data/lib/starter_web/package.json +1 -1
  143. data/lib/starter_web/pages/public/blog/navigator/archive/categoryview.html +1 -1
  144. data/lib/starter_web/pages/public/blog/navigator/archive/dateview.html +1 -1
  145. data/lib/starter_web/pages/public/blog/navigator/archive/tagview.html +1 -1
  146. data/lib/starter_web/pages/public/blog/navigator/archive.html +1 -1
  147. data/lib/starter_web/pages/public/blog/navigator/index.html +2 -2
  148. data/lib/starter_web/pages/public/features/general.adoc +0 -1
  149. data/lib/starter_web/pages/public/features/template.adoc +4 -5
  150. data/lib/starter_web/pages/public/jupyter/examples/distributed/j1-common-used-widgets.adoc +1 -1
  151. data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/j1_circular_times_table.html +747 -747
  152. data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/j1_climate_change_forecast.html +1250 -1250
  153. data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/j1_docs_example_dynamic.html +186 -186
  154. data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/j1_interactive_widgets.html +512 -512
  155. data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/j1_nbi_widgets.html +629 -629
  156. data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/j1_nbi_widgets_bar_chart.html +95 -95
  157. data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/j1_nbi_widgets_hist_chart.html +93 -93
  158. data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/j1_nbi_widgets_line_chart.html +96 -96
  159. data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/j1_nbi_widgets_question_multiple_choice.html +70 -70
  160. data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/j1_nbi_widgets_question_short_answer.html +156 -156
  161. data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/j1_nbi_widgets_scatter_chart.html +95 -95
  162. data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/j1_nbi_widgets_scatter_drag_chart.html +93 -93
  163. data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/j1_odes_in_python.html +955 -955
  164. data/lib/starter_web/pages/public/learn/roundtrip/300_icon_fonts.adoc +2 -1
  165. data/lib/starter_web/pages/public/learn/roundtrip/400_asciidoc_extensions.adoc +0 -28
  166. data/lib/starter_web/pages/public/learn/roundtrip/500_themes.adoc +1 -1
  167. data/lib/starter_web/pages/public/learn/roundtrip/_includes/attributes.asciidoc +6 -6
  168. data/lib/starter_web/pages/public/panels/intro_panel/_includes/attributes.asciidoc +5 -5
  169. data/lib/starter_web/pages/public/previewer/preview_bootstrap_theme.adoc +3 -3
  170. data/lib/starter_web/pages/public/se/se-fake.adoc +44 -0
  171. data/lib/starter_web/utilsrv/_defaults/package.json +1 -1
  172. data/lib/starter_web/utilsrv/package.json +1 -1
  173. metadata +156 -149
  174. data/assets/data/twa_v1.json +0 -7039
  175. data/lib/starter_web/collections/posts/public/featured/_posts/2021-01-01-about-cookies.ads.asciidoc +0 -196
  176. data/lib/starter_web/collections/posts/public/featured/_posts/2021-01-01-about-cookies.comments.asciidoc +0 -182
@@ -11,49 +11,66 @@
11
11
  # J1 Template is licensed under the MIT License.
12
12
  # See: https://github.com/jekyll-one-org/J1 Template/blob/master/LICENSE
13
13
  # ------------------------------------------------------------------------------
14
- #
15
- # To install all gem needed for Jekyll and J1 Template
16
- #
17
- # bundle install
18
- #
19
- # Note: If all packages needed are installed, a list of all gem
20
- # and dependencies installed for the bundle can created
21
- # by running:
22
- #
23
- # bundle list
24
- #
14
+
25
15
  # ------------------------------------------------------------------------------
16
+ # NOTE:
17
+ # To install all gem needed for Jekyll and J1 Template:
18
+ # bundle install
26
19
  #
27
- # If you see warnings like:
20
+ # TIP:
21
+ # If all packages needed are installed, a list of all gem and dependencies
22
+ # installed for the bundle canbe created by running:
23
+ # bundle list
28
24
  #
25
+ # ------------------------------------------------------------------------------
26
+ # NOTE:
27
+ # If you see warnings like:
29
28
  # WARN: Unresolved specs during Gem::Specification.reset
30
- # cleanup your bundle by running:
31
- #
32
- # gem cleanup
29
+ # you may need to cleanup your bundle by running:
30
+ # gem cleanup
33
31
  #
34
32
  # ------------------------------------------------------------------------------
33
+
34
+ # ------------------------------------------------------------------------------
35
+ # Define the (download) source, Ruby GEMs are to be loaded from REMOTE
36
+ #
35
37
  source 'https://rubygems.org'
36
38
 
37
39
  # ------------------------------------------------------------------------------
38
- # Jekyll
39
- # NOTE: J1 Template is using Jekyll v3.8 and above
40
+ # Specify your Ruby version if the J1 Project is used as an container-based
41
+ # web application. This makes sure to use identical Ruby runtime environments
42
+ # for BUILD and RUN (e.g. for Docker images or a Dyno on Heroku).
40
43
  #
44
+ # ruby '3.1'
41
45
 
42
46
  # ------------------------------------------------------------------------------
43
- # Use Jekyll version from GH master
47
+ # Jekyll
48
+ # ------------------------------------------------------------------------------
49
+ # NOTE:
50
+ # J1 Template is using Jekyll v4.0 and above
51
+ #
52
+ # ------------------------------------------------------------------------------
53
+ # NOTE:
54
+ # Use|Install a Jekyll version loaded from 'Github' (branch: master):
55
+ # gem 'jekyll', github: 'jekyll/jekyll'
56
+ # ------------------------------------------------------------------------------
57
+ # NOTE:
58
+ # For default, the Jekyll GEM is loaded from REMOTE
59
+ # ------------------------------------------------------------------------------
44
60
  #
45
- # Support for Ruby version 2.7 (DEC 2019)
46
- # See: https://github.com/jekyll/jekyll/issues/8049
47
- # gem 'jekyll', github: 'jekyll/jekyll'
61
+ gem 'jekyll', '~> 4.0'
48
62
 
49
63
  # ------------------------------------------------------------------------------
50
- # Use Jekyll version from RubyGems
64
+ # Install Webrick GEM (internally used Web Server) if Ruby V3 is used
51
65
  #
52
- gem 'jekyll', '~> 4.2'
66
+ install_if -> { RUBY_VERSION =~ /3/ } do
67
+ gem 'webrick', '~> 1.7'
68
+ end
53
69
 
54
- # Theme Rubies, default: J1 Template (NOT used for the development system)
70
+ # ------------------------------------------------------------------------------
71
+ # Specify the THEME GEM used for the project
55
72
  #
56
- gem 'j1-template', '~> 2022.4.10'
73
+ gem 'j1-template', '~> 2022.5.0.rc2'
57
74
 
58
75
  # ------------------------------------------------------------------------------
59
76
  # PRODUCTION: Gem needed for the Jekyll and J1 prod environment
@@ -73,13 +90,13 @@ gem 'nokogiri-pretty', '>= 0.1.0'
73
90
  gem 'htmlbeautifier', '>= 1.2.1'
74
91
 
75
92
  # ------------------------------------------------------------------------------
76
- # Gem needed to compress JS and JSON files
93
+ # Compress JS and JSON files
77
94
  #
78
95
  gem 'uglifier', '~> 4.2'
79
96
  gem 'json-minify', '~> 0.0.3'
80
97
 
81
98
  # ------------------------------------------------------------------------------
82
- # Gem needed to run JS to create Lunr the index
99
+ # Run JS code (from Ruby) to create the index for Lunr
83
100
  #
84
101
  gem 'execjs', '~> 2.7'
85
102
 
@@ -89,56 +106,79 @@ gem 'execjs', '~> 2.7'
89
106
  gem 'tzinfo', '>= 1.2.2'
90
107
 
91
108
  # ------------------------------------------------------------------------------
92
- # Platform specific Gem
109
+ # Platform specific GEM
93
110
  #
94
-
111
+ # NOTE:
95
112
  # Windows does not include zoneinfo files (timezone support).
96
113
  # To provide zoneinfo, tzinfo-data gem is bundled on win platforms
97
114
  #
98
- gem 'tzinfo-data' if Gem.win_platform?
99
-
100
- # Windows Directory Monitor (WDM) monitor directories
115
+ # ------------------------------------------------------------------------------
116
+ # NOTE:
117
+ # Windows Directory Monitor (WDM) required to monitor directories
101
118
  # for changes
102
119
  #
103
- gem 'wdm', '>= 0.1.1' if Gem.win_platform?
120
+ # ------------------------------------------------------------------------------
121
+ #
122
+ install_if -> { Gem.win_platform? } do
123
+ gem 'tzinfo-data'
124
+ gem 'wdm', '>= 0.1.1'
125
+ end
104
126
 
105
127
  # ------------------------------------------------------------------------------
106
128
  # Jekyll Plugins
107
- # If any (additional) plugins are used, they goes here:
108
- # ------------------------------------------------------------------------------
109
- # NOTE: asciidoctor v2.x (automatically loaded via ???) creates corrupted
110
- # asciidoctor-rouge output. Currently, older/latest version v1.x is used
129
+ # If any (additional) Jekyll Plugins are used, they goes here
111
130
  #
112
131
  group :jekyll_plugins do
113
- # gem 'algolia', '~> 2.0', '>= 2.0.4' # New/latest (Jekyll-)Algolia gem
114
- gem 'asciidoctor', '= 1.5.8' # See notes!!!
115
- # gem 'asciidoctor-pdf', '>= 1.5.4' # Used for PDF creation only
116
- gem 'asciidoctor-rouge', '>= 0.4.0'
132
+ # Base Jekyll Plugins (required)
133
+ #
134
+ gem 'asciidoctor', '~> 2.0'
117
135
  gem 'jekyll-asciidoc', '>= 3.0.0'
118
- # gem 'jekyll-feed', ">= 0.15.1"
119
- # gem 'jekyll-gist', '>= 1.5.0' # Useful ???
120
- # gem 'jekyll-redirect-from', '>= 0.16.0' # Useful ???
121
- # gem 'jekyll-sass-converter', '>= 2.1.0' # Used if SASS (file) conversion is enabled
122
- gem 'jekyll-sitemap', '>= 1.2.0'
123
- gem 'j1-paginator', '>= 2021.1.1' # New version !!!
136
+ gem 'j1-paginator', '>= 2021.1.1'
137
+ #
138
+ # Additional Supporting GEMs (optional)
139
+ #
140
+ # gem 'algolia', '~> 2.0', '>= 2.0.4' # Required for Algolia support only
141
+ # gem 'asciidoctor-pdf', '>= 1.5.4' # Required for Asciidoctor PDF creation only
142
+ # gem 'jekyll-sass-converter', '>= 2.1.0' # Required for Jekyll|SASS (file) conversion support
143
+ #
144
+ # Additional Jekyll Plugins (optional)
145
+ #
146
+ gem 'jekyll-sitemap', '>= 1.2.0' # Create XML sitemap (recommended)
147
+ # gem 'jekyll-feed', ">= 0.15.1"
148
+ # gem 'jekyll-gist', '>= 1.5.0'
149
+ # gem 'jekyll-redirect-from', '>= 0.16.0'
124
150
  end
125
151
 
126
152
  # ------------------------------------------------------------------------------
127
- # Web Application specific RubyGems
153
+ # GEM needed for the Jekyll and J1 dev environment
154
+ #
155
+ # NOTE:
156
+ # For the build (npm|yarn), J1 Template is using scss_lint
157
+ # for linting the SCSS (Sass) components.
128
158
  #
159
+ # ------------------------------------------------------------------------------
160
+ # NOTE:
161
+ # scss_lint is based on old gem 'sass', '~> 3.5.5'. A replacement
162
+ # is needed (?) for a linter using the new Ruby Sass GEM (sassc)
163
+ # gem 'scss_lint', '~> 0.56.0', require: false
164
+ #
165
+ # ------------------------------------------------------------------------------
166
+ gem 'sassc', '~> 2.4'
167
+ gem 'bump', '~> 0.10'
129
168
 
130
169
  # ------------------------------------------------------------------------------
131
- # Define your Ruby version if the J1 web is used as an container-based
132
- # web application, e.g. on Docker or a Heroku Dyno, to define and use
133
- # of identical Ruby runtime environments.
170
+ # Web Application specific RubyGems
134
171
  #
135
- # ruby '2.7.2'
136
172
 
137
173
  # ------------------------------------------------------------------------------
174
+ # Ruby Task Manager
175
+ #
176
+ # NOTE:
138
177
  # Enable the `rake` Gem if needed. For container-based apps, Rake can
139
178
  # be used as a pre-processor engine running # tasks defined by a
140
179
  # Rakefile prior running the app|web.
141
180
  #
181
+ # ------------------------------------------------------------------------------
142
182
  # gem 'rake', '~> 12.0'
143
183
 
144
184
  # html-proofer. Automate the process of checking links on your site
@@ -154,6 +194,9 @@ end
154
194
  # gem 'html-proofer', '~> 3.10'
155
195
 
156
196
  # ------------------------------------------------------------------------------
197
+ # Web server used by applications
198
+ #
199
+ # NOTE:
157
200
  # Define the build environment and the web server for J1 sites that
158
201
  # runs as an web application. To improve the production (run-time)
159
202
  # performance for the web, the RubyGems e.g Puma or Passenger can be
@@ -165,59 +208,63 @@ end
165
208
  # For container-based apps, Rake can be used as a pre-processor engine
166
209
  # running # tasks defined by a Rakefile prior running the app|web.
167
210
  #
211
+ # ------------------------------------------------------------------------------
212
+ #
168
213
  # gem 'passenger', '>= 5.3'
169
214
  gem 'puma', '>= 5.5.2'
170
215
 
171
216
  # ------------------------------------------------------------------------------
217
+ # Data encryption (currently NOT supported)
218
+ #
219
+ # NOTE:
172
220
  # OpenSSL provides SSL, TLS and general purpose cryptography. Used to
173
- # encrypt 'private' data
174
- # NOTE: currently NOT used
221
+ # encrypt 'private' data used by applications.
175
222
  #
223
+ # ------------------------------------------------------------------------------
176
224
  # gem 'openssl'
177
225
 
178
226
  # ------------------------------------------------------------------------------
227
+ # Runtime environment for applications
228
+ #
229
+ # NOTE:
179
230
  # If J1 is transformed into a (Rack and Sinatra based) Web
180
231
  # application, the site can be secured using user authentication
181
232
  # for accessing private pages. J1 is using the Omniauth stack for
182
233
  # authentication. For default, the Omniauth (authentication) strategies
183
234
  # for Github, Twitter, Facebook and Patreon are implemented.
184
235
  #
236
+ # ------------------------------------------------------------------------------
185
237
  gem 'rack', '~> 2.2', '>= 2.2.3'
186
238
  gem 'rack-protection', '~> 2.0'
187
239
  gem 'rack-ssl-enforcer', '~> 0.2'
188
240
  gem 'rest-client', '~> 2.0'
241
+ gem 'sinatra', '~> 2.0'
242
+ gem 'warden', '~> 1.2'
189
243
 
190
- # NOTE: For the base gem omniauth, the currtent version >= 2 cannot be
191
- # used. For unknown reason, a WRONG redirect URL is calculated
192
- # e.g. for strategy oauth2/github
244
+ # ------------------------------------------------------------------------------
245
+ # Authentication
193
246
  #
194
- # Wrong: http://localhost:xxx/auth/github
195
- # Correct: https://github.com/login?client_id=xx&return=yyy
247
+ # NOTE:
248
+ # For the base gem omniauth, the currtent version >= 2 cannot be
249
+ # used. For unknown reason, a WRONG redirect URL is calculated
250
+ # e.g. for strategy oauth2/github
251
+ # Wrong: http://localhost:xxx/auth/github
252
+ # Correct: https://github.com/login?client_id=xx&return=yyy
196
253
  #
254
+ # ------------------------------------------------------------------------------
255
+ # Note:
256
+ # For upcoming J1 versions, v2.x version will be used
197
257
  # gem 'omniauth', '~> 2.0'
198
-
199
- gem 'omniauth', '~> 1.0' # latest: 1.9.1
258
+ # ------------------------------------------------------------------------------
259
+ gem 'omniauth', '~> 1.9'
200
260
  gem 'omniauth-oauth2', '~> 1.7'
201
261
 
202
- gem 'sinatra', '~> 2.0'
203
- gem 'warden', '~> 1.2'
204
-
205
262
  # ------------------------------------------------------------------------------
206
- # Gem needed for J1 logger based on log4r (middleware)
207
- #
263
+ # Logging
264
+ # GEM required for J1 logger based on log4r (middleware)
265
+ # ------------------------------------------------------------------------------
208
266
  gem 'log4r', '~> 1.1', '>= 1.1.10'
209
267
  gem 'date', '~> 2.0'
210
268
 
211
- # ------------------------------------------------------------------------------
212
- # DEVELOPMENT: Gem needed for the Jekyll and J1 dev environment
213
- #
214
-
215
- # For the build (npm|yarn), J1 Template is using scss_lint
216
- # for linting the SCSS (CSS) components:
217
- #
218
- gem 'scss_lint', '~> 0.56.0'
219
- gem 'sass', '~> 3.5.0'
220
- gem 'bump', '~> 0.8'
221
-
222
269
  # ------------------------------------------------------------------------------
223
270
  # END
@@ -10,6 +10,8 @@
10
10
  # J1 Template is licensed under the MIT License.
11
11
  # See: https://github.com/jekyll-one-org/J1 Template/blob/master/LICENSE
12
12
  # ------------------------------------------------------------------------------
13
+ # WARNING: This configuration can only be used for Ruby V3
14
+ # ------------------------------------------------------------------------------
13
15
 
14
16
  # ==============================================================================
15
17
  # 1. BUILD configuration
@@ -53,7 +55,7 @@ environment: development
53
55
  # ------------------------------------------------------------------------------
54
56
  # Sets the build version of J1 Template Gem
55
57
  #
56
- version: 2022.4.10
58
+ version: 2022.5.0.rc2
57
59
 
58
60
  # version
59
61
  # ------------------------------------------------------------------------------
@@ -74,16 +76,11 @@ copyright: © 2022 J1 · All rights reserved
74
76
  # components are available public at RubyGems.org.
75
77
  #
76
78
  #
77
- # theme (NOT set for development system)
79
+ # theme
78
80
  # ------------------------------------------------------------------------------
79
81
  # Sets the name of the (gem-based) theme used for Jekyll
80
82
  # serve and build
81
83
  #
82
- # Note: Do not change anything here because (gem-based) theme name
83
- # information is bumped-in by the build process automatically
84
- #
85
- # default: j1-template
86
- #
87
84
  theme: j1-template
88
85
 
89
86
  # ------------------------------------------------------------------------------
@@ -269,7 +266,7 @@ robots:
269
266
  # Set the brand image and favicon (located in /asset/images)
270
267
 
271
268
  brand:
272
- image: modules/icons/j1/j1-512x512.png
269
+ image: icons/j1/j1-512x512.png
273
270
  image_height: 48px
274
271
  text: Jekyll One
275
272
  text_color: "#9E9E9E"
@@ -277,7 +274,7 @@ brand:
277
274
  # Set the favicon and type
278
275
  #
279
276
  favicon:
280
- image: modules/icons/j1/j1-32x32.ico
277
+ image: icons/j1/j1-32x32.ico
281
278
  type: image/ico
282
279
 
283
280
  # ==============================================================================
@@ -53,13 +53,19 @@ settings:
53
53
  enabled: true
54
54
  id: attic_home
55
55
  layout: home
56
+ # title_animate: animate__fadeInDown
57
+ # raised_level: 15
56
58
  padding_top: 400
57
59
  padding_bottom: 50
58
60
  opacity: 0.5
59
- # title_animate: animate__fadeInDown
60
- # raised_level: 15
61
- # background_color_1: "#512DA8" # deep-purple-700
62
- # background_color_2: "#B39DDB" # deep-purple-200
61
+ # background_color_1: transparent
62
+ # background_color_2: transparent
63
+ background_color_1: "#0D47A1" # md-blue-900
64
+ background_color_2: "#0D47A1" # md-blue-900
65
+ filters:
66
+ grayscale: 1
67
+ contrast: 0.8
68
+ brightness: 0.8
63
69
 
64
70
  # --------------------------------------------------------------------------
65
71
  # layouts posts|pages
@@ -72,6 +78,9 @@ settings:
72
78
  padding_top: 400
73
79
  padding_bottom: 50
74
80
  opacity: 0.5
81
+ filters:
82
+ grayscale: 0.5
83
+ sepia: 0.5
75
84
 
76
85
  # --------------------------------------------------------------------------
77
86
  # layouts raw
@@ -51,7 +51,7 @@ defaults:
51
51
 
52
52
  title_size: 3em
53
53
  title_color: rgba(255, 255, 255, 0.8) # rgba_lighten_800
54
- title_animate: animate__bounceInDown # fadeInDown fadeInLeft
54
+ title_animate: animate__bounceInDown # fadeInDown fadeInLeft
55
55
  title_align: left
56
56
 
57
57
  tagline_size: 1.5em
@@ -128,7 +128,7 @@ defaults:
128
128
 
129
129
  raised_level: 5 # level
130
130
  delay_menu_open: 200 # milli seconds
131
- max_height: 550 # px
131
+ max_height: 600 # px
132
132
  menu_font_size: larger
133
133
  megamenu_font_size: small
134
134
  icon_family: MDI
@@ -146,7 +146,7 @@ defaults:
146
146
  dropdown_animate_out: fadeOutDown
147
147
  dropdown_animate_duration: .75 # seconds
148
148
  dropdown_item_min_width: 15 # rem
149
- dropdown_menu_max_height: 25.5 # rem
149
+ dropdown_menu_max_height: 27 # rem
150
150
  dropdown_font_size: small
151
151
  dropdown_padding_x: 18 # rem
152
152
  dropdown_padding_y: 10 # px
@@ -240,7 +240,7 @@ defaults:
240
240
  close_icon: close
241
241
  clear_icon: format-clear
242
242
  input_color: rgba(0, 0, 0, 0.7) # rgba-darken-700
243
- background_color: "#FAFAFA" # md-grey-50
243
+ background_color: transparent # md-grey-50
244
244
  placeholder: Your search expression
245
245
  search_heading_lead: ""
246
246
  result_heading_lead: ""
@@ -150,7 +150,7 @@ defaults:
150
150
 
151
151
  reloadPageOnChange: false # reload current page, if theme has been changed
152
152
  retries: 30 # retry to load theme list from API
153
- preview_page: /pages/public/previewer/theme/
153
+ preview_page: /pages/public/previewer/current_theme/
154
154
  menu_icon_family: MDI
155
155
  menu_icon_color: "#9E9E9E"
156
156
  menu_icon_size: mdi-sm
@@ -100,7 +100,7 @@ settings:
100
100
  # DRAWER Sidebar
101
101
  #
102
102
  - menu:
103
- enabled: true
103
+ enabled: false
104
104
 
105
105
  xhr_container_id: navigator_sidebar_mmenu
106
106
  xhr_data_element: sidebar_mmenu
@@ -128,7 +128,7 @@ settings:
128
128
  - title: Name
129
129
  icon: face
130
130
  value: ??theme-name
131
- href: /pages/public/previewer/theme/
131
+ href: /pages/public/previewer/current_theme/
132
132
  target: none
133
133
  - title: Author
134
134
  icon: grease-pencil
@@ -138,7 +138,7 @@ settings:
138
138
  - title: Version
139
139
  icon: numeric
140
140
  value: ??theme-version
141
- href: /pages/public/previewer/theme/
141
+ href: /pages/public/previewer/current_theme/
142
142
  target: none
143
143
 
144
144
  - box: