Skip to content

Commit 72e2cb9

Browse files
author
BinderPokedex
committed
Release v7.2: Featured Elements - Visual Highlights on Section Covers
✨ New Features: - Featured Elements system with automatic format detection - 3 iconic Pokémon showcased on every section cover page - Smart content sources: TCG cards from TCGdex, official artwork from PokeAPI - Priority-based selection (starters=100, legendaries=95-100, pseudo-legendaries=90-95) - Automatic PokeAPI fallback when TCG images unavailable (MEP uses this) 🏗️ Technical Improvements: - Format-agnostic architecture with 3 auto-detecting handlers: * ExGen handler: tcg_card sub-object format * TCG-Set handler: localId + set_info format with fallback * Pokédex handler: PokeAPI official artwork - Unified featured_elements data structure across all formats - Image caching system (~800KB-1MB per element) - Seamless integration across all 25 scopes (Pokédex + 24 TCG sets) 📦 Scope Coverage: - Pokédex: 9 generations with generation starters - ExGen1-3: Classic and modern EX cards - ME01-MEP: Mew era sets (MEP uses PokeAPI fallback) - SV01-SV10 + SVP: Complete Scarlet & Violet era - All 25 scopes fully functional with featured elements 🔧 Implementation: - Pipeline step: enrich_featured_elements - Config updates: All 25 YAML scope files - Backward compatibility: featured_cards naming still supported - Cover renderer: Aspect ratio handling for TCG (portrait) and Pokédex (square) 📚 Documentation: - New FEATURED_ELEMENTS.md with complete technical documentation - Updated ARCHITECTURE.md with featured elements architecture - Updated FEATURES.md, README.md, README.de.md, CHANGELOG.md - GitHub Actions release workflow updated for v7.2 🎨 Visual Enhancements: - TCG cards: 400×550px portrait images from TCGdex - Pokédex artwork: 475×475px square official artwork - Positioned 35mm from bottom, 45mm×63mm per element - 8-10mm spacing, centered horizontally Total Changes: 80+ files (4 Python modules, 25 configs, 50+ data files, 7 docs)
1 parent 11eab31 commit 72e2cb9

196 files changed

Lines changed: 7733 additions & 5068 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/release.yml

