pandorga 1.11.0 → 1.13.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 +4 -4
- data/CHANGELOG.md +12 -0
- data/DESIGN.md +6 -8
- data/_includes/content-runtime/43-blocks.html +26 -4
- data/_includes/content-runtime/60-fragments.html +1 -0
- data/_layouts/projects.html +7 -1
- data/lib/pandorga/cli.rb +4 -1
- data/lib/pandorga/commands/install_functions.rb +36 -1
- data/lib/pandorga/commands/new.rb +1 -1
- data/lib/pandorga/commands/studio_schema.rb +162 -54
- data/lib/pandorga/commands/thumbnails.rb +19 -0
- data/lib/pandorga/registry/schema.yml +1 -1
- data/lib/pandorga/thumbnail_variants.rb +267 -0
- data/lib/pandorga/version.rb +1 -1
- data/lib/pandorga.rb +1 -0
- data/scripts/content/export-content-json.rb +22 -1
- data/scripts/test/fixtures/studio-taxonomy/page-local/_config.yml +9 -0
- data/scripts/test/fixtures/studio-taxonomy/top-level/_config.yml +9 -0
- data/scripts/test/test-poster-srcset.mjs +159 -0
- data/scripts/test/test-studio-taxonomy.rb +246 -0
- data/scripts/test/test-thumbnail-variants.rb +380 -0
- data/scripts/validate.sh +7 -0
- data/studio/schema.yml +4 -17
- metadata +8 -1
data/studio/schema.yml
CHANGED
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
# - Thumbnail / image fields accept HTTPS URLs or /media/… paths (hotlink OK).
|
|
8
8
|
# - Calendar days use type date with format yyyy-MM-dd
|
|
9
9
|
# - Form order: identity (key, title, description) → options → body last
|
|
10
|
+
# Tag vocabularies are empty here: install-functions fills them from the site's _config.yml (PLT-AC-43).
|
|
10
11
|
|
|
11
12
|
media:
|
|
12
13
|
name: media
|
|
@@ -72,19 +73,7 @@ content:
|
|
|
72
73
|
options:
|
|
73
74
|
multiple: true
|
|
74
75
|
max: 3
|
|
75
|
-
values:
|
|
76
|
-
[
|
|
77
|
-
arte,
|
|
78
|
-
brasilidade,
|
|
79
|
-
carme,
|
|
80
|
-
devaneio,
|
|
81
|
-
engraçadinho,
|
|
82
|
-
música,
|
|
83
|
-
pesquisa,
|
|
84
|
-
provocação,
|
|
85
|
-
técnico,
|
|
86
|
-
trabalho,
|
|
87
|
-
]
|
|
76
|
+
values: []
|
|
88
77
|
- name: language
|
|
89
78
|
label: Language
|
|
90
79
|
type: select
|
|
@@ -170,10 +159,8 @@ content:
|
|
|
170
159
|
description: "One to three."
|
|
171
160
|
options:
|
|
172
161
|
multiple: true
|
|
173
|
-
min: 1
|
|
174
162
|
max: 3
|
|
175
|
-
values:
|
|
176
|
-
[Aesthetics, AI, Data, DevOps, Mathematics, Robotics, Social]
|
|
163
|
+
values: []
|
|
177
164
|
- name: language
|
|
178
165
|
label: Language
|
|
179
166
|
type: select
|
|
@@ -441,7 +428,7 @@ content:
|
|
|
441
428
|
- name: label
|
|
442
429
|
label: Label
|
|
443
430
|
type: string
|
|
444
|
-
description: "Small caps line above the project name
|
|
431
|
+
description: "Small caps line above the project name."
|
|
445
432
|
- name: icon
|
|
446
433
|
label: Icon
|
|
447
434
|
type: string
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: pandorga
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.13.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- The Pandorga contributors
|
|
@@ -287,6 +287,7 @@ files:
|
|
|
287
287
|
- lib/pandorga/commands/publish.rb
|
|
288
288
|
- lib/pandorga/commands/serve.rb
|
|
289
289
|
- lib/pandorga/commands/studio_schema.rb
|
|
290
|
+
- lib/pandorga/commands/thumbnails.rb
|
|
290
291
|
- lib/pandorga/detail_routes.rb
|
|
291
292
|
- lib/pandorga/discovery.rb
|
|
292
293
|
- lib/pandorga/fonts.rb
|
|
@@ -325,6 +326,7 @@ files:
|
|
|
325
326
|
- lib/pandorga/object_store_env.rb
|
|
326
327
|
- lib/pandorga/registry.rb
|
|
327
328
|
- lib/pandorga/registry/schema.yml
|
|
329
|
+
- lib/pandorga/thumbnail_variants.rb
|
|
328
330
|
- lib/pandorga/version.rb
|
|
329
331
|
- scripts/cdn-allowlist.json
|
|
330
332
|
- scripts/check_home_lists.mjs
|
|
@@ -353,6 +355,8 @@ files:
|
|
|
353
355
|
- scripts/tailwind/tailwind.config.js
|
|
354
356
|
- scripts/test/fixtures/dual-template/_config.yml
|
|
355
357
|
- scripts/test/fixtures/dual-template/index.html
|
|
358
|
+
- scripts/test/fixtures/studio-taxonomy/page-local/_config.yml
|
|
359
|
+
- scripts/test/fixtures/studio-taxonomy/top-level/_config.yml
|
|
356
360
|
- scripts/test/render-parity/article-note.json
|
|
357
361
|
- scripts/test/render-parity/blockquote.json
|
|
358
362
|
- scripts/test/render-parity/blocks/ansi-basic.json
|
|
@@ -447,6 +451,7 @@ files:
|
|
|
447
451
|
- scripts/test/test-math-row-breaks.rb
|
|
448
452
|
- scripts/test/test-new.rb
|
|
449
453
|
- scripts/test/test-no-personal-data.rb
|
|
454
|
+
- scripts/test/test-poster-srcset.mjs
|
|
450
455
|
- scripts/test/test-public-cv-export.rb
|
|
451
456
|
- scripts/test/test-publish-site-root.rb
|
|
452
457
|
- scripts/test/test-pwa-icons.rb
|
|
@@ -467,9 +472,11 @@ files:
|
|
|
467
472
|
- scripts/test/test-studio-rewrite-sanitize.mjs
|
|
468
473
|
- scripts/test/test-studio-schema-composition.rb
|
|
469
474
|
- scripts/test/test-studio-slug-config.rb
|
|
475
|
+
- scripts/test/test-studio-taxonomy.rb
|
|
470
476
|
- scripts/test/test-template-packages.rb
|
|
471
477
|
- scripts/test/test-text-excerpt.rb
|
|
472
478
|
- scripts/test/test-theme-contrast.rb
|
|
479
|
+
- scripts/test/test-thumbnail-variants.rb
|
|
473
480
|
- scripts/test/test-unwrap-media-src.mjs
|
|
474
481
|
- scripts/test/test-unwrap-media-src.rb
|
|
475
482
|
- scripts/test/test-validate-allowlist.rb
|