jekyll-theme-endless 0.18.1 → 0.19.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bdc2e7fa0bbc121bd98c151ae080b61aa7d7d73859812642950e7e1d412732a6
4
- data.tar.gz: 2efbe54fb9b326749e2c87868700e37cc58d989945a2f560dc7ccb348929d808
3
+ metadata.gz: 4e5ff4a4e9f3b7bb21ec91c0c9b501f299e50305551feaefe819f903a48e84c1
4
+ data.tar.gz: 32a9bb1812ac5eb4219fe3066a7680a7f4143b45e8409155b9e65931817bdc40
5
5
  SHA512:
6
- metadata.gz: a413c6f3fedbb0cb8280e83764c93d03a639e7aa08d4417625dcb9145e99127c7169b9348e276904935a468946a20ca4ed8d75544c8385f2d6ff7569778616a3
7
- data.tar.gz: f921a4f43e58ed38eb89ea3c19071819870d41328043e6aaacf5ac10dc96c3525a67285c6aff1ceecbed01fd2fe14efbd61976baf2fd85a04fc2b08757e92133
6
+ metadata.gz: 84a36eadac4ae05a13c9a0985857f13b8a7f6c78e1399c25a1ca914d7120a6f0c2539bc92e1683a4e83f2ed46817f4d0ee2db18d2165733165b5b1ed7493cc5f
7
+ data.tar.gz: d606eb76dfcdf45a8238148eb263dd2062f9ca5ee2095a5521c11f3122fd4168adc886ee66ebbfaa2c4fe4f7c34b59d85c6398bc36c5a0052009076ca9d16265
data/README.adoc CHANGED
@@ -105,12 +105,12 @@ If you want to use Markdown AND have HTML-commands in the title, simply escape t
105
105
 
106
106
  == Example posts and pages
107
107
 
108
- The project repository contains
108
+ The project repository contains:
109
109
 
110
- * Two example posts with examples and explanations on which front matter variables you can use in posts and pages, and how to use them.
110
+ * Two example **posts** with examples and explanations on which front matter variables you can use in posts and pages, and how to use them.
111
111
  ** link:/asciidoc-example/[Example post for AsciiDoc with explanations]
112
112
  ** link:/markdown-example/[Example post for Markdown with explanations]
113
- * Two example pages (the showrooms) where you can explore the features of Markdown and AsciiDoc. In the source code, you can see how to implement these yourself.
113
+ * Two example **pages** (the showrooms) where you can explore the features of Markdown and AsciiDoc. In the source code, you can see how to implement these yourself.
114
114
  ** link:/asciidoc-showroom/[AsciiDoc Showroom]
115
115
  ** link:/markdown-showroom/[Markdown Showroom]
116
116
 
@@ -387,9 +387,27 @@ I typically use this page as a layout for my "about" page.
387
387
 
388
388
  === Includes
389
389
 
390
+ `_includes/aside_top.html`::
391
+ +
392
+ --
393
+ The first of four elements displayed alongside the page content (or at the end of the page on mobile devices).
394
+ This can be used for a more complex blog navigation e.g. if you use many pages in hierarchical structures.
395
+ It's best practice to wrap the content in an `<aside>` element, as shown below.
396
+
397
+ [source, html]
398
+ ----
399
+ <aside>
400
+ <h3>Page Navigation</h3>
401
+ <div class="col">
402
+ Navigation links go here
403
+ </div>
404
+ </aside>
405
+ ----
406
+ --
407
+
390
408
  `_includes/aside_navigation.html`::
391
409
 
392
- The first of three elements displayed alongside the page content (or at the end of the page on mobile devices).
410
+ The second of four elements displayed alongside the page content (or at the end of the page on mobile devices).
393
411
  This typically contains blog navigation elements such as 'Recent Articles,' 'Tag Cloud,' etc.
394
412
  It's best practice to wrap the content in an `<aside>` element.
395
413
 
@@ -397,14 +415,14 @@ It's best practice to wrap the content in an `<aside>` element.
397
415
 
398
416
  `_includes/aside_info.html`::
399
417
 
400
- The second of the three elements, typically providing additional information about the blog (e.g., a link to the RSS feed).
418
+ The third of the four elements, typically providing additional information about the blog (e.g., a link to the RSS feed).
401
419
  This content is also ideally wrapped in an `<aside>` element.
402
420
 
403
421
 
404
422
 
405
423
  `_includes/aside_more.html`::
406
424
 