Lines changed: 46 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -100,41 +100,61 @@ jobs:
100100
binder-pokedex-zh-hans.zip
101101
binder-pokedex-zh-hant.zip
102102
body: |
103-
## Release ${{ steps.tag.outputs.tag_name }}
103+
## 🎨 Featured Elements - Visual Highlights on Covers
104104
105-
Complete release with all PDFs across 25 scopes and 9 languages!
105+
**What's New in v7.2:**
106106
107-
### Downloads (by Language)
108-
Each ZIP contains all 25 scopes in that language:
107+
✨ **Featured Elements System:**
108+
- Beautiful featured elements (trading cards/artwork) on every section cover
109+
- 3 most iconic Pokémon automatically selected per section
110+
- Smart content detection:
111+
- TCG Sets: Trading card images from TCGdex
112+
- Pokédex: Official artwork from PokeAPI
113+
- Automatic fallback to PokeAPI when TCG images unavailable
114+
- Priority-based selection (starters, legendaries, pseudo-legendaries)
109115
110-
- binder-pokedex-de.zip - Deutsch (25 PDFs)
111-
- binder-pokedex-en.zip - English (25 PDFs)
112-
- binder-pokedex-fr.zip - Français (25 PDFs)
113-
- binder-pokedex-es.zip - Español (25 PDFs)
114-
- binder-pokedex-it.zip - Italiano (25 PDFs)
115-
- binder-pokedex-ja.zip - Japanese (5 PDFs, available sets)
116-
- binder-pokedex-ko.zip - Korean (4 PDFs, available sets)
117-
- binder-pokedex-zh-hans.zip - Simplified Chinese (where available)
118-
- binder-pokedex-zh-hant.zip - Traditional Chinese (where available)
116+
🔧 **Technical Improvements:**
117+
- Format-agnostic architecture with 3 auto-detecting handlers
118+
- Unified `featured_elements` data structure
119+
- Image caching (~800KB-1MB per element)
120+
- Works seamlessly across all 25 scopes
119121
120-
### Content Overview
121-
25 Total Scopes:
122-
- Pokedex: Complete National Pokédex (1,025 Pokémon)
123-
- ExGen1-3: TCG EX variant collections (94/324/366 cards)
124-
- ME01-MEP: Pokémon TCG Mew series (4 sets)
125-
- SV01-SVP: Pokémon TCG Scarlet & Violet series (17 sets)
122+
---
126123
127-
### Stats
128-
- Total Scopes: 25 (1 Pokédex + 3 ExGen + 21 TCG sets)
129-
- Languages: 9 (DE, EN, FR, ES, IT, JA, KO, ZH-Hans, ZH-Hant)
130-
- Total Size: ~377 MB (all languages combined)
131-
- Cards/Pokémon: 1,025+ Pokémon + 4,000+ TCG cards
124+
### 📥 Downloads (by Language)
125+
Each ZIP contains all 25 scopes (Pokédex + 24 TCG sets) in that language:
132126
133-
### Technical Details
127+
- 🇩🇪 **binder-pokedex-de.zip** - Deutsch (25 PDFs)
128+
- 🇬🇧 **binder-pokedex-en.zip** - English (25 PDFs)
129+
- 🇫🇷 **binder-pokedex-fr.zip** - Français (25 PDFs)
130+
- 🇪🇸 **binder-pokedex-es.zip** - Español (25 PDFs)
131+
- 🇮🇹 **binder-pokedex-it.zip** - Italiano (25 PDFs)
132+
- 🇯🇵 **binder-pokedex-ja.zip** - 日本語 (25 PDFs)
133+
- 🇰🇷 **binder-pokedex-ko.zip** - 한국어 (25 PDFs)
134+
- 🇨🇳 **binder-pokedex-zh-hans.zip** - 简体中文 (25 PDFs)
135+
- 🇹🇼 **binder-pokedex-zh-hant.zip** - 繁體中文 (25 PDFs)
136+
137+
### 📋 Content Overview
138+
**25 Total Scopes:**
139+
- **Pokédex:** Complete National Pokédex (1,025 Pokémon across 9 generations)
140+
- **ExGen1-3:** TCG EX collections (94/324/366 cards)
141+
- **ME01-MEP:** Pokémon TCG Mew era (4 sets)
142+
- **SV01-SV10 + SVP:** Scarlet & Violet era (17 sets)
143+
144+
### 📊 Stats
145+
- **Total Scopes:** 25 (1 Pokédex + 3 ExGen + 21 TCG sets)
146+
- **Languages:** 9 (DE, EN, FR, ES, IT, JA, KO, ZH-Hans, ZH-Hant)
147+
- **Cards/Pokémon:** 1,025+ Pokémon + 4,000+ TCG cards
148+
- **Featured Elements:** 75+ iconic Pokémon showcased across all covers
149+
150+
### 🔧 Technical Details
151+
- Featured elements with automatic format detection
134152
- Cross-platform font support (macOS Songti + Linux Noto Sans CJK)
135153
- Scope-based modular architecture
136-
- Multilingual trainer card names
154+
- PokeAPI fallback for universal coverage
137155
- Proper CJK character rendering
156+
157+
📚 **[Full Changelog & Documentation](https://github.com/DerFlash/BinderPokedex)**
138158
draft: false
139159
prerelease: false
140160
env:

CHANGELOG.md

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,61 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
---
99

10+
## [7.2.0] - 2026-02-05
11+
12+
### ✨ New Features
13+
14+
**Featured Elements on Section Covers**
15+
- Added visual highlights to every section cover page
16+
- 3 most iconic Pokémon automatically selected per section based on priority rankings
17+
- Smart content detection:
18+
- TCG Sets: Trading card images from TCGdex API
19+
- National Pokédex: Official artwork from PokeAPI
20+
- Priority system ranks Pokémon by importance (starters: 100, legendaries: 95-100, others: 0-90)
21+
22+
### 🔧 Technical Improvements
23+
24+
**Featured Elements Architecture**
25+
- Implemented format-agnostic pipeline step: `enrich_featured_elements`
26+
- 3 card format handlers with automatic detection:
27+
- ExGen: TCG cards with `tcg_card` sub-object
28+
- TCG-Set: Modern cards with `localId` (ME*, SV* scopes)
29+
- Pokédex: PokeAPI official artwork
30+
- Automatic fallback to PokeAPI artwork when TCG images unavailable (e.g., MEP set)
31+
- Unified data structure for all content types
32+
- Efficient caching system (~800KB-1MB per element)
33+
34+
**Code Quality**
35+
- Refactored image download logic into reusable method
36+
- Centralized series mapping for TCGdex URLs
37+
- Improved error handling with graceful fallbacks
38+
- Backward compatibility maintained (`featured_cards``featured_elements`)
39+
40+
### 📦 Scope Coverage
41+
42+
**All 25 Scopes Supported:**
43+
- ✅ Pokédex (9 generations with starter Pokémon)
44+
- ✅ ExGen1-3 (Classic ex cards)
45+
- ✅ ME01, ME02, ME02.5 (Mega Evolution sets)
46+
- ✅ MEP (with PokeAPI fallback)
47+
- ✅ SV01-SV10, SVP (Scarlet & Violet sets)
48+
- ✅ All special sets (SV03.5, SV04.5, SV06.5, SV08.5, SV10.5B, SV10.5W)
49+
50+
### 🎨 Visual Improvements
51+
52+
- Section covers now display 3 featured cards/artwork elements
53+
- Consistent layout across all scope types
54+
- Proper aspect ratio handling (TCG portrait vs. Pokédex square)
55+
- High-quality images (400×550px for TCG, 475×475px for Pokédex)
56+
57+
### 📄 Documentation
58+
59+
- Added `docs/FEATURED_CARDS.md` (will be updated to FEATURED_ELEMENTS.md)
60+
- Updated architecture documentation
61+
- Enhanced code documentation with handler details
62+
63+
---
64+
1065
## [7.1.0] - 2026-02-03
1166

1267
### 🐛 Bug Fixes

README.de.md

Lines changed: 22 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Drucke 1.025+ Pokémon über 9 Generationen in 9 Sprachen. Alle Varianten, alle
66

77
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](LICENSE)
88
[![Python 3.10+](https://img.shields.io/badge/Python-3.10+-blue.svg)](https://www.python.org/)
9-
![v7.1](https://img.shields.io/badge/Version-v7.1-green.svg)
9+
![v7.2](https://img.shields.io/badge/Version-v7.2-green.svg)
1010

1111
---
1212

@@ -21,13 +21,32 @@ Drucke 1.025+ Pokémon über 9 Generationen in 9 Sprachen. Alle Varianten, alle
2121
### Für normale Nutzer - einfach laden & drucken!
2222

2323

24-
**Aktuelle Version (v7.1):** [Alle 225 PDFs](https://github.com/DerFlash/BinderPokedex/releases/tag/v7.1)*Fix: Fehlende Pokémon-Bilder in TCG-Sets*
24+
**Aktuelle Version (v7.2):** [Alle 225 PDFs](https://github.com/DerFlash/BinderPokedex/releases/tag/v7.2)*Neu: Featured Elements auf Titelseiten!*
2525

26-
**Nach Sprache (v7.1):** 🇩🇪 [DE](https://github.com/DerFlash/BinderPokedex/releases/download/v7.1/binder-pokedex-de.zip) | 🇬🇧 [EN](https://github.com/DerFlash/BinderPokedex/releases/download/v7.1/binder-pokedex-en.zip) | 🇫🇷 [FR](https://github.com/DerFlash/BinderPokedex/releases/download/v7.1/binder-pokedex-fr.zip) | 🇪🇸 [ES](https://github.com/DerFlash/BinderPokedex/releases/download/v7.1/binder-pokedex-es.zip) | 🇮🇹 [IT](https://github.com/DerFlash/BinderPokedex/releases/download/v7.1/binder-pokedex-it.zip) | 🇯🇵 [JA](https://github.com/DerFlash/BinderPokedex/releases/download/v7.1/binder-pokedex-ja.zip) | 🇰🇷 [KO](https://github.com/DerFlash/BinderPokedex/releases/download/v7.1/binder-pokedex-ko.zip) | 🇨🇳 [ZH](https://github.com/DerFlash/BinderPokedex/releases/download/v7.1/binder-pokedex-zh_hans.zip) | 🇹🇼 [ZH-T](https://github.com/DerFlash/BinderPokedex/releases/download/v7.1/binder-pokedex-zh_hant.zip)
26+
**Nach Sprache (v7.2):** 🇩🇪 [DE](https://github.com/DerFlash/BinderPokedex/releases/download/v7.2/binder-pokedex-de.zip) | 🇬🇧 [EN](https://github.com/DerFlash/BinderPokedex/releases/download/v7.2/binder-pokedex-en.zip) | 🇫🇷 [FR](https://github.com/DerFlash/BinderPokedex/releases/download/v7.2/binder-pokedex-fr.zip) | 🇪🇸 [ES](https://github.com/DerFlash/BinderPokedex/releases/download/v7.2/binder-pokedex-es.zip) | 🇮🇹 [IT](https://github.com/DerFlash/BinderPokedex/releases/download/v7.2/binder-pokedex-it.zip) | 🇯🇵 [JA](https://github.com/DerFlash/BinderPokedex/releases/download/v7.2/binder-pokedex-ja.zip) | 🇰🇷 [KO](https://github.com/DerFlash/BinderPokedex/releases/download/v7.2/binder-pokedex-ko.zip) | 🇨🇳 [ZH](https://github.com/DerFlash/BinderPokedex/releases/download/v7.2/binder-pokedex-zh_hans.zip) | 🇹🇼 [ZH-T](https://github.com/DerFlash/BinderPokedex/releases/download/v7.2/binder-pokedex-zh_hant.zip)
2727
---
2828

2929
## 📝 Was ist neu
3030

31+
### v7.2 (Februar 2026)
32+
33+
**Featured Elements - Visuelle Highlights auf Titelseiten** 🎨
34+
35+
**Neue Features:**
36+
- Wunderschöne Featured Elements (Karten/Artworks) auf jeder Abschnitts-Titelseite
37+
- 3 ikonischste Pokémon automatisch ausgewählt pro Abschnitt
38+
- Intelligente Content-Erkennung:
39+
- TCG-Sets: Trading Card Bilder von TCGdex
40+
- Pokédex: Offizielle Artworks von PokeAPI
41+
- Automatischer Fallback zu PokeAPI wenn TCG-Bilder nicht verfügbar
42+
- Prioritäts-basierte Auswahl (Starter, Legendäre, Pseudo-Legendäre)
43+
44+
🔧 **Technisch:**
45+
- Format-agnostische Architektur mit 3 Karten-Handlern
46+
- Einheitliche `featured_elements` Datenstruktur
47+
- ~800KB-1MB gecachte Bilder pro Element
48+
- Funktioniert über alle 25 Scopes (Pokédex + 24 TCG-Sets)
49+
3150
### v7.1 (Februar 2026)
3251

3352
**Bugfix-Release - TCG-Bilder**

README.md

Lines changed: 32 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Print 1,025+ Pokémon across 9 generations in 9 languages. All variants, all for
66

77
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](LICENSE)
88
[![Python 3.10+](https://img.shields.io/badge/Python-3.10+-blue.svg)](https://www.python.org/)
9-
![v7.1](https://img.shields.io/badge/version-v7.1-green.svg)
9+
![v7.2](https://img.shields.io/badge/version-v7.2-green.svg)
1010

1111
---
1212

@@ -21,22 +21,41 @@ Print 1,025+ Pokémon across 9 generations in 9 languages. All variants, all for
2121
### For End Users - Just Download & Print!
2222

2323

24-
**Latest (v7.1):** [All 225 PDFs](https://github.com/DerFlash/BinderPokedex/releases/tag/v7.1)*Fix: Missing Pokemon images in TCG sets*
24+
**Latest (v7.2):** [All 225 PDFs](https://github.com/DerFlash/BinderPokedex/releases/tag/v7.2)*New: Featured Elements on section covers!*
2525

26-
**By Language (v7.1):**
27-
🇩🇪 [Deutsch](https://github.com/DerFlash/BinderPokedex/releases/download/v7.1/binder-pokedex-de.zip) |
28-
🇬🇧 [English](https://github.com/DerFlash/BinderPokedex/releases/download/v7.1/binder-pokedex-en.zip) |
29-
🇫🇷 [Français](https://github.com/DerFlash/BinderPokedex/releases/download/v7.1/binder-pokedex-fr.zip) |
30-
🇪🇸 [Español](https://github.com/DerFlash/BinderPokedex/releases/download/v7.1/binder-pokedex-es.zip) |
31-
🇮🇹 [Italiano](https://github.com/DerFlash/BinderPokedex/releases/download/v7.1/binder-pokedex-it.zip) |
32-
🇯🇵 [日本語](https://github.com/DerFlash/BinderPokedex/releases/download/v7.1/binder-pokedex-ja.zip) |
33-
🇰🇷 [한국어](https://github.com/DerFlash/BinderPokedex/releases/download/v7.1/binder-pokedex-ko.zip) |
34-
🇨🇳 [简体中文](https://github.com/DerFlash/BinderPokedex/releases/download/v7.1/binder-pokedex-zh_hans.zip) |
35-
🇹🇼 [繁體中文](https://github.com/DerFlash/BinderPokedex/releases/download/v7.1/binder-pokedex-zh_hant.zip)
26+
**By Language (v7.2):**
27+
🇩🇪 [Deutsch](https://github.com/DerFlash/BinderPokedex/releases/download/v7.2/binder-pokedex-de.zip) |
28+
🇬🇧 [English](https://github.com/DerFlash/BinderPokedex/releases/download/v7.2/binder-pokedex-en.zip) |
29+
🇫🇷 [Français](https://github.com/DerFlash/BinderPokedex/releases/download/v7.2/binder-pokedex-fr.zip) |
30+
🇪🇸 [Español](https://github.com/DerFlash/BinderPokedex/releases/download/v7.2/binder-pokedex-es.zip) |
31+
🇮🇹 [Italiano](https://github.com/DerFlash/BinderPokedex/releases/download/v7.2/binder-pokedex-it.zip) |
32+
🇯🇵 [日本語](https://github.com/DerFlash/BinderPokedex/releases/download/v7.2/binder-pokedex-ja.zip) |
33+
🇰🇷 [한국어](https://github.com/DerFlash/BinderPokedex/releases/download/v7.2/binder-pokedex-ko.zip) |
34+
🇨🇳 [简体中文](https://github.com/DerFlash/BinderPokedex/releases/download/v7.2/binder-pokedex-zh_hans.zip) |
35+
🇹🇼 [繁體中文](https://github.com/DerFlash/BinderPokedex/releases/download/v7.2/binder-pokedex-zh_hant.zip)
3636
---
3737

3838
## 📝 What's New
3939

40+
### v7.2 (February 2026)
41+
42+
**Featured Elements - Visual Highlights on Covers** 🎨
43+
44+
**New Feature:**
45+
- Beautiful featured elements (cards/artwork) on every section cover
46+
- 3 most iconic Pokémon automatically selected per section
47+
- Smart content detection:
48+
- TCG Sets: Trading card images from TCGdex
49+
- Pokédex: Official artwork from PokeAPI
50+
- Automatic fallback to PokeAPI when TCG images unavailable
51+
- Priority-based selection (starters, legendaries, pseudo-legendaries)
52+
53+
🔧 **Technical:**
54+
- Format-agnostic architecture with 3 card handlers
55+
- Unified `featured_elements` data structure
56+
- ~800KB-1MB cached images per element
57+
- Works across all 25 scopes (Pokédex + 24 TCG sets)
58+
4059
### v7.1 (February 2026)
4160

4261
**Bug Fix Release - TCG Images**
@@ -95,6 +114,7 @@ Print 1,025+ Pokémon across 9 generations in 9 languages. All variants, all for
95114
|-------|------|
96115
| **Usage & Examples** | [docs/USAGE.md](docs/USAGE.md) |
97116
| **Features & Tech** | [docs/FEATURES.md](docs/FEATURES.md) |
117+
| **Featured Elements** | [docs/FEATURED_ELEMENTS.md](docs/FEATURED_ELEMENTS.md) |
98118
| **Installation Guide** | [docs/INSTALLATION.md](docs/INSTALLATION.md) |
99119
| **Printing Tips** | [docs/PRINTING_GUIDE.md](docs/PRINTING_GUIDE.md) |
100120
| **Architecture** | [docs/ARCHITECTURE.md](docs/ARCHITECTURE.md) |

config/scopes/ExGen1.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ pipeline:
77
- step: validate_pokedex_exists
88
params:
99
pokedex_file: data/output/Pokedex.json
10+
- step: load_ex_cards
11+
params:
12+
source_file: data/source/tcg_classic_ex.json
13+
context_key: tcg_classic_ex_cards
1014
- step: fetch_tcgdex_ex_gen1
1115
params:
1216
language: en
@@ -20,6 +24,11 @@ pipeline:
2024
mode: variant
2125
variant_name: ExGen1
2226
descriptions_file: enrichments/variant_descriptions.json
27+
- step: enrich_featured_elements
28+
params:
29+
max_cards: 3
30+
force: false
31+
cache_dir: data/section_artwork
2332
- step: save_output
2433
params:
2534
output_file: data/output/ExGen1.json

config/scopes/ExGen2.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ pipeline:
77
- step: validate_pokedex_exists
88
params:
99
pokedex_file: data/output/Pokedex.json
10+
- step: load_ex_cards
11+
params:
12+
source_file: data/source/tcg_bw_ex.json
13+
context_key: tcg_bw_xy_ex_cards
1014
- step: fetch_tcgdex_ex_gen2
1115
params:
1216
language: en
@@ -20,6 +24,11 @@ pipeline:
2024
mode: variant
2125
variant_name: ExGen2
2226
descriptions_file: enrichments/variant_descriptions.json
27+
- step: enrich_featured_elements
28+
params:
29+
max_cards: 3
30+
force: false
31+
cache_dir: data/section_artwork
2332
- step: save_output
2433
params:
2534
output_file: data/output/ExGen2.json

config/scopes/ExGen3.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ pipeline:
77
- step: validate_pokedex_exists
88
params:
99
pokedex_file: data/output/Pokedex.json
10+
- step: load_ex_cards
11+
params:
12+
source_file: data/source/tcg_sv_ex.json
13+
context_key: tcg_sv_ex_cards
1014
- step: fetch_tcgdex_ex_gen3
1115
params:
1216
language: en
@@ -20,6 +24,11 @@ pipeline:
2024
mode: variant
2125
variant_name: ExGen3
2226
descriptions_file: enrichments/variant_descriptions.json
27+
- step: enrich_featured_elements
28+
params:
29+
max_cards: 3
30+
force: false
31+
cache_dir: data/section_artwork
2332
- step: save_output
2433
params:
2534
output_file: data/output/ExGen3.json

config/scopes/ME01.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ pipeline:
55
- step: validate_pokedex_exists
66
params:
77
pokedex_file: data/output/Pokedex.json
8+
- step: load_tcg_set
9+
params:
10+
source_file: data/source/me01.json
811
- step: fetch_tcgdex_set
912
params:
1013
set_id: me01
@@ -22,6 +25,11 @@ pipeline:
2225
params:
2326
set_id: ME01
2427
- step: transform_to_sections_format
28+
- step: enrich_featured_elements
29+
params:
30+
max_cards: 3
31+
force: false
32+
cache_dir: data/section_artwork
2533
- step: save_output
2634
params:
2735
output_file: data/output/ME01.json

config/scopes/ME02.5.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ pipeline:
55
- step: validate_pokedex_exists
66
params:
77
pokedex_file: data/output/Pokedex.json
8+
- step: load_tcg_set
9+
params:
10+
source_file: data/source/me02.5.json
811
- step: fetch_tcgdex_set
912
params:
1013
set_id: me02.5
@@ -25,6 +28,11 @@ pipeline:
2528
params:
2629
set_id: ME02.5
2730
- step: transform_to_sections_format
31+
- step: enrich_featured_elements
32+
params:
33+
max_cards: 3
34+
force: false
35+
cache_dir: data/section_artwork
2836
- step: save_output
2937
params:
3038
output_file: data/output/ME02.5.json

config/scopes/ME02.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ pipeline:
55
- step: validate_pokedex_exists
66
params:
77
pokedex_file: data/output/Pokedex.json
8+
- step: load_tcg_set
9+
params:
10+
source_file: data/source/me02.json
811
- step: fetch_tcgdex_set
912
params:
1013
set_id: me02
@@ -22,6 +25,11 @@ pipeline:
2225
params:
2326
set_id: ME02
2427
- step: transform_to_sections_format
28+
- step: enrich_featured_elements
29+
params:
30+
max_cards: 3
31+
force: false
32+
cache_dir: data/section_artwork
2533
- step: save_output
2634
params:
2735
output_file: data/output/ME02.json

0 commit comments

Comments
 (0)