jekyll-theme-centos 2.52.0.beta.107 → 2.52.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: cb595f91a030373bcf96e86db695ebc63a570c7ed6d717cf3ccfd499c2499371
4
- data.tar.gz: 0652ce4df5cd1f375f6635a223349349c44e154b1b02eb282eeacd902e5c11e8
3
+ metadata.gz: 964cc27d73e0ccd8456e91a703c48be5f314dbe8c2b8e8cd2c0364d4f340cb07
4
+ data.tar.gz: 30975543908df181c49d28245f5ba138b0936fffd1dd457c7fc555ee404d20ee
5
5
  SHA512:
6
- metadata.gz: 91ef0850cea3e6320150b0b1170f856dfef02117ccacf2cfdf16b1b55d69cc96649980d7618d3f66db7723572a0373c4e54c5bd603265773d2555c3cd38cb911
7
- data.tar.gz: cd55937ac323c309df3715c59c6dd81bab1c1d87d9b17bc4147b234b7ac0155cc731bc94a286df4c5a075446adb2d1ad2f9d373015c083ed412e3abb6a33f3bd
6
+ metadata.gz: 7674b9f83ac421870a147bf505b120c4c898cb674889f181825d55637697e42b3cb88fdca674c8a15addcf47fce126a0da16dbc7e52cb76088d3309d25148046
7
+ data.tar.gz: e29676a02232de5b42bbc05e9a0733a082bb4dfac0b1d4190ece0713cdc4356e3c36ffca202010223519088014cf693cdb3064ba55aff6438403e5056135517c
data/_config.yml CHANGED
@@ -79,7 +79,12 @@ defaults:
79
79
  with_artwork: false
80
80
  with_content: true
81
81
  with_link: true
82
- with_locales: false # Site localization (through jekyll-l10n plugin)
82
+ # Site localization through the jekyll-l10n plugin. Pages may override
83
+ # individual `with_locales_data` keys; unset keys are inherited from
84
+ # here. The build-level `incremental` setting goes under the top-level
85
+ # `jekyll_l10n` key instead. Full key reference and defaults:
86
+ # https://gitlab.com/CentOS/artwork/centos-web/jekyll-l10n
87
+ with_locales: false
83
88
  with_locales_data:
84
89
  locales: ["es", "fr", "it", "pt", "de"]
85
90
  locales_dir: "_locales"
@@ -91,15 +96,13 @@ defaults:
91
96
  exclude_selectors:
92
97
  [script, style, "code.language-plaintext", "pre code"]
93
98
  logging:
94
- level: "debug"
95
99
  show_statistics: true
96
- debug: true
100
+ debug: false
97
101
  translation:
98
102
  fallback: "english"
99
- preserve_html: true
100
103
  libretranslate_enabled: false # Explicit disabled for production
101
104
  libretranslate_api_url: "http://localhost:5000"
102
- libretranslate_api_key: nil
105
+ libretranslate_api_key: ~
103
106
  libretranslate_timeout: 300
104
107
  libretranslate_batch_size: 50
105
108
  libretranslate_retry_attempts: 3
@@ -165,15 +168,15 @@ permalink: /:path/:basename/
165
168
  # -------------------------------------------------------------------------------
166
169
  # Plugins
167
170
  # -------------------------------------------------------------------------------
168
- with_link_decorator: true
169
- with_link_decorator_data:
171
+ jekyll_link_decorator:
172
+ enabled: true
170
173
  default_link_classes: "link link-offset-2 link-offset-2-hover link-underline link-underline-opacity-0 link-underline-opacity-100-hover focus-ring"
171
174
  alert_link_classes: "alert-link focus-ring"
172
175
  external_link_icon: true
173
176
  external_link_icon_excluded_tags:
174
177
  - img
175
-
176
- with_heading_anchor: true
178
+ heading_anchor:
179
+ enabled: true
177
180
 
178
181
  with_minify: true
179
182
  with_minify_data:
@@ -3,25 +3,33 @@ title: Heading Anchor Component Configuration
3
3
  description: >
4
4
  Configuration for the first-class heading anchor feature of jekyll-link-decorator.
5
5
  Each heading (h1–h6) receives a permalink: an anchor with a hover/focus-revealed
6
- glyph, linking to the heading itself.
6
+ glyph, linking to the heading itself. The plugin reads these settings from the
7
+ site's `_config.yml` only, under `jekyll_link_decorator.heading_anchor`.
7
8
  type: object
8
9
  properties:
9
- with_heading_anchor:
10
- type: boolean
11
- description: Enable or disable automatic heading anchor injection.
12
- default: true
13
- with_heading_anchor_data:
10
+ jekyll_link_decorator:
14
11
  type: object
15
- description: Configuration for heading anchor appearance.
12
+ description: Site-wide jekyll-link-decorator settings in `_config.yml`.
16
13
  properties:
