jekyll-theme-endless 0.22.2 → 0.22.3

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: 45d9b6fa2835d2da886589f693ab08be0b4982c80ed0e10aff4494f5a940eed9
4
- data.tar.gz: f173fb8e45e722a6ca068b0125ca55141c1a7c3e5d65679d620cfc624e03e5fe
3
+ metadata.gz: 75dcbde719d9ba40a9d7688d03ae6afdc9326b9ea1a5f9e5124ade271b6084eb
4
+ data.tar.gz: 5f27792c24f116317b2c14cb0814997a0f2e2b75dcc29493bafa0990e65583f1
5
5
  SHA512:
6
- metadata.gz: afa01141a8c7746f8ac0f77780c5d9436ff09257bf3e7560290d76fde2ff994e9094669dfb375bf2d47b7fe21fdb37b9a38836ea7f0851d5a5e0e44113f3f234
7
- data.tar.gz: f705d71913dc5e4ed28696fc4d6598ded960c2b37c36c92d57615ad7b3c9ac20489cb77d7183d9f854235cd1d89f7f402690608bcfaab59aeab2b3dadb81c8e6
6
+ metadata.gz: 2094bbdc1847fb1cc4afafdd37c78f39f87fa8f069f372ecaf4ba37e249c99f2463ad23b001346aa8866ec897367289db8d31916b43ad8719af47c1a0fdc4e99
7
+ data.tar.gz: b4d0e4c028e08fd4c1a4acf3f55c3c8b0af8a66d538841395959778be93b61703790144272d7723724f68a671abbfb8128ab11070e545f0ff81feba2493c56a3
@@ -1,5 +1,5 @@
1
1
  module Jekyll
2
2
  module Endless
3
- VERSION = '0.22.2'
3
+ VERSION = '0.22.3'
4
4
  end
5
5
  end
@@ -11,9 +11,7 @@
11
11
  :page-summary: "Discover the AsciiDoc showroom: See what's possible with AsciiDoc in this theme, including code, tables, lists, quotes, and more for advanced formatting."
12
12
  // The Liquid page variable ensures that the Liquid preprocessor is also applied to AsciiDoc files.
13
13
  // https://github.com/asciidoctor/jekyll-asciidoc?tab=readme-ov-file#enabling-liquid-preprocessing
14
- // This is required in this specific case because I need to access the content of the Jekyll variable `site.destination` within this document.
15
- // See the comments in the [[meme]] section for more details.
16
- :page-liquid:
14
+ //:page-liquid:
17
15
 
18
16
 
19
17
 
@@ -402,7 +400,11 @@ The result is:
402
400
  == Images
403
401
 
404
402
  // NOTE:
405
- // The image originates from the theme’s assets folder and is added to your blog during the build process.
403
+ // The image originates from the theme’s assets folder.
404
+ // It is added to your blog (target folder) during the Jekyll build process.
405
+ // If you want to build this document independently of Jekyll (e.g. by using asciidoctor-pdf),
406
+ // the image must be already available in source-folder.
407
+ // Thus, make sure to download the image to your local assets folder in advance.
406
408
 
407
409
  // AsciiDoc commands are not stripped/processed when used within `alt=""`.
408
410
  :pic_1_src: /assets/images/tree-3822149_640.jpg
@@ -1199,26 +1201,9 @@ qrcode::This QR code is generated with Asciidoctor Diagram and presented in PNG
1199
1201
 
1200
1202
  The https://docs.asciidoctor.org/diagram-extension/latest/diagram_types/meme/[meme extension] is based on https://imagemagick.org/[ImageMagick] and is used to create simple memes with text overlaid on images.
1201
1203
 
1202
- // In this example, I want to create a meme using an image that is packaged within the jekyll-theme-endless theme.
1203
- // This image is copied into the build folder (by default `_site`) during the build process.
1204
- // The meme extension needs to know the location of this image within the build directory.
1205
- // Since the build path can change, for example through the `-d` parameter, you should not hardcode `_site` here.
1206
- // The current build directory is stored in the Jekyll variable `site.destination`.
1207
- // See: https://jekyllrb.com/docs/configuration/options/
1208
- // This variable can be accessed using Liquid syntax via `{{ site.destination }}`.
1209
- // However, Liquid commands are not processed in AsciiDoc documents by default.
1210
- // To enable the Liquid preprocessor for this document, you need to set the `:page-liquid:` attribute in the document header.
1211
- // See: https://github.com/asciidoctor/jekyll-asciidoc?tab=readme-ov-file#enabling-liquid-preprocessing
1212
- // During the build process, the Liquid preprocessor runs first, followed by the AsciiDoc processor.
1213
- //
1214
- // I assume that this approach will rarely be needed in practice.
1215
- // Nevertheless, it provides a good insight into how Jekyll builds work and how AsciiDoc files are processed.
1216
- // So, unless you specifically want to use one of the images packaged with the jekyll-theme-endless theme for your memes,
1217
- // you can simply remove the `:page-liquid:` attribute and specify a path without using the Liquid variable {{ site.destination }}.
1218
-
1219
- :pic_2_src: {{ site.destination }}/assets/images/cat.jpg
1204
+ :pic_2_src: ../assets/images/cat.jpg
1220
1205
 
1221
- .Example of a meme created with the Meme diagram type, featuring an image of a cat with overlaid text at the top and bottom. The text is styled with a stroke width of 2 and a white fill color to enhance visibility against the background image. During the build process the source image was available at: `{pic_2_src}`.
1206
+ .Example of a meme created with the Meme diagram type, featuring an image of a cat with overlaid text at the top and bottom. The text is styled with a stroke width of 2 and a white fill color to enhance visibility against the background image.
1222
1207
  meme::{pic_2_src}[Markdown? // Really?, Did you understand // a single word written here?, stroke-width=2, fill-color=white]
1223
1208
 
1224
1209
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-endless
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.22.2
4
+ version: 0.22.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sven Boekhoff