jekyll-theme-centos 2.52.0 → 2.52.1

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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/_config.yml +42 -17
  3. metadata +7 -7
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 964cc27d73e0ccd8456e91a703c48be5f314dbe8c2b8e8cd2c0364d4f340cb07
4
- data.tar.gz: 30975543908df181c49d28245f5ba138b0936fffd1dd457c7fc555ee404d20ee
3
+ metadata.gz: 1abca6bea8d9db19972ac965579f61a99a1e84dfbdc79f5d1745330cbd453e69
4
+ data.tar.gz: b9f48f2142e2205d4ff6ac9f4dd18cbda226cc5fcdbbc3f75da7de6fd8c7af19
5
5
  SHA512:
6
- metadata.gz: 7674b9f83ac421870a147bf505b120c4c898cb674889f181825d55637697e42b3cb88fdca674c8a15addcf47fce126a0da16dbc7e52cb76088d3309d25148046
7
- data.tar.gz: e29676a02232de5b42bbc05e9a0733a082bb4dfac0b1d4190ece0713cdc4356e3c36ffca202010223519088014cf693cdb3064ba55aff6438403e5056135517c
6
+ metadata.gz: e7213f101a6e4ff471b0a7f71c5b86b9a79d33762bbe717b68c3840e28a7770f448aae56e9c401e80521715c462b5a12c33075fea6fd24812dd00e96e66ab9b5
7
+ data.tar.gz: 696ac4a2eb4cb7b0ef64ce8ce0634a7d500a52105c6cf5afc38d33d45791e28d7220b1bf072bb0155badfe62baeeb77df446f318aea755ee998a7e0a534eea9d
data/_config.yml CHANGED
@@ -79,35 +79,26 @@ defaults:
79
79
  with_artwork: false
80
80
  with_content: true
81
81
  with_link: true
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:
82
+ # Site localization through the jekyll-l10n plugin. Disabled by
83
+ # default; sites opt in by setting `with_locales: true`.
84
+ # Per-page jekyll-l10n settings. A page's front matter can override
85
+ # any of them. Settings for the whole build are under `jekyll_l10n`.
86
+ # Full key reference and defaults:
86
87
  # https://gitlab.com/CentOS/artwork/centos-web/jekyll-l10n
87
88
  with_locales: false
88
89
  with_locales_data:
89
90
  locales: ["es", "fr", "it", "pt", "de"]
90
91
  locales_dir: "_locales"
91
92
  extract_on_build: true
92
- update_compendium: true
93
93
  extraction:
94
94
  translatable_attributes:
95
95
  [title, alt, aria-label, placeholder, aria-description]
96
96
  exclude_selectors:
97
97
  [script, style, "code.language-plaintext", "pre code"]
98
98
  logging:
99
- show_statistics: true
100
99
  debug: false
101
100
  translation:
102
101
  fallback: "english"
103
- libretranslate_enabled: false # Explicit disabled for production
104
- libretranslate_api_url: "http://localhost:5000"
105
- libretranslate_api_key: ~
106
- libretranslate_timeout: 300
107
- libretranslate_batch_size: 50
108
- libretranslate_retry_attempts: 3
109
- libretranslate_retry_delay: 2
110
- libretranslate_stop_on_error: true
111
102
  # ----------------------------------------------------------------
112
103
  # Footer
113
104
  # ----------------------------------------------------------------
@@ -126,6 +117,33 @@ defaults:
126
117
  with_copyvalue: true
127
118
  with_datatable: false
128
119
 
