j1-template 2021.0.6 → 2021.0.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (129) hide show
  1. checksums.yaml +4 -4
  2. data/_includes/themes/j1/procedures/global/attributes_loader.proc +2 -2
  3. data/assets/data/menu.html +32 -3
  4. data/assets/themes/j1/core/css/icon-fonts/fontawesome.css +299 -12
  5. data/assets/themes/j1/core/css/icon-fonts/fontawesome.min.css +1 -1
  6. data/assets/themes/j1/core/css/themes/uno-light/bootstrap.css +22 -2
  7. data/assets/themes/j1/core/css/themes/uno-light/bootstrap.min.css +1 -1
  8. data/assets/themes/j1/core/fonts/fontawesome_5/fonts/eot/fa-brands-400.eot +0 -0
  9. data/assets/themes/j1/core/fonts/fontawesome_5/fonts/eot/fa-regular-400.eot +0 -0
  10. data/assets/themes/j1/core/fonts/fontawesome_5/fonts/eot/fa-solid-900.eot +0 -0
  11. data/assets/themes/j1/core/fonts/fontawesome_5/fonts/fa-brands-400.woff +0 -0
  12. data/assets/themes/j1/core/fonts/fontawesome_5/fonts/fa-brands-400.woff2 +0 -0
  13. data/assets/themes/j1/core/fonts/fontawesome_5/fonts/fa-regular-400.woff +0 -0
  14. data/assets/themes/j1/core/fonts/fontawesome_5/fonts/fa-regular-400.woff2 +0 -0
  15. data/assets/themes/j1/core/fonts/fontawesome_5/fonts/fa-solid-900.woff +0 -0
  16. data/assets/themes/j1/core/fonts/fontawesome_5/fonts/fa-solid-900.woff2 +0 -0
  17. data/assets/themes/j1/core/fonts/fontawesome_5/fonts/svg/fa-brands-400.svg +855 -597
  18. data/assets/themes/j1/core/fonts/fontawesome_5/fonts/svg/fa-regular-400.svg +94 -96
  19. data/assets/themes/j1/core/fonts/fontawesome_5/fonts/svg/fa-solid-900.svg +1272 -771
  20. data/assets/themes/j1/core/fonts/fontawesome_5/fonts/ttf/fa-brands-400.ttf +0 -0
  21. data/assets/themes/j1/core/fonts/fontawesome_5/fonts/ttf/fa-regular-400.ttf +0 -0
  22. data/assets/themes/j1/core/fonts/fontawesome_5/fonts/ttf/fa-solid-900.ttf +0 -0
  23. data/lib/j1/commands/generate.rb +3 -2
  24. data/lib/j1/version.rb +1 -1
  25. data/lib/starter_web/Gemfile +1 -1
  26. data/lib/starter_web/_config.yml +2 -2
  27. data/lib/starter_web/_data/asciidoc2pdf/themes/j1-theme.yml +225 -188
  28. data/lib/starter_web/_data/modules/defaults/navigator.yml +1 -1
  29. data/lib/starter_web/_data/modules/defaults/toccer.yml +1 -1
  30. data/lib/starter_web/_data/modules/navigator_menu.yml +16 -3
  31. data/lib/starter_web/_includes/attributes.asciidoc +24 -10
  32. data/lib/starter_web/_plugins/asciidoctor-extensions/fab-icon-inline.rb +1 -1
  33. data/lib/starter_web/_plugins/lunr_index.rb +1 -1
  34. data/lib/starter_web/assets/images/modules/icons/d1/scalable/d1.svg +1 -1
  35. data/lib/starter_web/assets/images/pages/skeleton/annie-spratt-1920x1280.jpg +0 -0
  36. data/lib/starter_web/assets/images/pages/skeleton/antonino-visalli-1920x1280.jpg +0 -0
  37. data/lib/starter_web/assets/images/pages/skeleton/humble-lamb-1920x1280.jpg +0 -0
  38. data/lib/starter_web/assets/images/pages/skeleton/library-1920x1280.jpg +0 -0
  39. data/lib/starter_web/assets/images/pages/skeleton/romain-vignes-1920x1280.jpg +0 -0
  40. data/lib/starter_web/assets/images/pages/skeleton/sigmund-1920x1280.jpg +0 -0
  41. data/lib/starter_web/assets/images/pages/writers_guide/1280px-PDCA_Process.png +0 -0
  42. data/lib/starter_web/assets/images/pages/writers_guide/annie-spratt-1920x1280.jpg +0 -0
  43. data/lib/starter_web/assets/images/pages/writers_guide/deming-cycle.png +0 -0
  44. data/lib/starter_web/assets/images/pages/writers_guide/humble-lamb-1920x1280.jpg +0 -0
  45. data/lib/starter_web/assets/images/pages/writers_guide/john-schnobrich-1920x1280.jpg +0 -0
  46. data/lib/starter_web/assets/images/pages/writers_guide/sigmund-1920x1280.jpg +0 -0
  47. data/lib/starter_web/collections/posts/public/featured/_posts/2020-04-01-confusion-about-base-url.adoc +1 -1
  48. data/lib/starter_web/collections/posts/public/featured/_posts/2020-05-01-top-open-source-static-site-generators.adoc +1 -1
  49. data/lib/starter_web/collections/posts/public/featured/_posts/2020-06-01-about-cookies.adoc +1 -1
  50. data/lib/starter_web/collections/posts/public/series/_posts/2020-01-01-post-test-series.adoc +1 -1
  51. data/lib/starter_web/collections/posts/public/series/_posts/2020-01-02-post-test-series.adoc +1 -1
  52. data/lib/starter_web/collections/posts/public/series/_posts/2020-01-03-post-test-series.adoc +1 -1
  53. data/lib/starter_web/collections/posts/public/series/_posts/2020-01-04-post-test-series.adoc +1 -1
  54. data/lib/starter_web/package.json +1 -1
  55. data/lib/starter_web/pages/public/about/about_site.adoc +52 -2
  56. data/lib/starter_web/pages/public/asciidoc_skeletons/_templates/asciidoc-extensions/blindtext.asciidoc +11 -0
  57. data/lib/starter_web/pages/public/asciidoc_skeletons/_templates/asciidoc-extensions/font_icons.asciidoc +23 -0
  58. data/lib/starter_web/pages/public/asciidoc_skeletons/_templates/asciidoc-extensions/gallery.asciidoc +5 -0
  59. data/lib/starter_web/pages/public/asciidoc_skeletons/_templates/asciidoc-extensions/lightbox.asciidoc +7 -0
  60. data/lib/starter_web/pages/public/asciidoc_skeletons/_templates/documents/chapter_document.asciidoc +9 -0
  61. data/lib/starter_web/pages/public/asciidoc_skeletons/_templates/documents/entry_document.asciidoc +3 -0
  62. data/lib/starter_web/pages/public/asciidoc_skeletons/_templates/images/image.asciidoc +6 -0
  63. data/lib/starter_web/pages/public/asciidoc_skeletons/_templates/tables/table_2_column.asciidoc +12 -0
  64. data/lib/starter_web/pages/public/asciidoc_skeletons/_templates/tables/table_2_column_options.asciidoc +30 -0
  65. data/lib/starter_web/pages/public/asciidoc_skeletons/_templates/tables/table_3_column.asciidoc +16 -0
  66. data/lib/starter_web/pages/public/asciidoc_skeletons/_templates/tables/table_4_column.asciidoc +25 -0
  67. data/lib/starter_web/pages/public/asciidoc_skeletons/book/000_intro.adoc +61 -0
  68. data/lib/starter_web/pages/public/asciidoc_skeletons/book/100_chapter.adoc +58 -0
  69. data/lib/starter_web/pages/public/asciidoc_skeletons/book/200_chapter.adoc +59 -0
  70. data/lib/starter_web/pages/public/asciidoc_skeletons/book/900_references.adoc +68 -0
  71. data/lib/starter_web/pages/public/asciidoc_skeletons/book/_includes/attributes.asciidoc +68 -0
  72. data/lib/starter_web/pages/public/asciidoc_skeletons/book/_includes/documents/000_intro.asciidoc +33 -0
  73. data/lib/starter_web/pages/public/asciidoc_skeletons/book/_includes/documents/100_chapter.asciidoc +7 -0
  74. data/lib/starter_web/pages/public/asciidoc_skeletons/book/_includes/documents/100_chapter/100_chapter_document.asciidoc +21 -0
  75. data/lib/starter_web/pages/public/asciidoc_skeletons/book/_includes/documents/100_chapter/110_chapter_document.asciidoc +36 -0
  76. data/lib/starter_web/pages/public/asciidoc_skeletons/book/_includes/documents/200_chapter.asciidoc +5 -0
  77. data/lib/starter_web/pages/public/asciidoc_skeletons/book/_includes/documents/200_chapter/200_chapter_document.asciidoc +53 -0
  78. data/lib/starter_web/pages/public/asciidoc_skeletons/book/_includes/documents/900_references.asciidoc +23 -0
  79. data/lib/starter_web/pages/public/asciidoc_skeletons/book/_includes/documents/900_references/000_intro.asciidoc +23 -0
  80. data/lib/starter_web/pages/public/asciidoc_skeletons/book/_includes/documents/900_references/100_chapter_document.asciidoc +33 -0
  81. data/lib/starter_web/pages/public/asciidoc_skeletons/book/_includes/documents/900_references/200_chapter_document.asciidoc +26 -0
  82. data/lib/starter_web/pages/public/asciidoc_skeletons/book/_includes/documents/900_references/900_sources.asciidoc +81 -0
  83. data/lib/starter_web/pages/public/asciidoc_skeletons/book/_includes/documents/tables/110_material_design_icons.asciidoc +102 -0
  84. data/lib/starter_web/pages/public/asciidoc_skeletons/book/a2p.bat +28 -0
  85. data/lib/starter_web/pages/public/asciidoc_skeletons/book/a2p.sh +26 -0
  86. data/lib/starter_web/pages/public/asciidoc_skeletons/book/book.a2p +114 -0
  87. data/lib/starter_web/pages/public/asciidoc_skeletons/book/book.adoc +128 -0
  88. data/lib/starter_web/pages/public/asciidoc_skeletons/book/book.pdf +5440 -0
  89. data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/100_chapter.asciidoc +60 -0
  90. data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/200_chapter.asciidoc +59 -0
  91. data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/_includes/attributes.asciidoc +63 -0
  92. data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/_includes/documents/100_chapter.asciidoc +53 -0
  93. data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/_includes/documents/200_chapter.asciidoc +53 -0
  94. data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/_includes/documents/tables/110_material_design_icons.asciidoc +102 -0
  95. data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/multi.adoc +84 -0
  96. data/lib/starter_web/pages/public/asciidoc_skeletons/simple-document/simple.adoc +236 -0
  97. data/lib/starter_web/pages/public/learn/roundtrip/100_present_images.adoc +2 -2
  98. data/lib/starter_web/pages/public/learn/roundtrip/100_present_videos.adoc +1 -1
  99. data/lib/starter_web/pages/public/learn/roundtrip/200_typography.adoc +1 -269
  100. data/lib/starter_web/pages/public/learn/roundtrip/300_icon_fonts.adoc +163 -81
  101. data/lib/starter_web/pages/public/learn/roundtrip/400_asciidoc_extensions.adoc +5 -8
  102. data/lib/starter_web/pages/public/learn/roundtrip/410_bs_modals_extentions.adoc +4 -5
  103. data/lib/starter_web/pages/public/learn/roundtrip/420_responsive_tables_extensions.adoc +1 -54
  104. data/lib/starter_web/pages/public/learn/roundtrip/500_themes.adoc +75 -39
  105. data/lib/starter_web/pages/public/learn/roundtrip/600_quicksearch.adoc +17 -1
  106. data/lib/starter_web/pages/public/learn/roundtrip/_includes/attributes.asciidoc +1 -1
  107. data/lib/starter_web/pages/public/learn/roundtrip/_includes/documents/{410_table_3_column.asciidoc → 410_table_bs_modal_examples.asciidoc} +0 -0
  108. data/lib/starter_web/pages/public/learn/roundtrip/_includes/documents/tables/bs_modal_examples.asciidoc +47 -0
  109. data/lib/starter_web/pages/public/learn/where_to_go.adoc +1 -1
  110. data/lib/starter_web/pages/public/previewer/_includes/tables/rouge/200_rouge_attributes.asciidoc +1 -1
  111. data/lib/starter_web/pages/public/previewer/mdi_icons_preview.adoc +1 -1
  112. data/lib/starter_web/pages/public/previewer/rouge.adoc +41 -4
  113. data/lib/starter_web/pages/public/previewer/twitter_emoji_preview.adoc +1 -1
  114. data/lib/starter_web/utilsrv/_defaults/package.json +1 -1
  115. data/lib/starter_web/utilsrv/package.json +1 -1
  116. metadata +57 -16
  117. data/assets/themes/j1/modules/twemoji/js/LICENSE +0 -21
  118. data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/100_meet_and_greet_jekyll.adoc +0 -79
  119. data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/200_preparations.adoc +0 -77
  120. data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/300_first_awesome_web.adoc +0 -75
  121. data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/_includes/attributes.asciidoc +0 -176
  122. data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/_includes/documents/100_meet_and_greet_jekyll.asciidoc +0 -31
  123. data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/_includes/documents/200_preparations.asciidoc +0 -14
  124. data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/_includes/documents/300_first_awesome_web.asciidoc +0 -11
  125. data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/_includes/parts.asciidoc +0 -193
  126. data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/_includes/tables/debug_variables.asciidoc +0 -47
  127. data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/_includes/tables/readme +0 -1
  128. data/lib/starter_web/pages/public/learn/roundtrip/610_fam.adoc +0 -294
  129. data/lib/starter_web/pages/public/learn/roundtrip/_includes/tables/readme +0 -0
