j1-template 2021.0.3 → 2021.0.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (155) hide show
  1. checksums.yaml +4 -4
  2. data/_includes/themes/j1/modules/navigator/procedures/topsearch.proc +10 -10
  3. data/assets/data/quicklinks.html +2 -2
  4. data/assets/themes/j1/adapter/js/mmenu.js +18 -22
  5. data/assets/themes/j1/adapter/js/{lunr_search.js → quicksearch.js} +11 -11
  6. data/assets/themes/j1/core/fonts/fontawesome_5/fonts/{fa-brands-400.eot → eot/fa-brands-400.eot} +0 -0
  7. data/assets/themes/j1/core/fonts/fontawesome_5/fonts/{fa-regular-400.eot → eot/fa-regular-400.eot} +0 -0
  8. data/assets/themes/j1/core/fonts/fontawesome_5/fonts/{fa-solid-900.eot → eot/fa-solid-900.eot} +0 -0
  9. data/assets/themes/j1/core/fonts/fontawesome_5/fonts/{fa-brands-400.svg → svg/fa-brands-400.svg} +0 -0
  10. data/assets/themes/j1/core/fonts/fontawesome_5/fonts/{fa-regular-400.svg → svg/fa-regular-400.svg} +0 -0
  11. data/assets/themes/j1/core/fonts/fontawesome_5/fonts/{fa-solid-900.svg → svg/fa-solid-900.svg} +0 -0
  12. data/assets/themes/j1/core/fonts/fontawesome_5/fonts/{fa-brands-400.ttf → ttf/fa-brands-400.ttf} +0 -0
  13. data/assets/themes/j1/core/fonts/fontawesome_5/fonts/{fa-regular-400.ttf → ttf/fa-regular-400.ttf} +0 -0
  14. data/assets/themes/j1/core/fonts/fontawesome_5/fonts/{fa-solid-900.ttf → ttf/fa-solid-900.ttf} +0 -0
  15. data/assets/themes/j1/core/fonts/materialdesign_icons/fonts/{materialdesignicons-webfont.eot → eot/materialdesignicons-webfont.eot} +0 -0
  16. data/assets/themes/j1/core/fonts/materialdesign_icons/fonts/{materialdesignicons-webfont.svg → svg/materialdesignicons-webfont.svg} +0 -0
  17. data/assets/themes/j1/core/fonts/materialdesign_icons/fonts/{materialdesignicons-webfont.ttf → ttf/materialdesignicons-webfont.ttf} +0 -0
  18. data/assets/themes/j1/core/fonts/roboto/fonts/{Roboto-Bold.eot → eot/Roboto-Bold.eot} +0 -0
  19. data/assets/themes/j1/core/fonts/roboto/fonts/{Roboto-Light.eot → eot/Roboto-Light.eot} +0 -0
  20. data/assets/themes/j1/core/fonts/roboto/fonts/{Roboto-Medium.eot → eot/Roboto-Medium.eot} +0 -0
  21. data/assets/themes/j1/core/fonts/roboto/fonts/{Roboto-Regular.eot → eot/Roboto-Regular.eot} +0 -0
  22. data/assets/themes/j1/core/fonts/roboto/fonts/{Roboto-Thin.eot → eot/Roboto-Thin.eot} +0 -0
  23. data/assets/themes/j1/core/fonts/roboto/fonts/{Roboto-Black.ttf → ttf/Roboto-Black.ttf} +0 -0
  24. data/assets/themes/j1/core/fonts/roboto/fonts/{Roboto-BlackItalic.ttf → ttf/Roboto-BlackItalic.ttf} +0 -0
  25. data/assets/themes/j1/core/fonts/roboto/fonts/{Roboto-Bold.ttf → ttf/Roboto-Bold.ttf} +0 -0
  26. data/assets/themes/j1/core/fonts/roboto/fonts/{Roboto-BoldItalic.ttf → ttf/Roboto-BoldItalic.ttf} +0 -0
  27. data/assets/themes/j1/core/fonts/roboto/fonts/{Roboto-Italic.ttf → ttf/Roboto-Italic.ttf} +0 -0
  28. data/assets/themes/j1/core/fonts/roboto/fonts/{Roboto-Light.ttf → ttf/Roboto-Light.ttf} +0 -0
  29. data/assets/themes/j1/core/fonts/roboto/fonts/{Roboto-LightItalic.ttf → ttf/Roboto-LightItalic.ttf} +0 -0
  30. data/assets/themes/j1/core/fonts/roboto/fonts/{Roboto-Medium.ttf → ttf/Roboto-Medium.ttf} +0 -0
  31. data/assets/themes/j1/core/fonts/roboto/fonts/{Roboto-MediumItalic.ttf → ttf/Roboto-MediumItalic.ttf} +0 -0
  32. data/assets/themes/j1/core/fonts/roboto/fonts/{Roboto-Regular.ttf → ttf/Roboto-Regular.ttf} +0 -0
  33. data/assets/themes/j1/core/fonts/roboto/fonts/{Roboto-Thin.ttf → ttf/Roboto-Thin.ttf} +0 -0
  34. data/assets/themes/j1/core/fonts/roboto/fonts/{Roboto-ThinItalic.ttf → ttf/Roboto-ThinItalic.ttf} +0 -0
  35. data/assets/themes/j1/modules/datatables/css/DataTables-1.10.16/images/sort_asc.png +0 -0
  36. data/assets/themes/j1/modules/datatables/css/DataTables-1.10.16/images/sort_asc_disabled.png +0 -0
  37. data/assets/themes/j1/modules/datatables/css/DataTables-1.10.16/images/sort_both.png +0 -0
  38. data/assets/themes/j1/modules/datatables/css/DataTables-1.10.16/images/sort_desc.png +0 -0
  39. data/assets/themes/j1/modules/datatables/css/DataTables-1.10.16/images/sort_desc_disabled.png +0 -0
  40. data/assets/themes/j1/modules/datatables/css/datatables.css +1113 -0
  41. data/assets/themes/j1/modules/datatables/css/datatables.min.css +136 -0
  42. data/assets/themes/j1/modules/datatables/css/theme/uno.css +473 -0
  43. data/assets/themes/j1/modules/datatables/js/datatables.js +95360 -0
  44. data/assets/themes/j1/modules/datatables/js/datatables.min.js +533 -0
  45. data/assets/themes/j1/modules/lunrSearch/css/{lunr_search.css → quicksearch.css} +0 -0
  46. data/assets/themes/j1/modules/lunrSearch/css/{lunr_search.min.css → quicksearch.min.css} +0 -0
  47. data/assets/themes/j1/modules/lunrSearch/js/lunr.language.support.js +304 -0
  48. data/assets/themes/j1/modules/lunrSearch/js/lunr.language.support.min.js +1 -0
  49. data/assets/themes/j1/modules/lunrSearch/js/{lunr_search.js → quicksearch.js} +22 -3
  50. data/assets/themes/j1/modules/lunrSearch/js/{lunr_search.min.js → quicksearch.min.js} +0 -0
  51. data/assets/themes/j1/modules/lunrSearch/languages/lunr.ar.js +381 -0
  52. data/assets/themes/j1/modules/lunrSearch/languages/lunr.ar.min.js +1 -0
  53. data/assets/themes/j1/modules/lunrSearch/languages/lunr.da.js +284 -0
  54. data/assets/themes/j1/modules/lunrSearch/languages/lunr.da.min.js +18 -0
  55. data/assets/themes/j1/modules/lunrSearch/languages/lunr.de.js +384 -0
  56. data/assets/themes/j1/modules/lunrSearch/languages/lunr.de.min.js +18 -0
  57. data/assets/themes/j1/modules/lunrSearch/languages/lunr.du.js +450 -0
  58. data/assets/themes/j1/modules/lunrSearch/languages/lunr.du.min.js +18 -0
  59. data/assets/themes/j1/modules/lunrSearch/languages/lunr.es.js +599 -0
  60. data/assets/themes/j1/modules/lunrSearch/languages/lunr.es.min.js +18 -0
  61. data/assets/themes/j1/modules/lunrSearch/languages/lunr.fi.js +541 -0
  62. data/assets/themes/j1/modules/lunrSearch/languages/lunr.fi.min.js +18 -0
  63. data/assets/themes/j1/modules/lunrSearch/languages/lunr.fr.js +703 -0
  64. data/assets/themes/j1/modules/lunrSearch/languages/lunr.fr.min.js +18 -0
  65. data/assets/themes/j1/modules/lunrSearch/languages/lunr.hu.js +565 -0
  66. data/assets/themes/j1/modules/lunrSearch/languages/lunr.hu.min.js +18 -0
  67. data/assets/themes/j1/modules/lunrSearch/languages/lunr.it.js +617 -0
  68. data/assets/themes/j1/modules/lunrSearch/languages/lunr.it.min.js +18 -0
  69. data/assets/themes/j1/modules/lunrSearch/languages/lunr.ja.js +188 -0
  70. data/assets/themes/j1/modules/lunrSearch/languages/lunr.ja.min.js +1 -0
  71. data/assets/themes/j1/modules/lunrSearch/languages/lunr.jp.js +5 -0
  72. data/assets/themes/j1/modules/lunrSearch/languages/lunr.jp.min.js +1 -0
  73. data/assets/themes/j1/modules/lunrSearch/languages/lunr.multi.js +79 -0
  74. data/assets/themes/j1/modules/lunrSearch/languages/lunr.multi.min.js +1 -0
  75. data/assets/themes/j1/modules/lunrSearch/languages/lunr.nl.js +448 -0
  76. data/assets/themes/j1/modules/lunrSearch/languages/lunr.nl.min.js +18 -0
  77. data/assets/themes/j1/modules/lunrSearch/languages/lunr.no.js +258 -0
  78. data/assets/themes/j1/modules/lunrSearch/languages/lunr.no.min.js +18 -0
  79. data/assets/themes/j1/modules/lunrSearch/languages/lunr.pt.js +570 -0
  80. data/assets/themes/j1/modules/lunrSearch/languages/lunr.pt.min.js +18 -0
  81. data/assets/themes/j1/modules/lunrSearch/languages/lunr.ro.js +558 -0
  82. data/assets/themes/j1/modules/lunrSearch/languages/lunr.ro.min.js +18 -0
  83. data/assets/themes/j1/modules/lunrSearch/languages/lunr.ru.js +391 -0
  84. data/assets/themes/j1/modules/lunrSearch/languages/lunr.ru.min.js +18 -0
  85. data/assets/themes/j1/modules/lunrSearch/languages/lunr.sv.js +256 -0
  86. data/assets/themes/j1/modules/lunrSearch/languages/lunr.sv.min.js +18 -0
  87. data/assets/themes/j1/modules/lunrSearch/languages/lunr.th.js +97 -0
  88. data/assets/themes/j1/modules/lunrSearch/languages/lunr.tr.js +1087 -0
  89. data/assets/themes/j1/modules/lunrSearch/languages/lunr.tr.min.js +18 -0
  90. data/assets/themes/j1/modules/lunrSearch/languages/lunr.vi.js +84 -0
  91. data/assets/themes/j1/modules/lunrSearch/languages/lunr.vi.min.js +1 -0
  92. data/lib/j1/version.rb +1 -1
  93. data/lib/starter_web/Gemfile +1 -2
  94. data/lib/starter_web/_config.yml +2 -2
  95. data/lib/starter_web/_data/asciidoc2pdf/fonts/ABOUT-mplus1mn-subset +26 -0
  96. data/lib/starter_web/_data/asciidoc2pdf/fonts/ABOUT-mplus1p-subset +26 -0
  97. data/lib/starter_web/_data/asciidoc2pdf/fonts/ABOUT-notoemoji-subset +3 -0
  98. data/lib/starter_web/_data/asciidoc2pdf/fonts/ABOUT-notoserif-subset +26 -0
  99. data/lib/starter_web/_data/asciidoc2pdf/fonts/LICENSE-mplus +16 -0
  100. data/lib/starter_web/_data/asciidoc2pdf/fonts/LICENSE-notoemoji +201 -0
  101. data/lib/starter_web/_data/asciidoc2pdf/fonts/LICENSE-notoserif +201 -0
  102. data/lib/starter_web/_data/asciidoc2pdf/fonts/LICENSE-roboto +11 -0
  103. data/lib/starter_web/_data/asciidoc2pdf/fonts/Roboto-Black.ttf +0 -0
  104. data/lib/starter_web/_data/asciidoc2pdf/fonts/Roboto-BlackItalic.ttf +0 -0
  105. data/lib/starter_web/_data/asciidoc2pdf/fonts/Roboto-Bold.ttf +0 -0
  106. data/lib/starter_web/_data/asciidoc2pdf/fonts/Roboto-BoldItalic.ttf +0 -0
  107. data/lib/starter_web/_data/asciidoc2pdf/fonts/Roboto-Italic.ttf +0 -0
  108. data/lib/starter_web/_data/asciidoc2pdf/fonts/Roboto-Light.ttf +0 -0
  109. data/lib/starter_web/_data/asciidoc2pdf/fonts/Roboto-LightItalic.ttf +0 -0
  110. data/lib/starter_web/_data/asciidoc2pdf/fonts/Roboto-Medium.ttf +0 -0
  111. data/lib/starter_web/_data/asciidoc2pdf/fonts/Roboto-MediumItalic.ttf +0 -0
  112. data/lib/starter_web/_data/asciidoc2pdf/fonts/Roboto-Regular.ttf +0 -0
  113. data/lib/starter_web/_data/asciidoc2pdf/fonts/Roboto-Thin.ttf +0 -0
  114. data/lib/starter_web/_data/asciidoc2pdf/fonts/Roboto-ThinItalic.ttf +0 -0
  115. data/lib/starter_web/_data/asciidoc2pdf/fonts/mplus1mn-bold-subset.ttf +0 -0
  116. data/lib/starter_web/_data/asciidoc2pdf/fonts/mplus1mn-bold_italic-subset.ttf +0 -0
  117. data/lib/starter_web/_data/asciidoc2pdf/fonts/mplus1mn-italic-subset.ttf +0 -0
  118. data/lib/starter_web/_data/asciidoc2pdf/fonts/mplus1mn-regular-subset.ttf +0 -0
  119. data/{assets/themes/j1/core/fonts/roboto → lib/starter_web/_data/asciidoc2pdf}/fonts/mplus1p-regular-fallback.ttf +0 -0
  120. data/lib/starter_web/_data/asciidoc2pdf/fonts/notoemoji-subset.ttf +0 -0
  121. data/{assets/themes/j1/core/fonts/roboto → lib/starter_web/_data/asciidoc2pdf}/fonts/notoserif-bold-subset.ttf +0 -0
  122. data/{assets/themes/j1/core/fonts/roboto → lib/starter_web/_data/asciidoc2pdf}/fonts/notoserif-bold_italic-subset.ttf +0 -0
  123. data/{assets/themes/j1/core/fonts/roboto → lib/starter_web/_data/asciidoc2pdf}/fonts/notoserif-italic-subset.ttf +0 -0
  124. data/{assets/themes/j1/core/fonts/roboto → lib/starter_web/_data/asciidoc2pdf}/fonts/notoserif-regular-subset.ttf +0 -0
  125. data/lib/starter_web/_data/asciidoc2pdf/themes/base-theme.yml +130 -0
  126. data/lib/starter_web/_data/asciidoc2pdf/themes/default-for-print-theme.yml +36 -0
  127. data/lib/starter_web/_data/asciidoc2pdf/themes/default-for-print-with-fallback-font-theme.yml +15 -0
  128. data/lib/starter_web/_data/asciidoc2pdf/themes/default-theme.yml +298 -0
  129. data/lib/starter_web/_data/asciidoc2pdf/themes/default-with-fallback-font-theme.yml +21 -0
  130. data/lib/starter_web/_data/asciidoc2pdf/themes/j1-theme.yml +315 -0
  131. data/lib/starter_web/_data/modules/defaults/quicksearch.yml +73 -0
  132. data/lib/starter_web/_data/modules/navigator.yml +4 -6
  133. data/lib/starter_web/_data/modules/{lunr_search.yml → quicksearch.yml} +3 -3
  134. data/lib/starter_web/_data/modules/themer.yml +1 -1
  135. data/lib/starter_web/_data/resources.yml +34 -37
  136. data/lib/starter_web/_includes/attributes.asciidoc +3 -1
  137. data/lib/starter_web/_plugins/lunr_index.rb +19 -8
  138. data/lib/starter_web/assets/images/modules/icons/d1/scalable/d1.svg +1 -1
  139. data/lib/starter_web/dot.gitattributes +2 -16
  140. data/lib/starter_web/package.json +6 -6
  141. data/lib/starter_web/pages/protected/site_search.adoc +2 -7
  142. data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/100_meet_and_greet_jekyll.adoc +1 -1
  143. data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/200_preparations.adoc +2 -2
  144. data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/300_first_awesome_web.adoc +2 -2
  145. data/lib/starter_web/pages/public/learn/roundtrip/600_lunr.adoc +146 -47
  146. data/lib/starter_web/utilsrv/_defaults/package.json +1 -1
  147. data/lib/starter_web/utilsrv/package.json +1 -1
  148. metadata +127 -49
  149. data/assets/themes/j1/core/fonts/materialdesign_icons/license.md +0 -97
  150. data/assets/themes/j1/core/fonts/roboto/fonts/OpenSansEmoji.ttf +0 -0
  151. data/assets/themes/j1/core/fonts/roboto/fonts/mplus1mn-bold-ascii.ttf +0 -0
  152. data/assets/themes/j1/core/fonts/roboto/fonts/mplus1mn-bold_italic-ascii.ttf +0 -0
  153. data/assets/themes/j1/core/fonts/roboto/fonts/mplus1mn-italic-ascii.ttf +0 -0
  154. data/assets/themes/j1/core/fonts/roboto/fonts/mplus1mn-regular-ascii-conums.ttf +0 -0
  155. data/lib/starter_web/_data/modules/defaults/lunr_search.yml +0 -171