120
+ # -------------------------------------------------------------------------------
121
+ # jekyll-l10n
122
+ # -------------------------------------------------------------------------------
123
+ # Settings that apply to the whole build. The plugin reads them only here, not
124
+ # from `defaults` or page front matter. Per-page settings are in
125
+ # `with_locales_data` above.
126
+ jekyll_l10n:
127
+ incremental: false
128
+ update_compendium: true
129
+ logging:
130
+ show_statistics: true
131
+ trace: false
132
+ translation:
133
+ # min_coverage: 90 # Fail the build when a locale is less translated (%)
134
+ libretranslate_enabled: false # Explicitly disabled for production
135
+ libretranslate_api_url: "http://localhost:5000"
136
+ libretranslate_source_locale: "en" # Source language for translation
137
+ libretranslate_format: "html" # Preserve HTML tags during translation
138
+ libretranslate_timeout: 300
139
+ libretranslate_batch_size: 50
140
+ libretranslate_concurrency: 4 # Requests sent at once (1 sends one at a time)
141
+ libretranslate_retry_attempts: 3
142
+ libretranslate_retry_delay: 2
143
+ libretranslate_stop_on_error: false
144
+ libretranslate_mark_fuzzy: false # true: machine translations wait for review
145
+ libretranslate_progress_interval: 10 # Log progress every N entries (0 to disable)
146
+
129
147
  plugins:
130
148
  - jekyll-feed
131
149
  - jekyll-toc
@@ -177,13 +195,20 @@ jekyll_link_decorator:
177
195
  - img
178
196
  heading_anchor:
179
197
  enabled: true
198
+ icon: "heading-anchor-hash"
180
199
 
181
- with_minify: true
182
- with_minify_data:
200
+ # -------------------------------------------------------------------------------
201
+ # jekyll-minify
202
+ # -------------------------------------------------------------------------------
203
+ # Settings that apply to the whole build. Full key reference and defaults:
204
+ # https://gitlab.com/CentOS/artwork/centos-web/jekyll-minify
205
+ jekyll_minify:
206
+ enabled: true
183
207
  keep_html_and_head_opening_tags: true # preserve <html> and <head> tags
184
208
  keep_closing_tags: true # preserve optional closing tags
185
209
  minify_css: true # minify inline CSS
186
210
  minify_js: true # minify inline JavaScript
187
211
  remove_bangs: true # remove <!-- !...> comments
188
212
  remove_processing_instructions: true # remove <?...?> instructions
189
- ensure_spec_compliant_unquoted_attribute_values: true # W3C compliance
213
+ allow_noncompliant_unquoted_attribute_values: false # W3C compliance
214
+ keep_input_type_text_attr: true # keep type="text" for HTML validators
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
4
+ version: 2.52.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alain Reguera Delgado
@@ -63,42 +63,42 @@ dependencies:
63
63
  requirements:
64
64
  - - ">="
65
65
  - !ruby/object:Gem::Version
66
- version: '1.3'
66
+ version: '3.0'
67
67
  type: :runtime
68
68
  prerelease: false
69
69
  version_requirements: !ruby/object:Gem::Requirement
70
70
  requirements:
71
71
  - - ">="
72
72
  - !ruby/object:Gem::Version
73
- version: '1.3'
73
+ version: '3.0'
74
74
  - !ruby/object:Gem::Dependency
75
75
  name: jekyll-link-decorator
76
76
  requirement: !ruby/object:Gem::Requirement
77
77
  requirements:
78
78
  - - ">="
79
79
  - !ruby/object:Gem::Version
80
- version: '1.0'
80
+ version: '2.0'
81
81
  type: :runtime
82
82
  prerelease: false
83
83
  version_requirements: !ruby/object:Gem::Requirement
84
84
  requirements:
85
85
  - - ">="
86
86
  - !ruby/object:Gem::Version
87
- version: '1.0'
87
+ version: '2.0'
88
88
  - !ruby/object:Gem::Dependency
89
89
  name: jekyll-minify
90
90
  requirement: !ruby/object:Gem::Requirement
91
91
  requirements:
92
92
  - - ">="
93
93
  - !ruby/object:Gem::Version
94
- version: '1.0'
94
+ version: '2.0'
95
95
  type: :runtime
96
96
  prerelease: false
97
97
  version_requirements: !ruby/object:Gem::Requirement
98
98
  requirements:
99
99
  - - ">="
100
100
  - !ruby/object:Gem::Version
101
- version: '1.0'
101
+ version: '2.0'
102
102
  - !ruby/object:Gem::Dependency
103
103
  name: jekyll-toc
104
104
  requirement: !ruby/object:Gem::Requirement