17
- icon:
18
- type: string
19
- description: >
20
- CSS classes applied to the anchor's glyph element. Defaults to a plain
21
- "#" character rendered via the .heading-anchor-hash class.
22
- default: "heading-anchor-hash"
23
- icon_size:
24
- type: string
25
- description: Font Awesome size modifier appended after the icon classes.
26
- additionalProperties: false
14
+ heading_anchor:
15
+ type: object
16
+ description: Heading anchor injection and appearance.
17
+ properties:
18
+ enabled:
19
+ type: boolean
20
+ description: >
21
+ Enable or disable automatic heading anchor injection. The plugin
22
+ leaves anchors off when this is absent; jekyll-theme-centos turns
23
+ them on in its bundled `_config.yml`.
24
+ default: false
25
+ icon:
26
+ type: string
27
+ description: >
28
+ CSS classes applied to the anchor's glyph element. Defaults to a plain
29
+ "#" character rendered via the .heading-anchor-hash class.
30
+ default: "heading-anchor-hash"
31
+ icon_size:
32
+ type: string
33
+ description: Font Awesome size modifier appended after the icon classes.
34
+ additionalProperties: false
27
35
  additionalProperties: false
@@ -54,7 +54,7 @@ properties:
54
54
  CSS classes for the link. Set it to replace the default styling,
55
55
  for example with button classes (`btn btn-primary btn-lg`). When
56
56
  you don't set it, the link copies the site's Markdown link
57
- classes (`with_link_decorator_data.default_link_classes` in
57
+ classes (`jekyll_link_decorator.default_link_classes` in
58
58
  `_config.yml`) and uses `color` for the text and underline, so
59
59
  both kinds of links look the same. Sites without that setting
60
60
  get this property's default, with `color` filled in.
@@ -36,7 +36,7 @@ Schema: src/YAML/breadcrumb_schema.yml
36
36
  <div class="{{ column_class }}">
37
37
  <nav class="small" aria-label="{{ with_breadcrumb_data.arialabel | default: with_breadcrumb_schema.arialabel.default }}">
38
38
  <ol class="breadcrumb mb-0">
39
- <li class="breadcrumb-item"><a class="{{ site.with_link_decorator_data.default_link_classes }}" href="{{ site.baseurl }}{{ crumb_prefix }}/">Home</a></li>
39
+ <li class="breadcrumb-item"><a class="{{ site.jekyll_link_decorator.default_link_classes }}" href="{{ site.baseurl }}{{ crumb_prefix }}/">Home</a></li>
40
40
 
41
41
  {%- assign crumbs = breadcrumb_url | remove:'/index.html' | split: '/' %}
42
42
  {%- for crumb in crumbs offset: 1 %}
@@ -44,7 +44,7 @@ Schema: src/YAML/breadcrumb_schema.yml
44
44
  <li class="breadcrumb-item active">{{ page.title }}</li>
45
45
  {%- else %}
46
46
  {%- assign crumb_limit = forloop.index | plus: 1 %}
47
- <li class="breadcrumb-item"><a class="{{ site.with_link_decorator_data.default_link_classes }}" href="{{ site.baseurl }}{{ crumb_prefix }}{% for crumb in crumbs limit: crumb_limit %}{{ crumb | append: '/' }}{% endfor %}">{{ crumb | replace:'-',' ' | remove:'.html' | capitalize }}</a></li>
47
+ <li class="breadcrumb-item"><a class="{{ site.jekyll_link_decorator.default_link_classes }}" href="{{ site.baseurl }}{{ crumb_prefix }}{% for crumb in crumbs limit: crumb_limit %}{{ crumb | append: '/' }}{% endfor %}">{{ crumb | replace:'-',' ' | remove:'.html' | capitalize }}</a></li>
48
48
  {%- endif %}
49
49
  {%- endfor %}
50
50
  </ol>
@@ -48,9 +48,9 @@ Schema: src/YAML/link_schema.yml
48
48
 
49
49
  {%- if class != nil -%}
50
50
  {%- assign link_class = class %}
51
- {%- elsif site.with_link_decorator_data.default_link_classes -%}
51
+ {%- elsif site.jekyll_link_decorator.default_link_classes -%}
52
52
  {%- comment %} Start from the site's Markdown link classes so both kinds of links look the same; `color` sets the text and underline color. {% endcomment %}
53
- {%- assign link_class_tokens = site.with_link_decorator_data.default_link_classes | split: " " %}
53
+ {%- assign link_class_tokens = site.jekyll_link_decorator.default_link_classes | split: " " %}
54
54
  {%- assign link_class = "" %}
55
55
  {%- assign link_color_emitted = false %}
56
56
  {%- assign link_underline_emitted = false %}
@@ -14,7 +14,7 @@ Schema: src/YAML/toc_schema.yml
14
14
  {%- assign class = with_toc_data.class | default: with_toc_schema["class"].default %}
15
15
  {%- assign id = with_toc_data.id | default: with_toc_schema["id"].default %}
16
16
  {%- assign item_class = with_toc_data.item_class | default: with_toc_schema["item_class"].default %}
17
- {%- assign anchor_class = with_toc_data.anchor_class | default: with_toc_schema["anchor_class"].default | default: site.with_link_decorator_data.default_link_classes %}
17
+ {%- assign anchor_class = with_toc_data.anchor_class | default: with_toc_schema["anchor_class"].default | default: site.jekyll_link_decorator.default_link_classes %}
18
18
  {%- assign h_min = with_toc_data.h_min | default: with_toc_schema["h_min"].default %}
19
19
  {%- assign h_max = with_toc_data.h_max | default: with_toc_schema["h_max"].default %}
20
20
  {%- assign ordered = with_toc_data.ordered | default: with_toc_schema["ordered"].default %}
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-centos
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.52.0.beta.107
4
+ version: 2.52.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alain Reguera Delgado