407
- The third of the three elements is typically used to display links to partner sites, sponsorships, or advertisements relevant to the blog's audience.
425
+ The fourth of the four elements is typically used to display links to partner sites, sponsorships, or advertisements relevant to the blog's audience.
408
426
  Similar to the other sections, this content is best organized within an `<aside>` element to ensure it complements the main content without disrupting the reader's experience.
409
427
 
410
428
 
@@ -1,5 +1,5 @@
1
1
  {% comment %}
2
- This file contains the second of the three elements, which provides additional information about the blog, such as a link to the RSS feed.
2
+ This file contains the third of the four elements, which provides additional information about the blog, such as a link to the RSS feed.
3
3
  This content is also best organized within an <aside> element to keep it distinct from the main content.
4
4
  {% endcomment %}
5
5
  <aside>
@@ -1,5 +1,5 @@
1
1
  {% comment %}
2
- This file contains the third of the three elements, often used to display links to partner sites or advertisements.
2
+ This file contains the fourth of the four elements, often used to display links to partner sites or advertisements.
3
3
  This section is intended to showcase external resources or sponsored content relevant to the blog's audience,
4
4
  and it is also best placed within an <aside> element.
5
5
 
@@ -1,5 +1,5 @@
1
1
  {% comment %}
2
- This file contains the first of the three elements displayed alongside the page content (or at the end of the page on mobile devices).
2
+ This file contains the second of the four elements displayed alongside the page content (or at the end of the page on mobile devices).
3
3
  It typically includes blog navigation, such as 'Recent Articles' or 'Tag Cloud,' and is ideally wrapped in an <aside> element.
4
4
  {% endcomment %}
5
5
  <aside>
@@ -0,0 +1,14 @@
1
+ {% comment %}
2
+ This file contains the first of the four side elements.
3
+ It can be used to display a more complex navigation than the one at the top of the page.
4
+ It is also best placed within an <aside> element.
5
+
6
+ <aside>
7
+ <h3>Page Navigation</h3>
8
+ <div class="col">
9
+ Navigation links go here
10
+ </div>
11
+ </aside>
12
+
13
+ {% endcomment %}
14
+
@@ -73,6 +73,7 @@ layout: html
73
73
  </div>
74
74
 
75
75
  <div class="col-lg-4 pb-5">
76
+ {% include aside_top.html %}
76
77
  {% include aside_navigation.html %}
77
78
  {% include aside_info.html %}
78
79
  {% include aside_more.html %}
@@ -0,0 +1,30 @@
1
+ /**
2
+ * Button styles for the output of the AsciiDoc command `btn`.
3
+ */
4
+ b.button {
5
+ font: inherit;
6
+ font-weight: 600;
7
+ white-space: nowrap;
8
+ background: #f5f5f5;
9
+ border: 1px solid rgba(0,0,0,.12);
10
+ padding: .2rem .7rem;
11
+ border-radius: .5rem;
12
+ }
13
+
14
+ /**
15
+ * Styles for the output of the AsciiDoc command `kbd`.
16
+ */
17
+ .keyseq kbd {
18
+ display: inline-block;
19
+ padding: 0.42em 0.71em;
20
+ margin: 0 0.2em;
21
+ background: #f5f5f5;
22
+ color: #000;
23
+ font: 600 0.85em/0.85 monospace;
24
+ letter-spacing: .05em;
25
+ white-space: nowrap;
26
+ border: 1px solid #bbb;
27
+ border-radius: .1em;
28
+ box-shadow: 2px 2px 0 #888;
29
+ }
30
+
data/assets/css/main.scss CHANGED
@@ -41,6 +41,7 @@
41
41
  @use "adoc-text";
42
42
  @use "adoc-toc";
43
43
  @use "adoc-stem";
44
+ @use "adoc-experimental";
44
45
 