@@ -0,0 +1,5 @@
1
+ // ~/document_base_folder/_includes/documents
2
+ // Sublevel Entry Document: 200_chapter.asciidoc
3
+ // -----------------------------------------------------------------------------
4
+
5
+ include::200_chapter/200_chapter_document.asciidoc[]
@@ -0,0 +1,53 @@
1
+ // ~/document_base_folder/_includes/documents/200_chapter/
2
+ // Chapter document: 200_chapter_document.asciidoc
3
+ // -----------------------------------------------------------------------------
4
+
5
+ == Chapter 2
6
+
7
+ A Lightbox, in general, is a helper which displays enlarged, almost
8
+ screen-filling versions of pictures (or videos), while dimming the rest of the
9
+ page. The technique, introduced by Lightbox V2, gained widespread popularity
10
+ due to its simple and elegant style. The term lightbox is used since then for
11
+ Javascript libraries to support such functionality.
12
+
13
+ For J1 Template, two different lightboxes can be used:
14
+
15
+ * Lightbox V2 (lightbox)
16
+ * LightGallery
17
+
18
+ The default lightbox used by J1 Template is Lightbox V2, a Javascript library
19
+ written by _Lokesh Dhakar_. The name of that (build-in) is simply: lightbox.
20
+ For more complex use cases, like a thumbnail gallery preview or video support,
21
+ LightGallery can be used alternatively.
22
+
23
+ NOTE: The name LightGallery implies a sort of a Gallery, but the library is a
24
+ _lightbox_. And, LightGallery provides much more functionality on image-based
25
+ data rather than enlarged displaying of images. See the examples below to check
26
+ for the differences in comparison to the simpler Lightbox V2 lightbox.
27
+
28
+ Both lightboxes are fully integrated to be used as standalone modules or to be
29
+ used as helpers _under-the-hood_ by other apps or modules focussing on
30
+ image-data like gallery or carousel, the build-in carousel module.
31
+
32
+ === Section
33
+
34
+ Find below an example of using the lightbox Lightbox standalone. See how
35
+ single (individual) images are linked for the use with Lightbox.
36
+
37
+ .Lightbox block for standalone images
38
+ lightbox::example-standalone[ 400, {data-images-standalone} ]
39
+
40
+ For a group of images (image sets), Lightbox support image groups. Click
41
+ on the images below to see how Lightbox manage image groups.
42
+
43
+ .Lightbox block for grouped images
44
+ lightbox::example-group[ 400, {data-images-group}, group ]
45
+
46
+ ==== Subsection
47
+
48
+ LightGallery provides more complex functions on image data. The lightbox
49
+ supports a gallery-style thumbnail preview plus image resizing, a dowload
50
+ dialogue, sharing provider support and some more helpful. Check what
51
+ LightGallery can do by the following example.
52
+
53
+ gallery::jg_example[]
@@ -0,0 +1,23 @@
1
+ // ~/document_base_folder/_includes/documents
2
+ // Sublevel Entry Document: 900_sources.asciidoc
3
+ // -----------------------------------------------------------------------------
4
+
5
+ == References
6
+
7
+ This section lists all references and sources used in all chapters of this
8
+ document. The sections <<Articles>>, <<HowTos>> or <<Blogs and Platforms>>
9
+ may give additional information for further reading.
10
+
11
+ Some documents are using symbols. Find an explanation in section <<legend>>.
12
+
13
+
14
+ // Include references by chapters
15
+ // -----------------------------------------------------------------------------
16
+
17
+ include::900_references/000_intro.asciidoc[]
18
+
19
+ include::900_references/100_chapter_document.asciidoc[]
20
+
21
+ include::900_references/200_chapter_document.asciidoc[]
22
+
23
+ include::900_references/900_sources.asciidoc[]
@@ -0,0 +1,23 @@
1
+ // ~/document_base_folder/_includes/documents/900_sources/
2
+ // Chapter document: 100_chapter_document.asciidoc
3
+ // -----------------------------------------------------------------------------
4
+
5
+ // URIs may moved to ~/000_includes/attributes.asciidoc
6
+ // -----------------------------------------------------------------------------
7
+ :url-wikipedia--introduction: https://en.wikipedia.org/wiki/Introduction_(writing)
8
+
9
+ === Introduction
10
+
11
+ .References - Introduction
12
+ [cols="3,^.>5a,^1,^1,^1,^1", subs=+macros, options="header", role="rtable mt-3 mb-5"]
13
+ |===============================================================================
14
+ |Author |Title |Year |Level |Cite |Source
15
+
16
+ |Wikipedia
17
+ |{url-wikipedia--introduction}[Introduction (writing), {browser-window--new}]
18
+ |na
19
+ |{level--beginner}
20
+ |{icon-checked}
21
+ |{icon-checked}
22
+
23
+ |===============================================================================
@@ -0,0 +1,33 @@
1
+ // ~/document_base_folder/_includes/documents/900_sources/
2
+ // Chapter document: 100_chapter_document.asciidoc
3
+ // -----------------------------------------------------------------------------
4
+
5
+ === Chapter 1
6
+
7
+ .References - Chapter 1
8
+ [cols="3,^.>5a,^1,^1,^1,^1", subs=+macros, options="header", role="rtable mt-3 mb-5"]
9
+ |===============================================================================
10
+ |Author |Title |Year |Level |Cite |Source
11
+
12
+ |Austin Andrews
13
+ |{url-mdi--home}[Material Design Icons, {browser-window--new}]
14
+ |2021
15
+ |{level--advanced}
16
+ |{icon-checked}
17
+ |{icon-times}
18
+
19
+ |Fonticons, Inc.
20
+ |{url-fontawesome--home}[FontAwesome Icons V5, {browser-window--new}]
21
+ |2021
22
+ |{level--advanced}
23
+ |{icon-checked}
24
+ |{icon-times}
25
+
26
+ |Iconify OÜ
27
+ |{url-iconify--home}[Iconify Icons, {browser-window--new}]
28
+ |2021
29
+ |{level--advanced}
30
+ |{icon-checked}
31
+ |{icon-times}
32
+
33
+ |===============================================================================
@@ -0,0 +1,26 @@
1
+ // ~/document_base_folder/_includes/documents/900_sources/
2
+ // Chapter document: 200_chapter_document.asciidoc
3
+ // -----------------------------------------------------------------------------
4
+
5
+ === Chapter 2
6
+
7
+ .References - Chapter 2
8
+ [cols="3,^.>5a,^1,^1,^1,^1", subs=+macros, options="header", role="rtable mt-3 mb-5"]
9
+ |===============================================================================
10
+ |Author |Title |Year |Level |Cite |Source
11
+
12
+ |Sachin N
13
+ |{url-lightbox-v2--home}[LightGallery, {browser-window--new}]
14
+ |2021
15
+ |{level--advanced}
16
+ |{icon-checked}
17
+ |{icon-times}
18
+
19
+ |Lokesh Dhakar
20
+ |{url-light-gallery--home}[Lightbox V2, {browser-window--new}]
21
+ |2021
22
+ |{level--advanced}
23
+ |{icon-checked}
24
+ |{icon-times}
25
+
26
+ |===============================================================================
@@ -0,0 +1,81 @@
1
+ // ~/document_base_folder/_includes/documents/900_sources/
2
+ // Chapter document: 900_sources.asciidoc
3
+ // -----------------------------------------------------------------------------
4
+
5
+ === Legend
6
+
7
+ Find with the following the explanation on all symbols used.
8
+
9
+ ==== Levels
10
+
11
+ Level of experience required to read and understand what is presented.
12
+
13
+ * {level--beginner} beginner
14
+ * {level--intermediate} intermediate
15
+ * {level--advanced} advanced
16
+ * {level--expert} expert
17
+
18
+ ==== Usage
19
+
20
+ The following symbols indicate, if sth. was used or *not* used.
21
+
22
+ * {icon-checked} used
23
+ * {icon-times} unused
24
+
25
+ === Sources of Information
26
+
27
+ Find with this section all references and sources used. Sections <<Articles>>,
28
+ <<HowTos>> or <<Blogs and Platforms>> may give additional information for
29
+ further reading.
30
+
31
+
32
+ ==== Articles
33
+
34
+ .Sources - Articles
35
+ [cols="3,^.>5a,^1,^1,^1,^1", options="header", width="100%", role="rtable"]
36
+ |===============================================================================
37
+ |Author |Title |Year |Level |Cite |Source
38
+
39
+ |Wikipedia
40
+ |{url-wikipedia-en--asciidoc}[Asciidoc, {browser-window--new}]
41
+ |na
42
+ |{level--beginner}
43
+ |{icon-times}
44
+ |{icon-times}
45
+
46
+ |===============================================================================
47
+
48
+
49
+ ==== HowTos
50
+
51
+ .Sources - HowTos
52
+ [cols="3,^.>5a,^1,^1,^1,^1", options="header", width="100%", role="rtable mt-3"]
53
+ |===============================================================================
54
+ |Author |Title |Year |Level |Cite |Source
55
+
56
+ |asciidoctor.org
57
+ |{url-asciidoctor--asciidoc-writers-guide}[AsciiDoc Writer’s Guide, {browser-window--new}]
58
+ |na
59
+ |{level--intermediate}
60
+ |{icon-times}
61
+ |{icon-times}
62
+
63
+
64
+ |===============================================================================
65
+
66
+
67
+ ==== Blogs and Platforms
68
+
69
+ .Sources - Blogs and Platforms
70
+ [cols="3,^.>5a,^1,^1,^1,^1", options="header", width="100%", role="rtable mt-3"]
71
+ |===============================================================================
72
+ |Author |Title |Year |Level |Cite |Source
73
+
74
+ |asciidoctor.org
75
+ |{url-asciidoctor--asciidoc-manual}[AsciiDoc Manual, {browser-window--new}]
76
+ |2021
77
+ |{level--advanced}
78
+ |{icon-checked}
79
+ |{icon-times}
80
+
81
+ |===============================================================================
@@ -0,0 +1,102 @@
1
+ // ~/document_base_folder/_includes/documents/tables
2
+ // Table document: 110_material_design_icons.asciidoc
3
+ // -----------------------------------------------------------------------------
4
+
5
+ .Material Design Icons
6
+ [cols="2a,3a,4a,^", options="header", width="100%", role="rtable mt-3"]
7
+ |===============================================================================
8
+ |Size |Modifier |Markup |Render
9
+
10
+ |1x
11
+ |no modifier set
12
+ |All `icon_name` can be found on the Preview page for MDI Icon Previewer +
13
+ [source, adoc, role="noclip"]
14
+ ----
15
+ mdi:account[1x]
16
+ ----
17
+ |mdi:account[1x]
18
+
19
+ |3x
20
+ |no modifier set
21
+ |All `icon_name` can be found on the Preview page for MDI Icon Previewer +
22
+ [source, adoc, role="noclip"]
23
+ ----
24
+ mdi:account[3x]
25
+ ----
26
+ |mdi:account[3x]
27
+
28
+ |5x
29
+ |no modifier set
30
+ |All `icon_name` can be found on the Preview page for MDI Icon Previewer
31
+ [source, adoc, role="noclip"]
32
+ ----
33
+ mdi:account[5x]
34
+ ----
35
+ |mdi:account[5x]
36
+
37
+ |5x
38
+ |`mdi-rotate-45`
39
+ |Rotate 45 degrees
40
+ [source, adoc, role="noclip"]
41
+ ----
42
+ mdi:account[5x mdi-rotate-45]
43
+ ----
44
+ |mdi:account[5x mdi-rotate-45]
45
+
46
+ |5x
47
+ |`mdi-rotate-315`
48
+ |Rotate 315 degrees
49
+ [source, adoc, role="noclip"]
50
+ ----
51
+ mdi:account[5x mdi-rotate-315]
52
+ ----
53
+ |mdi:account[5x mdi-rotate-315]
54
+
55
+ |5x
56
+ |`mdi-light` +
57
+ `mdi-flip-v`
58
+ |Colour set to MDI Light (Grey) and flipped vertical
59
+ [source, adoc, role="noclip"]
60
+ ----
61
+ mdi:alert[5x mdi-light mdi-flip-v]
62
+ ----
63
+ |mdi:alert[5x mdi-light mdi-flip-v]
64
+
65
+ |5x
66
+ |`md-indigo`
67
+ |Colour set to MDI Indigo
68
+ [source, adoc, role="noclip"]
69
+ ----
70
+ mdi:alert[5x md-indigo]
71
+ ----
72
+ |mdi:account[5x md-indigo]
73
+
74
+ |5x
75
+ |`md-pink`
76
+ |Colour set to MDI Pink
77
+ [source, adoc, role="noclip"]
78
+ ----
79
+ mdi:alert[5x md-pink]
80
+ ----
81
+ |mdi:account[5x md-pink]
82
+
83
+ |5x
84
+ |`mdi-spin`
85
+ |Added animation of type Rotate (Spin)
86
+ [source, adoc, role="noclip"]
87
+ ----
88
+ mdi:loading[5x mdi-spin]
89
+ ----
90
+ |mdi:loading[5x mdi-spin]
91
+
92
+ |5x
93
+ |`md-red-900` +
94
+ `mdi-pulsed`
95
+ |Colour set to MDI Dark Red and added animation of type Pulsed
96
+ [source, adoc, role="noclip"]
97
+ ----
98
+ mdi:heart[5x md-red-900 mdi-pulsed]
99
+ ----
100
+ |mdi:heart[5x md-red-900 mdi-pulsed]
101
+
102
+ |===============================================================================
@@ -0,0 +1,28 @@
1
+ @ECHO OFF
2
+ REM ---------------------------------------------------------------------------
3
+ REM Product/Info:
4
+ REM http://jekyll-one
5
+ REM
6
+ REM Copyright (C) 2021 Juergen Adams
7
+ REM J1 is licensed under the MIT License
8
+ REM ---------------------------------------------------------------------------
9
+
10
+ REM ENVIRONMENT
11
+ REM set BASE_PATH=<absolute_path_jekyll_project>
12
+ REM ----------------------------------------------------------------------------
13
+ SET BASE_PATH=D:\j1\github\j1-template\packages\400_template_site
14
+
15
+ REM VARIABLES
16
+ REM ----------------------------------------------------------------------------
17
+
18
+ REM SET PDF_STYLES_DIR=%BASE_PATH%\_data\asciidoc2pdf
19
+ REM SET PDF_FONTS_DIR=%BASE_PATH%\_data\asciidoc2pdf\fonts
20
+
21
+ SET PLUGINS_DIR=%BASE_PATH%\_plugins
22
+ SET PLUGIN_LOREM_INLINE=%PLUGINS_DIR%\lorem_inline.rb
23
+ SET MASTER_DOCUMENT=.\book.a2p
24
+
25
+
26
+ REM MAIN
27
+ REM ----------------------------------------------------------------------------
28
+ asciidoctor-pdf -r %PLUGIN_LOREM_INLINE% %MASTER_DOCUMENT%
@@ -0,0 +1,26 @@
1
+ #!/usr/bin/env bash
2
+ # -----------------------------------------------------------------------------
3
+ # Product/Info:
4
+ # http://jekyll-one
5
+ #
6
+ # Copyright (C) 2021 Juergen Adams
7
+ # J1 is licensed under the MIT License
8
+ # -----------------------------------------------------------------------------
9
+
10
+ # ENVIRONMENT
11
+ # set BASE_PATH=_absolute_path_jekyll_project
12
+ # ------------------------------------------------------------------------------
13
+ BASE_PATH=/D/j1/github/j1-template/packages/400_template_site
14
+
15
+ # VARIABLES
16
+ # ------------------------------------------------------------------------------
17
+ PDF_STYLES_DIR=$BASE_PATH/_data/asciidoc2pdf
18
+ PDF_FONTS_DIR=$BASE_PATH_data/_data/asciidoc2pdf\fonts
19
+ PLUGINS_DIR=$BASE_PATH/_plugins
20
+ PLUGIN_TWITTER_EMOJI=$PLUGINS_DIR/asciidoctor-extensions/twitter-emoji-inline.rb
21
+ PLUGIN_LOREM_INLINE=$PLUGINS_DIR/lorem_inline.rb
22
+ MASTER_DOCUMENT=./book.a2p
23
+
24
+ # MAIN
25
+ # ------------------------------------------------------------------------------
26
+ asciidoctor-pdf -r $PLUGIN_LOREM_INLINE -r $PLUGIN_TWITTER_EMOJI $MASTER_DOCUMENT
@@ -0,0 +1,114 @@
1
+ // -----------------------------------------------------------------------------
2
+ // ~/document_base_folder: book
3
+ // Master Document PDF conversion: book.a2p
4
+ //
5
+ // Product/Info:
6
+ // https://jekyll.one
7
+ //
8
+ // Copyright (C) 2021 Juergen Adams
9
+ //
10
+ // J1 Template is licensed under the MIT License.
11
+ // For details, see https://jekyll.one
12
+ // -----------------------------------------------------------------------------
13
+
14
+ // Set global page attributes
15
+ // -----------------------------------------------------------------------------
16
+ :doctype: book
17
+ :source-highlighter: rouge
18
+ :icons: font
19
+ :toc-enabled:
20
+ //:index-enabled:
21
+
22
+ // Set global resource folders
23
+ // -----------------------------------------------------------------------------
24
+ :imagesdir: ../../../../assets/images/
25
+ :pdf-themesdir: ../../../../_data/asciidoc2pdf/themes
26
+ :pdf-fontsdir: ../../../../_data/asciidoc2pdf/fonts
27
+ //:pdf-stylesdir: ../../../../_data/asciidoc2pdf/styles
28
+
29
+ // Initialize entry document environmental attributes
30
+ // -----------------------------------------------------------------------------
31
+ :global_includedir: ../../../../_includes
32
+ :includedir: _includes
33
+ :documentdir: {includedir}/documents
34
+ :tabledir: {includedir}/tables
35
+
36
+ // Load tag, url and data attributes
37
+ // -----------------------------------------------------------------------------
38
+ include::{global_includedir}/attributes.asciidoc[tag=tags]
39
+ include::{global_includedir}/attributes.asciidoc[tag=urls]
40
+ include::{global_includedir}/attributes.asciidoc[tag=data]
41
+
42
+ include::{includedir}/attributes.asciidoc[tag=tags]
43
+ include::{includedir}/attributes.asciidoc[tag=urls]
44
+ include::{includedir}/attributes.asciidoc[tag=data]
45
+
46
+ // Set local page attributes
47
+ // -----------------------------------------------------------------------------
48
+ :allow-uri-read:
49
+ :pdf-theme: j1
50
+
51
+ // MAIN
52
+ // =============================================================================
53
+
54
+ // Document Header
55
+ // -----------------------------------------------------------------------------
56
+ = Asciidoc Book Skeleton
57
+
58
+ ifdef::toc-enabled[]
59
+ :toc: left
60
+ :toclevels: 4
61
+ endif::[]
62
+
63
+
64
+ // Page content
65
+ // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
66
+
67
+ .Preface
68
+
69
+ [.lead]
70
+ The *Asciidoc Document Skeleton* a helper for setting up a base file and
71
+ folder structure for *multi-chapter* AsciiDoc projects based on _Jekyll_
72
+ and _J1 Template_. You need *both* to use this skeleton to create AsciiDoc
73
+ documents from it.
74
+
75
+ NOTE: The Asciidoc Document Skeleton is fully *relocateable* and can be
76
+ placed in any subfolder of your Jekyll site.
77
+
78
+ The skeleton can be used to create HTML output (backend *html5*) and PDF
79
+ output (backend *pdf*) as well. _J1 Template_ comes with the full support
80
+ of _Asciidoctor PDF_, a Ruby-based implementation for _Asciidoctor_ based on
81
+ the PDF converter _Prawn_.
82
+
83
+ *Happy Jekylling!*
84
+
85
+
86
+ // Include sub-documents
87
+ // -----------------------------------------------------------------------------
88
+
89
+ // Include Introduction
90
+ // -----------------------------------------------------------------------------
91
+
92
+ include::{documentdir}/000_intro.asciidoc[]
93
+
94
+
95
+ // Include Sublevel Entry Documents
96
+ // -----------------------------------------------------------------------------
97
+
98
+ include::{documentdir}/100_chapter.asciidoc[]
99
+
100
+ include::{documentdir}/200_chapter.asciidoc[]
101
+
102
+
103
+ // Document References
104
+ // -----------------------------------------------------------------------------
105
+
106
+ include::{documentdir}/900_references.asciidoc[]
107
+
108
+
109
+ // Document Index
110
+ // -----------------------------------------------------------------------------
111
+ ifdef::index-enabled[]
112
+ [index]
113
+ = Index
114
+ endif::[]