@@ -0,0 +1,201 @@
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding those notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor,
140
+ except as required for reasonable and customary use in describing the
141
+ origin of the Work and reproducing the content of the NOTICE file.
142
+
143
+ 7. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Additional Liability. While redistributing
166
+ the Work or Derivative Works thereof, You may choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or additional liability.
175
+
176
+ END OF TERMS AND CONDITIONS
177
+
178
+ APPENDIX: How to apply the Apache License to your work.
179
+
180
+ To apply the Apache License to your work, attach the following
181
+ boilerplate notice, with the fields enclosed by brackets "[]"
182
+ replaced with your own identifying information. (Don't include
183
+ the brackets!) The text should be enclosed in the appropriate
184
+ comment syntax for the file format. We also recommend that a
185
+ file or class name and description of purpose be included on the
186
+ same "printed page" as the copyright notice for easier
187
+ identification within third-party archives.
188
+
189
+ Copyright [yyyy] [name of copyright owner]
190
+
191
+ Licensed under the Apache License, Version 2.0 (the "License");
192
+ you may not use this file except in compliance with the License.
193
+ You may obtain a copy of the License at
194
+
195
+ http://www.apache.org/licenses/LICENSE-2.0
196
+
197
+ Unless required by applicable law or agreed to in writing, software
198
+ distributed under the License is distributed on an "AS IS" BASIS,
199
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200
+ See the License for the specific language governing permissions and
201
+ limitations under the License.
@@ -0,0 +1,11 @@
1
+ Roboto License
2
+ --------------
3
+
4
+ These fonts are licensed under the Apache License, Version 2.0.
5
+
6
+ You can use them freely in your products & projects - print or digital,
7
+ commercial or otherwise. However, you can't sell the fonts on their
8
+ own.
9
+
10
+ This isn't legal advice, please consider consulting a lawyer and
11
+ see the full license for all details.
@@ -0,0 +1,130 @@
1
+ # ------------------------------------------------------------------------------
2
+ # ~/_data/asciidoc2pdf/themes/base-theme.yml
3
+ # Asciidoctor theme: base
4
+ #
5
+ # Product/Info:
6
+ # https://github.com/asciidoctor/asciidoctor-pdf
7
+ #
8
+ # Copyright (C) 2014-2020 OpenDevise Inc. and the Asciidoctor Project
9
+ #
10
+ # Asciidoctor themes are licensed under the MIT License.
11
+ # See: https://github.com/asciidoctor/asciidoctor-pdf/blob/master/LICENSE
12
+ # ------------------------------------------------------------------------------
13
+ # NOTE file is read "as is"; variables are not parsed; key layout must be flat
14
+ page_background_color: 'FFFFFF'
15
+ page_layout: portrait
16
+ page_initial_zoom: FitH
17
+ # 36 is equivalent to 0.5in
18
+ page_margin: 36
19
+ page_margin_inner: 48
20
+ page_margin_outer: 24
21
+ page_size: A4
22
+ base_align: left
23
+ #base_font_color: '333333'
24
+ base_font_color: '000000'
25
+ #base_font_family: Times-Roman
26
+ base_font_family: Helvetica
27
+ base_font_size: 12
28
+ # QUESTION should we rename to min_font_size?
29
+ base_font_size_min: 6
30
+ base_font_style: normal
31
+ base_line_height: 1.15
32
+ base_border_color: 'EEEEEE'
33
+ base_border_width: 0.5
34
+ role_line-through_text_decoration: line-through
35
+ role_underline_text_decoration: underline
36
+ role_big_font_size: 14
37
+ role_small_font_size: 10
38
+ role_subtitle_font_size: 0.8em
39
+ button_content: '[%s]'
40
+ button_font_family: Courier
41
+ button_font_style: bold
42
+ key_font_family: Courier
43
+ key_font_style: italic
44
+ mark_background_color: 'FFFF00'
45
+ mark_border_offset: 1
46
+ link_font_color: '0000EE'
47
+ literal_font_family: Courier
48
+ heading_font_style: bold
49
+ heading_h1_font_size: 24
50
+ heading_h2_font_size: 18
51
+ heading_h3_font_size: 16
52
+ heading_h4_font_size: 14
53
+ heading_h5_font_size: 12
54
+ heading_h6_font_size: 10
55
+ heading_line_height: 1.15
56
+ heading_margin_top: 4
57
+ heading_margin_bottom: 12
58
+ heading_min_height_after: 20
59
+ title_page_align: center
60
+ title_page_line_height: 1.15
61
+ title_page_logo_top: 10%
62
+ title_page_title_top: 40%
63
+ title_page_title_font_size: 18
64
+ title_page_subtitle_font_size: 14
65
+ title_page_authors_margin_top: 12
66
+ outline_list_indent: 30
67
+ outline_list_item_spacing: 6
68
+ description_list_description_indent: 30
69
+ description_list_term_font_style: bold
70
+ description_list_term_spacing: 4
71
+ block_margin_bottom: 12
72
+ caption_align: left
73
+ caption_font_style: italic
74
+ caption_margin_inside: 4
75
+ caption_margin_outside: 0
76
+ abstract_font_size: 13.5
77
+ abstract_line_height: 1.4
78
+ abstract_padding: 0
79
+ abstract_title_align: center
80
+ abstract_title_font_style: bold
81
+ admonition_column_rule_color: 'EEEEEE'
82
+ admonition_column_rule_width: 0.5
83
+ admonition_padding: [0, 12, 0, 12]
84
+ admonition_label_font_style: bold
85
+ admonition_label_text_transform: uppercase
86
+ blockquote_border_color: 'EEEEEE'
87
+ blockquote_border_left_width: 4
88
+ blockquote_padding: [6, 12, -6, 14]
89
+ verse_border_color: 'EEEEEE'
90
+ verse_border_left_width: 4
91
+ verse_padding: [6, 12, -6, 14]
92
+ code_font_family: Courier
93
+ code_font_size: 10.8
94
+ code_line_height: 1.2
95
+ code_padding: 9
96
+ code_border_color: 'EEEEEE'
97
+ code_border_width: 0.5
98
+ conum_line_height: 1.15
99
+ conum_glyphs: circled
100
+ example_background_color: 'FFFFFF'
101
+ example_border_color: 'EEEEEE'
102
+ example_border_width: 0.5
103
+ # FIXME reenable margin bottom once margin collapsing is implemented
104
+ example_padding: [12, 12, 0, 12]
105
+ image_align: left
106
+ lead_font_size: 13.5
107
+ lead_line_height: 1.4
108
+ prose_margin_bottom: 12
109
+ sidebar_background_color: 'EEEEEE'
110
+ # FIXME reenable margin bottom once margin collapsing is implemented
111
+ sidebar_padding: [12, 12, 0, 12]
112
+ sidebar_title_align: center
113
+ sidebar_title_font_style: bold
114
+ table_border_color: '000000'
115
+ table_border_style: solid
116
+ table_border_width: 0.5
117
+ table_cell_padding: 2
118
+ table_head_font_style: bold
119
+ table_head_border_bottom_width: 1.25
120
+ table_body_stripe_background_color: 'EEEEEE'
121
+ thematic_break_border_color: 'EEEEEE'
122
+ thematic_break_border_style: solid
123
+ thematic_break_border_width: 0.5
124
+ thematic_break_margin_bottom: 12
125
+ toc_indent: 15
126
+ toc_line_height: 1.4
127
+ footnotes_font_size: 9
128
+ footnotes_item_spacing: 3
129
+ footer_recto_right_content: '{page-number}'
130
+ footer_verso_left_content: '{page-number}'
@@ -0,0 +1,36 @@
1
+ # ------------------------------------------------------------------------------
2
+ # ~/_data/asciidoc2pdf/themes/default-for-print-theme.yml
3
+ # Asciidoctor theme: default-for-print
4
+ #
5
+ # Product/Info:
6
+ # https://github.com/asciidoctor/asciidoctor-pdf
7
+ #
8
+ # Copyright (C) 2014-2020 OpenDevise Inc. and the Asciidoctor Project
9
+ #
10
+ # Asciidoctor themes are licensed under the MIT License.
11
+ # See: https://github.com/asciidoctor/asciidoctor-pdf/blob/master/LICENSE
12
+ # ------------------------------------------------------------------------------
13
+ extends: default
14
+ base_border_color: BBBBBB
15
+ base_font_color: 000000
16
+ role_subtitle_font_color: 666666
17
+ link_font_color: ~
18
+ literal_font_color: ~
19
+ mark_background_color: CCCCCC
20
+ menu_caret_content: " <font size=\"1.15em\">\u203a</font> "
21
+ heading_font_color: $base_font_color
22
+ title_page_title_font_color: $role_subtitle_font_color
23
+ abstract_font_color: 2C2C2C
24
+ abstract_title_font_color: $heading_font_color
25
+ admonition_column_rule_color: $base_border_color
26
+ blockquote_border_color: $base_border_color
27
+ blockquote_cite_font_color: $role_subtitle_font_color
28
+ verse_border_color: $base_border_color
29
+ verse_cite_font_color: $blockquote_cite_font_color
30
+ code_font_color: $base_font_color
31
+ conum_font_color: $base_font_color
32
+ example_border_color: $base_border_color
33
+ sidebar_title_font_color: $heading_font_color
34
+ thematic_break_border_color: $base_border_color
35
+ toc_dot_leader_font_color: ~
36
+ footer_border_color: CCCCCC
@@ -0,0 +1,15 @@
1
+ # ------------------------------------------------------------------------------
2
+ # ~/_data/asciidoc2pdf/themes/default-for-print-with-fallback-font-theme.yml
3
+ # # Asciidoctor theme: default-for-print-with-fallback-font
4
+ #
5
+ # Product/Info:
6
+ # https://github.com/asciidoctor/asciidoctor-pdf
7
+ #
8
+ # Copyright (C) 2014-2020 OpenDevise Inc. and the Asciidoctor Project
9
+ #
10
+ # Asciidoctor themes are licensed under the MIT License.
11
+ # See: https://github.com/asciidoctor/asciidoctor-pdf/blob/master/LICENSE
12
+ # ------------------------------------------------------------------------------
13
+ extends:
14
+ - default-for-print
15
+ - default-with-fallback-font
@@ -0,0 +1,298 @@
1
+ # ------------------------------------------------------------------------------
2
+ # ~/_data/asciidoc2pdf/themes/default-theme.yml
3
+ # Asciidoctor theme: default
4
+ #
5
+ # Product/Info:
6
+ # https://github.com/asciidoctor/asciidoctor-pdf
7
+ #
8
+ # Copyright (C) 2014-2020 OpenDevise Inc. and the Asciidoctor Project
9
+ #
10
+ # Asciidoctor themes are licensed under the MIT License.
11
+ # See: https://github.com/asciidoctor/asciidoctor-pdf/blob/master/LICENSE
12
+ # ------------------------------------------------------------------------------
13
+ font:
14
+ catalog:
15
+ # Noto Serif supports Latin, Latin-1 Supplement, Latin Extended-A, Greek, Cyrillic, Vietnamese & an assortment of symbols
16
+ Noto Serif:
17
+ normal: GEM_FONTS_DIR/notoserif-regular-subset.ttf
18
+ bold: GEM_FONTS_DIR/notoserif-bold-subset.ttf
19
+ italic: GEM_FONTS_DIR/notoserif-italic-subset.ttf
20
+ bold_italic: GEM_FONTS_DIR/notoserif-bold_italic-subset.ttf
21
+ # M+ 1mn supports ASCII and the circled numbers used for conums
22
+ M+ 1mn:
23
+ normal: GEM_FONTS_DIR/mplus1mn-regular-subset.ttf
24
+ bold: GEM_FONTS_DIR/mplus1mn-bold-subset.ttf
25
+ italic: GEM_FONTS_DIR/mplus1mn-italic-subset.ttf
26
+ bold_italic: GEM_FONTS_DIR/mplus1mn-bold_italic-subset.ttf
27
+ page:
28
+ background_color: FFFFFF
29
+ layout: portrait
30
+ initial_zoom: FitH
31
+ margin: [0.5in, 0.67in, 0.67in, 0.67in]
32
+ # margin_inner and margin_outer keys are used for recto/verso print margins when media=prepress
33
+ margin_inner: 0.75in
34
+ margin_outer: 0.59in
35
+ size: A4
36
+ base:
37
+ align: justify
38
+ # color as hex string (leading # is optional)
39
+ font_color: 333333
40
+ # color as RGB array
41
+ #font_color: [51, 51, 51]
42
+ # color as CMYK array (approximated)
43
+ #font_color: [0, 0, 0, 0.92]
44
+ #font_color: [0, 0, 0, 92%]
45
+ font_family: Noto Serif
46
+ # choose one of these font_size/line_height_length combinations
47
+ #font_size: 14
48
+ #line_height_length: 20
49
+ #font_size: 11.25
50
+ #line_height_length: 18
51
+ #font_size: 11.2
52
+ #line_height_length: 16
53
+ font_size: 10.5
54
+ #line_height_length: 15
55
+ # correct line height for Noto Serif metrics
56
+ line_height_length: 12
57
+ #font_size: 11.25
58
+ #line_height_length: 18
59
+ line_height: $base_line_height_length / $base_font_size
60
+ font_size_large: round($base_font_size * 1.25)
61
+ font_size_small: round($base_font_size * 0.85)
62
+ font_size_min: $base_font_size * 0.75
63
+ font_style: normal
64
+ border_color: EEEEEE
65
+ border_radius: 4
66
+ border_width: 0.5
67
+ role:
68
+ line-through:
69
+ text_decoration: line-through
70
+ underline:
71
+ text_decoration: underline
72
+ big:
73
+ font_size: $base_font_size_large
74
+ small:
75
+ font_size: $base_font_size_small
76
+ subtitle:
77
+ font_color: 999999
78
+ font_size: 0.8em
79
+ font_style: normal_italic
80
+ # FIXME vertical_rhythm is weird; we should think in terms of ems
81
+ #vertical_rhythm: $base_line_height_length * 2 / 3
82
+ # correct line height for Noto Serif metrics (comes with built-in line height)
83
+ vertical_rhythm: $base_line_height_length
84
+ horizontal_rhythm: $base_line_height_length
85
+ link:
86
+ font_color: 428BCA
87
+ # literal is currently used for inline monospaced in prose and table cells
88
+ literal:
89
+ font_color: B12146
90
+ font_family: M+ 1mn
91
+ button:
92
+ content: "[\u2009%s\u2009]"
93
+ font_style: bold
94
+ key:
95
+ background_color: F5F5F5
96
+ border_color: CCCCCC
97
+ border_offset: 2
98
+ border_radius: 2
99
+ border_width: 0.5
100
+ font_family: $literal_font_family
101
+ separator: "\u202f+\u202f"
102
+ mark:
103
+ background_color: FFFF00
104
+ border_offset: 1
105
+ menu:
106
+ caret_content: " <font size=\"1.15em\" color=\"#B12146\">\u203a</font> "
107
+ heading:
108
+ align: left
109
+ font_color: $base_font_color
110
+ font_style: bold
111
+ # h1 is used for part titles (book doctype) or the doctitle (article doctype)
112
+ h1_font_size: floor($base_font_size * 2.6)
113
+ # h2 is used for chapter titles (book doctype only)
114
+ h2_font_size: floor($base_font_size * 2.15)
115
+ h3_font_size: round($base_font_size * 1.7)
116
+ h4_font_size: $base_font_size_large
117
+ h5_font_size: $base_font_size
118
+ h6_font_size: $base_font_size_small
119
+ #line_height: 1.4
120
+ # correct line height for Noto Serif metrics (comes with built-in line height)
121
+ line_height: 1
122
+ margin_top: $vertical_rhythm * 0.4
123
+ margin_bottom: $vertical_rhythm * 0.9
124
+ min_height_after: $base_line_height_length * 1.5
125
+ title_page:
126
+ align: right
127
+ logo:
128
+ top: 10%
129
+ title:
130
+ top: 55%
131
+ font_size: $heading_h1_font_size
132
+ font_color: $role_subtitle_font_color
133
+ line_height: 0.9
134
+ subtitle:
135
+ font_size: $heading_h3_font_size
136
+ font_style: bold_italic
137
+ line_height: 1
138
+ authors:
139
+ margin_top: $base_font_size * 1.25
140
+ font_size: $base_font_size_large
141
+ font_color: 181818
142
+ revision:
143
+ margin_top: $base_font_size * 1.25
144
+ block:
145
+ margin_bottom: $vertical_rhythm
146
+ caption:
147
+ align: left
148
+ font_size: $base_font_size * 0.95
149
+ font_style: italic
150
+ # FIXME perhaps set line_height instead of / in addition to margins?
151
+ margin_inside: $vertical_rhythm / 3
152
+ #margin_inside: $vertical_rhythm / 4
153
+ margin_outside: 0
154
+ lead:
155
+ font_size: $base_font_size_large
156
+ line_height: 1.4
157
+ abstract:
158
+ font_color: 5C6266
159
+ font_size: $lead_font_size
160
+ line_height: $lead_line_height
161
+ font_style: italic
162
+ first_line_font_style: bold
163
+ title:
164
+ align: center
165
+ font_color: $heading_font_color
166
+ font_size: $heading_h4_font_size
167
+ font_style: $heading_font_style
168
+ admonition:
169
+ column_rule_color: $base_border_color
170
+ column_rule_width: $base_border_width
171
+ padding: [0, $horizontal_rhythm, 0, $horizontal_rhythm]
172
+ #icon:
173
+ # tip:
174
+ # name: far-lightbulb
175
+ # stroke_color: 111111
176
+ # size: 24
177
+ label:
178
+ text_transform: uppercase
179
+ font_style: bold
180
+ blockquote:
181
+ font_size: $base_font_size_large
182
+ border_color: $base_border_color
183
+ border_width: 0
184
+ border_left_width: 5
185
+ # FIXME disable negative padding bottom once margin collapsing is implemented
186
+ padding: [0, $horizontal_rhythm, $block_margin_bottom * -0.75, $horizontal_rhythm + $blockquote_border_left_width / 2]
187
+ cite:
188
+ font_size: $base_font_size_small
189
+ font_color: $role_subtitle_font_color
190
+ verse:
191
+ font_size: $blockquote_font_size
192
+ border_color: $blockquote_border_color
193
+ border_width: $blockquote_border_width
194
+ border_left_width: $blockquote_border_left_width
195
+ padding: $blockquote_padding
196
+ cite:
197
+ font_size: $blockquote_cite_font_size
198
+ font_color: $blockquote_cite_font_color
199
+ # code is used for source blocks (perhaps change to source or listing?)
200
+ code:
201
+ font_color: $base_font_color
202
+ font_family: $literal_font_family
203
+ font_size: ceil($base_font_size)
204
+ padding: $code_font_size
205
+ line_height: 1.25
206
+ # line_gap is an experimental property to control how a background color is applied to an inline block element
207
+ line_gap: 3.8
208
+ background_color: F5F5F5
209
+ border_color: CCCCCC
210
+ border_radius: $base_border_radius
211
+ border_width: 0.75
212
+ conum:
213
+ font_family: $literal_font_family
214
+ font_color: $literal_font_color
215
+ font_size: $base_font_size
216
+ line_height: 4 / 3
217
+ glyphs: circled
218
+ example:
219
+ border_color: $base_border_color
220
+ border_radius: $base_border_radius
221
+ border_width: 0.75
222
+ background_color: $page_background_color
223
+ # FIXME reenable padding bottom once margin collapsing is implemented
224
+ padding: [$vertical_rhythm, $horizontal_rhythm, 0, $horizontal_rhythm]
225
+ image:
226
+ align: left
227
+ prose:
228
+ margin_bottom: $block_margin_bottom
229
+ sidebar:
230
+ background_color: EEEEEE
231
+ border_color: E1E1E1
232
+ border_radius: $base_border_radius
233
+ border_width: $base_border_width
234
+ # FIXME reenable padding bottom once margin collapsing is implemented
235
+ padding: [$vertical_rhythm, $vertical_rhythm * 1.25, 0, $vertical_rhythm * 1.25]
236
+ title:
237
+ align: center
238
+ font_color: $heading_font_color
239
+ font_size: $heading_h4_font_size
240
+ font_style: $heading_font_style
241
+ thematic_break:
242
+ border_color: $base_border_color
243
+ border_style: solid
244
+ border_width: $base_border_width
245
+ margin_top: $vertical_rhythm * 0.5
246
+ margin_bottom: $vertical_rhythm * 1.5
247
+ description_list:
248
+ term_font_style: bold
249
+ term_spacing: $vertical_rhythm / 4
250
+ description_indent: $horizontal_rhythm * 1.25
251
+ outline_list:
252
+ indent: $horizontal_rhythm * 1.5
253
+ #marker_font_color: 404040
254
+ # NOTE outline_list_item_spacing applies to list items that do not have complex content
255
+ item_spacing: $vertical_rhythm / 2
256
+ table:
257
+ background_color: $page_background_color
258
+ border_color: DDDDDD
259
+ border_width: $base_border_width
260
+ cell_padding: 3
261
+ head:
262
+ font_style: bold
263
+ border_bottom_width: $base_border_width * 2.5
264
+ body:
265
+ stripe_background_color: F9F9F9
266
+ foot:
267
+ background_color: F0F0F0
268
+ toc:
269
+ indent: $horizontal_rhythm
270
+ line_height: 1.4
271
+ dot_leader:
272
+ #content: ". "
273
+ font_color: A9A9A9
274
+ #levels: 2 3
275
+ footnotes:
276
+ font_size: round($base_font_size * 0.75)
277
+ item_spacing: $outline_list_item_spacing / 2
278
+ header:
279
+ font_size: $base_font_size_small
280
+ line_height: 1
281
+ vertical_align: middle
282
+ footer:
283
+ font_size: $base_font_size_small
284
+ # NOTE if background_color is set, background and border will span width of page
285
+ border_color: DDDDDD
286
+ border_width: 0.25
287
+ height: $base_line_height_length * 2.5
288
+ line_height: 1
289
+ padding: [$base_line_height_length / 2, 1, 0, 1]
290
+ vertical_align: top
291
+ recto:
292
+ #columns: "<50% =0% >50%"
293
+ right:
294
+ content: '{page-number}'
295
+ verso:
296
+ #columns: $footer_recto_columns
297
+ left:
298
+ content: $footer_recto_right_content