45
46
  /*
46
47
  * Dynamically add stylesheets as configured by the user in `_config.yml`
@@ -1,5 +1,5 @@
1
1
  module Jekyll
2
2
  module Endless
3
- VERSION = '0.18.1'
3
+ VERSION = '0.19.0'
4
4
  end
5
5
  end
@@ -50,8 +50,8 @@ While counter < 5 do
50
50
  End
51
51
  ----
52
52
 
53
- // For detailed information see:
54
- // https://docs.asciidoctor.org/asciidoc/latest/syntax-quick-reference/#literals-and-source-code
53
+ For detailed information see the https://docs.asciidoctor.org/asciidoc/latest/syntax-quick-reference/#literals-and-source-code[section "Literals and source code" in the AsciiDoc Syntax Quick Reference]
54
+
55
55
  .Python code block with annotations.
56
56
  [source,python]
57
57
  ----
@@ -99,6 +99,45 @@ include::showroom-asciidoc-code.html[lines=4..]
99
99
 
100
100
 
101
101
 
102
+ [[text-replacements]]
103
+ == Text replacements
104
+
105
+ Also see the https://docs.asciidoctor.org/asciidoc/latest/syntax-quick-reference/#text-replacements[section "Text replacements" in the AsciiDoc Syntax Quick Reference]
106
+
107
+ * `\->` is replaced by *->*
108
+ * `\<-` is replaced by *<-*
109
+ * `\=>` is replaced by *=>*
110
+ * `\<=` is replaced by *<=*
111
+ * `\(C)` is replaced by *(C)*
112
+ * `\(R)` is replaced by *(R)*
113
+ * `\...` is replaced by *...*
114
+ * `\(TM)` is replaced by *(TM)*
115
+ * `a \-- b` is replaced by *a -- b*
116
+
117
+
118
+
119
+
120
+
121
+ [[footnotes]]
122
+ == Footnotes
123
+
124
+ Also see the https://docs.asciidoctor.org/asciidoc/latest/syntax-quick-reference/#section-footnotes[section "Footnotes" in the AsciiDoc Syntax Quick Reference]
125
+
126
+ * A statement with a footnote. footnote:[Details about this statement.]
127
+ * A statement with a footnote!footnote:xyz[A named footnote with the id 'xyz'.]
128
+ * Another statement with the same footnote!footnote:xyz[]
129
+
130
+ [source, asciidoc]
131
+ ----
132
+ * A statement with a footnote. footnote:[Details about this statement.]
133
+ * A statement with a footnote!footnote:xyz[A named footnote with the id 'xyz'.]
134
+ * Another statement with the same footnote!footnote:xyz[]
135
+ ----
136
+
137
+
138
+
139
+
140
+
102
141
  [[links]]
103
142
  == Links
104
143
 
@@ -115,13 +154,27 @@ include::showroom-asciidoc-code.html[lines=4..]
115
154
 
116
155
 
117
156
 
118
- == Keyboard shortcuts and menu paths
157
+ [[experimental]]
158
+ == Keyboard shortcuts, buttons and menu paths
159
+
160
+ Also see the https://docs.asciidoctor.org/asciidoc/latest/syntax-quick-reference/#keyboard-button-and-menu-macros[section "Keyboard, button, and menu macros" in the AsciiDoc Syntax Quick Reference]
119
161
 
120
- kbd:[Ctrl + Alt + Del]
162
+ IMPORTANT: You must add the `:experimental:` attribute to the document header to enable these macros.
121
163
 
122
- menu:View[Appearance > Full Screen]
164
+ [cols="1,1", options="header"]
165
+ |===
166
+ | AsciiDoc Code
167
+ | Result
168
+
169
+ | `\kbd:[Ctrl + Alt + Del]`
170
+ | kbd:[Ctrl + Alt + Del]
123
171
 
172
+ | `\menu:View[Appearance > Full Screen]`
173
+ | menu:View[Appearance > Full Screen]
124
174
 
175
+ | `\btn:[Submit]`
176
+ | btn:[Submit]
177
+ |===
125
178
 
126
179
 
127
180
 
@@ -159,6 +212,27 @@ CAUTION: Admonition: `CAUTION`.
159
212
  WARNING: Admonition: `WARNING`.
160
213
 
161
214
 
215
+ Code for the *inline* command (here for a TIP):
216
+
217
+ [source, asciidoc]
218
+ ----
219
+ TIP: Admonition: `TIP`.
220
+ ----
221
+
222
+
223
+ Code for the *block* command (here for a NOTE):
224
+
225
+ [source, asciidoc]
226
+ ----
227
+ [NOTE]
228
+ ====
229
+ ...
230
+ ====
231
+ ----
232
+
233
+
234
+
235
+
162
236
 
163
237
 
164
238
 
@@ -211,6 +285,37 @@ WARNING: Admonition: `WARNING`.
211
285
 
212
286
 
213
287
 
288
+ [[passthrough-blocks]]
289
+ == Passthrough blocks
290
+
291
+ With passthrough blocks (delimited with `&#43;&#43;&#43;&#43;`), you can embed raw HTML code directly into your AsciiDoc document. Common examples are the inclusion of an HTML form, CSS and JavaScript snippets.
292
+
293
+ To add a form to your document, you can use:
294
+
295
+ [source, asciidoc]
296
+ ----
297
+ ++++
298
+ <form onsubmit="alert('Thank you for subscribing!'); return false;">
299
+ <input type="email" required placeholder="name@example.com">
300
+ <button type="submit">Subscribe</button>
301
+ </form>
302
+ ++++
303
+ ----
304
+
305
+ The result is:
306
+
307
+ ++++
308
+ <form onsubmit="alert('Thank you for subscribing!'); return false;">
309
+ <input type="email" required placeholder="name@example.com">
310
+ <button type="submit">Subscribe</button>
311
+ </form>
312
+ ++++
313
+
314
+
315
+
316
+
317
+
318
+
214
319
  == Images
215
320
 
216
321
  // AsciiDoc commands are not stripped/processed when used within `alt=""`.
@@ -511,6 +616,45 @@ Bob->Alice : hello
511
616
  Alice --> Bob : hi
512
617
  ----
513
618
 
619
+ [[mindmap-example]]
620
+ .Example of a mind map illustrating concepts in the field of Artificial Intelligence (AI) and Machine Learning (ML).
621
+ [plantuml, format=svg]
622
+ ----
623
+ @startmindmap
624
+ * Artificial Intelligence (AI)
625
+ ** Symbolic AI
626
+ *** Logic / Knowledge Representation
627
+ *** Expert Systems
628
+ ** Machine Learning (ML)
629
+ *** Supervised Learning
630
+ **** Classification
631
+ ***** Decision Trees
632
+ ***** Neural Networks
633
+ ***** Support Vector Machines (SVM)
634
+ **** Regression
635
+ ***** Linear Regression
636
+ ***** Logistic Regression
637
+ *** Unsupervised Learning
638
+ **** Clustering
639
+ ***** K-Means
640
+ ***** DBSCAN
641
+ **** Dimensionality Reduction
642
+ ***** PCA (Principal Component Analysis)
643
+ ***** t-SNE / UMAP
644
+ *** Reinforcement Learning
645
+ **** Q-Learning
646
+ **** Deep Q-Networks (DQN)
647
+ **** Policy Gradient Methods
648
+ *** Deep Learning
649
+ **** CNN (Convolutional Neural Networks)
650
+ **** RNN (Recurrent Neural Networks)
651
+ **** LSTM / GRU
652
+ **** Transformer
653
+ ***** BERT
654
+ ***** GPT
655
+ @endmindmap
656
+ ----
657
+
514
658
 
515
659
 
516
660
  === Graphviz
@@ -609,11 +753,11 @@ LilyPond is a music engraving program that enables users to create beautifully t
609
753
 
610
754
 
611
755
  [[barcodes]]
612
- == QR codes and Barcodes
756
+ === QR codes and Barcodes
613
757
 
614
758
  For details on how to use the QR code and barcode features, see the https://docs.asciidoctor.org/diagram-extension/latest/diagram_types/barcode/[Asciidoctor Diagram documentation on Barcodes and QR Codes].
615
759
 
616
- === Block version of QR Codes (PNG and SVG)
760
+ ==== Block version of QR Codes (PNG and SVG)
617
761
 
618
762
  // Barcode block
619
763
  .QR code in SVG format using a code block and a specified x-dimension (value of `7`).
@@ -628,7 +772,7 @@ qrcode::This QR code is generated with Asciidoctor Diagram and presented in PNG
628
772
 
629
773
 
630
774
 
631
- === Inline version of Barcodes and QR codes (PNG)
775
+ ==== Inline version of Barcodes and QR codes (PNG)
632
776
 
633
777
  * qrcode: qrcode:HelloWorld![png, xdim=4]
634
778
  * code128: code128:HelloWorld![png, height=40]
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-endless
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.18.1
4
+ version: 0.19.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sven Boekhoff
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-06-13 00:00:00.000000000 Z
10
+ date: 2025-09-02 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: jekyll-asciidoc
@@ -229,6 +229,7 @@ files:
229
229
  - _includes/aside_info.html
230
230
  - _includes/aside_more.html
231
231
  - _includes/aside_navigation.html
232
+ - _includes/aside_top.html
232
233
  - _includes/container_end-of-document.html
233
234
  - _includes/container_end-of-main.html
234
235
  - _includes/container_end-of-page.html
@@ -265,6 +266,7 @@ files:
265
266
  - _sass/address.scss
266
267
  - _sass/adoc-admonition.scss
267
268
  - _sass/adoc-code.scss
269
+ - _sass/adoc-experimental.scss
268
270
  - _sass/adoc-images.scss
269
271
  - _sass/adoc-lists.scss
270
272
  - _sass/adoc-quote.scss