jekyll-theme-zer0 0.15.2 → 0.17.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.
Files changed (43) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +138 -10
  3. data/README.md +7 -7
  4. data/_data/authors.yml +2 -2
  5. data/_data/features.yml +676 -0
  6. data/_data/navigation/README.md +54 -0
  7. data/_data/navigation/about.yml +7 -5
  8. data/_data/navigation/docs.yml +77 -31
  9. data/_data/navigation/home.yml +4 -3
  10. data/_data/navigation/main.yml +16 -7
  11. data/_data/navigation/quickstart.yml +4 -2
  12. data/_includes/components/js-cdn.html +2 -2
  13. data/_includes/components/preview-image.html +20 -3
  14. data/_includes/content/intro.html +11 -2
  15. data/_includes/content/seo.html +12 -1
  16. data/_includes/landing/landing-install-cards.html +8 -8
  17. data/_includes/landing/landing-quick-links.html +4 -4
  18. data/_includes/navigation/breadcrumbs.html +29 -6
  19. data/_includes/navigation/nav-tree.html +181 -0
  20. data/_includes/navigation/navbar.html +262 -9
  21. data/_includes/navigation/sidebar-left.html +22 -23
  22. data/_layouts/default.html +1 -1
  23. data/_layouts/landing.html +1 -1
  24. data/_layouts/notebook.html +4 -4
  25. data/_layouts/root.html +2 -2
  26. data/_plugins/preview_image_generator.rb +29 -8
  27. data/_sass/core/_nav-tree.scss +145 -0
  28. data/_sass/custom.scss +3 -0
  29. data/assets/images/previews/site-personalization-configuration.png +0 -0
  30. data/assets/js/modules/navigation/config.js +149 -0
  31. data/assets/js/modules/navigation/focus.js +189 -0
  32. data/assets/js/modules/navigation/gestures.js +179 -0
  33. data/assets/js/modules/navigation/index.js +227 -0
  34. data/assets/js/modules/navigation/keyboard.js +237 -0
  35. data/assets/js/modules/navigation/scroll-spy.js +219 -0
  36. data/assets/js/modules/navigation/sidebar-state.js +267 -0
  37. data/assets/js/modules/navigation/smooth-scroll.js +153 -0
  38. data/scripts/README.md +8 -1
  39. data/scripts/lib/preview_generator.py +164 -8
  40. data/scripts/migrate-nav-modes.sh +146 -0
  41. data/scripts/update-preview-paths.sh +145 -0
  42. metadata +17 -3
  43. data/assets/js/sidebar.js +0 -511
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 62704de5aed76c7000c418b93977002ded56b588a49183c4548c315bd2b40fdd
4
- data.tar.gz: acfd3a0d47a33a99af964fe2019e0128bbfb50903640658671bb6090b3b38495
3
+ metadata.gz: cedad3b535f19c489e0d874be9c116789f981fc042743150be32b06f7d6481c7
4
+ data.tar.gz: 0cd8445680be5c73980338a85aba69a8edb5e9484003fd74daf80c104690e22d
5
5
  SHA512:
6
- metadata.gz: 8db972fbd75ed902880434ab1e8a79ba24ae276492cebce8987cda3ad085b0aeea26fc2174e8cf72594896884c5d1b3b08f816b97a0d1536044d51afa52c2d5e
7
- data.tar.gz: 839bbeb76675da98c6136c952722154249264fe4998003b4c5e2152401855dcea16ac31864f89e66a30236589e41ecc789361378fd3308a8c529cd8315c67a0f
6
+ metadata.gz: 35520e071daded7969373b51f103d8a8440db28b03044ca1db0c01832d676cbcfc32d677d285ce612c8f79a6a2fa2fa8023570457a28cba83615fea8363bd1eb
7
+ data.tar.gz: 654aa816eeb3b3e1019f0686eb2516eb4404e17ad4e533f764d32240fd1454a6c893a6e376fb907387b0a5f3cd514c1e364b365df92ed07e1279a90144ffc222
data/CHANGELOG.md CHANGED
@@ -1,5 +1,135 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.17.0] - 2025-12-23
4
+
5
+ ### Added
6
+ - **Navbar Hover Dropdowns**: Desktop users can now hover over navigation items to reveal sub-menus with smooth fade transitions
7
+ - **ES6 Navigation Modules**: Complete rewrite of navigation JavaScript using native ES6 modules (`type="module"`)
8
+ - `config.js` - Centralized configuration with CSS custom properties
9
+ - `scroll-spy.js` - Table of contents highlighting
10
+ - `smooth-scroll.js` - Animated scrolling to anchors
11
+ - `keyboard.js` - Full keyboard navigation support
12
+ - `gestures.js` - Touch gesture support for mobile
13
+ - `focus.js` - Focus management and accessibility
14
+ - `sidebar-state.js` - Persistent expand/collapse state
15
+ - `index.js` - Module orchestration and initialization
16
+ - **Nav Tree Component**: New `_includes/navigation/nav-tree.html` for rendering hierarchical YAML navigation (2 levels deep)
17
+ - **Navigation Schema Documentation**: Added `_data/navigation/README.md` with complete schema definition
18
+ - **Migration Script**: Added `scripts/migrate-nav-modes.sh` to update front matter from old to new nav modes
19
+
20
+ ### Changed
21
+ - **Navigation YAML Schema**: Standardized on `children` key (previously `sublinks`) across all navigation files
22
+ - **Navigation Modes**: Simplified to 3 standard modes:
23
+ - `auto` - Auto-generates from collection documents (replaces `dynamic`)
24
+ - `tree` - Uses YAML data files for hierarchical navigation
25
+ - `categories` - Groups content by Jekyll categories (replaces `searchCats`)
26
+ - **Sidebar Component**: Refactored `_includes/navigation/sidebar-left.html` to use new nav modes
27
+ - **Script Loading**: Updated `_includes/components/js-cdn.html` to use `type="module"` for ES6 modules
28
+ - **Default Collection Config**: Updated `_config.yml` with new navigation mode defaults
29
+
30
+ ### Removed
31
+ - **Legacy sidebar.js**: Deleted 512-line IIFE-based sidebar script, replaced by modular ES6 architecture
32
+
33
+ ### Fixed
34
+ - **Mobile Dropdown Behavior**: Fixed glitch where opening one dropdown would close others; each now operates independently
35
+ - **Dropdown Positioning**: Fixed desktop hover dropdowns appearing on top of parent links (now correctly appear below)
36
+
37
+ ## [0.16.3] - 2025-01-27
38
+
39
+ ### Changed
40
+ - **Documentation Navigation**: Restructured `_data/navigation/docs.yml` with logical sections (Getting Started, Core Technologies, Theme Features, Deployment)
41
+ - **Main Navigation**: Updated `_data/navigation/main.yml` with expanded Docs dropdown entries (Documentation Home, Installation, Docker, Troubleshooting)
42
+
43
+ ### Fixed
44
+ - **Liquid Syntax Error**: Fixed pre-existing bug in `pages/features.md` where `where_exp` filters used unsupported `or` conditions (Liquid 4.x compatibility)
45
+
46
+ ### Documentation
47
+ - **Installation Guide**: Expanded with platform-specific guides (macOS, Windows, Linux), Docker quick start, verification steps
48
+ - **Docker Guide**: Added essential commands, container workflows, configuration files, Apple Silicon support, troubleshooting
49
+ - **Troubleshooting Guide**: Added sections for Docker issues, Jekyll build errors, front matter problems, performance optimization
50
+ - **Jekyll Guide**: Added directory structure, configuration files, content collections, essential commands, topic index
51
+ - **Bootstrap Guide**: Added CDN loading patterns, key components, responsive breakpoints, custom styles, icons
52
+ - **Liquid Guide**: Added syntax examples with `{% raw %}` tags, filters, control flow, includes
53
+ - **Ruby Guide**: Added version commands, common commands, key files, Docker usage, troubleshooting
54
+ - **Front Matter Guide**: Added required/optional fields, layout options, collection-specific fields, complete examples
55
+ - All documentation pages now include `sidebar: nav: docs` for consistent navigation
56
+
57
+ ## [0.16.2] - 2025-12-20
58
+
59
+ ### Changed
60
+ - Version bump: patch release
61
+
62
+ ### Commits in this release
63
+ - 2a0057e Comprehensive features.yml with references, documentation, and showcase page (#17)
64
+
65
+
66
+ ## [0.16.1] - 2025-12-20
67
+
68
+ ### Changed
69
+ - Hardened CI workflows with least-privilege `permissions` and `concurrency`
70
+ - Updated landing/repo links to render correctly with YAML-array URL config
71
+ - Excluded repo technical `docs/` from the published site build (GitHub links used instead)
72
+
73
+ ### Fixed
74
+ - Removed false-green behavior in `test-latest.yml` (RSpec/HTMLProofer now fail the workflow)
75
+ - Fixed broken internal links/hashes and aligned navigation anchors (strict HTMLProofer-compatible)
76
+
77
+ ## [0.16.0] - 2025-12-20
78
+
79
+ ### Added
80
+ - **Configurable Assets Prefix**: New `assets_prefix` and `auto_prefix` configuration options for preview images
81
+ - Allows shorter frontmatter paths like `/images/previews/image.png` instead of `/assets/images/previews/image.png`
82
+ - Automatic path normalization in Liquid templates detects external URLs vs local paths
83
+ - Configured via `_config.yml` under `preview_images.assets_prefix` and `preview_images.auto_prefix`
84
+ - **xAI Grok Image Provider**: Added xAI as a new AI provider for preview image generation
85
+ - Uses `grok-2-image` model at `https://api.x.ai/v1/images/generations`
86
+ - Set `XAI_API_KEY` environment variable and use `--provider xai` flag
87
+ - **Preview Path Migration Script**: New `scripts/update-preview-paths.sh` for migrating existing frontmatter
88
+ - Supports dry-run and apply modes
89
+ - Removes `/assets/` prefix from preview paths in markdown files
90
+
91
+ ### Changed
92
+ - Updated `preview-image.html` include with path normalization logic
93
+ - Updated `intro.html` include with assets prefix support for hero backgrounds
94
+ - Updated `seo.html` include with assets prefix normalization for og:image meta tags
95
+ - Enhanced `preview_image_generator.rb` Ruby plugin with `normalize_preview_path` method
96
+ - Enhanced `preview_generator.py` with xAI provider, `--assets-prefix`, and `--no-auto-prefix` CLI options
97
+ - Migrated 24 markdown files to use shorter preview paths (without `/assets/` prefix)
98
+ - Updated scripts/README.md documentation with new provider and prefix options
99
+
100
+ ### Fixed
101
+ - **Critical: Liquid syntax error in `seo.html`** - Fixed invalid nested curly braces on line 27
102
+
103
+ ## [0.15.5] - 2025-12-20
104
+
105
+ ### Changed
106
+ - Version bump: patch release
107
+
108
+ ### Commits in this release
109
+ - d46cdb1 Merge branch 'main' of https://github.com/bamr87/zer0-mistakes
110
+ - 36767cd fix: update last modified timestamp in quick start guide
111
+ - f606096 fix: update quick start guide for clarity and consistency
112
+
113
+
114
+ ## [0.15.4] - 2025-12-20
115
+
116
+ ### Changed
117
+ - Version bump: patch release
118
+
119
+ ### Commits in this release
120
+ - bafb5ea fix: resolve CI quality check failures for preview images
121
+
122
+
123
+ ## [0.15.3] - 2025-12-20
124
+
125
+ ### Changed
126
+ - Version bump: patch release
127
+
128
+ ### Commits in this release
129
+ - 2f8b580 chore: merge branch and version bump to 0.15.2
130
+ - a239892 chore: bump version to 0.15.2
131
+
132
+
3
133
  ## [0.15.2] - 2025-12-19
4
134
 
5
135
  ### Changed
@@ -8,8 +138,6 @@
8
138
  ### Commits in this release
9
139
  - e1342ab Add configuration files for content organization, prerequisites, statistics, and UI text
10
140
  - 366e8a2 chore(deps): update Ruby gem dependencies (#16)
11
-
12
-
13
141
  ## [0.15.1] - 2025-12-14
14
142
 
15
143
  ### Changed
@@ -1048,7 +1176,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1048
1176
  - **Performance**: Optimized DOM manipulation and content rendering
1049
1177
  - **Accessibility**: Full screen reader support and keyboard navigation
1050
1178
 
1051
- **Full Documentation**: [v0.5.0 Release Summary](docs/releases/v0.5.0-release-summary.md)
1179
+ **Full Documentation**: [v0.5.0 Release Summary](https://github.com/bamr87/zer0-mistakes/blob/main/docs/releases/v0.5.0-release-summary.md)
1052
1180
 
1053
1181
  ## [0.4.0] - 2025-10-10
1054
1182
 
@@ -1093,7 +1221,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1093
1221
  - Eliminated type conversion errors in sorting operations
1094
1222
  - Proper handling of nested array data structures
1095
1223
 
1096
- **Full Documentation**: [v0.4.0 Release Summary](docs/releases/v0.4.0-release-summary.md)
1224
+ **Full Documentation**: [v0.4.0 Release Summary](https://github.com/bamr87/zer0-mistakes/blob/main/docs/releases/v0.4.0-release-summary.md)
1097
1225
 
1098
1226
  ## [0.3.0] - 2025-01-27
1099
1227
 
@@ -1128,7 +1256,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1128
1256
  - **⚡ Performance**: Optimized loading and rendering speed
1129
1257
  - **🎯 Usability**: Improved setup process and error handling
1130
1258
 
1131
- **Full Documentation**: [v0.3.0 Release Notes](docs/releases/v0.3.0-release-notes.md)
1259
+ **Full Documentation**: [v0.3.0 Release Notes](https://github.com/bamr87/zer0-mistakes/blob/main/docs/releases/v0.3.0-release-notes.md)
1132
1260
 
1133
1261
  ## [0.2.1] - 2025-09-30
1134
1262
 
@@ -1248,11 +1376,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1248
1376
 
1249
1377
  For detailed documentation on features, systems, and configuration:
1250
1378
 
1251
- - **[Documentation Center](docs/README.md)** - Complete documentation overview
1252
- - **[Release Documentation](docs/releases/README.md)** - Historical release information
1253
- - **[Feature Documentation](docs/features/README.md)** - Detailed feature guides
1254
- - **[System Documentation](docs/systems/README.md)** - Core systems and automation
1255
- - **[Configuration Guides](docs/configuration/README.md)** - Setup and configuration
1379
+ - **[Documentation Center](https://github.com/bamr87/zer0-mistakes/tree/main/docs)** - Complete documentation overview
1380
+ - **[Release Documentation](https://github.com/bamr87/zer0-mistakes/tree/main/docs/releases)** - Historical release information
1381
+ - **[Feature Documentation](https://github.com/bamr87/zer0-mistakes/tree/main/docs/features)** - Detailed feature guides
1382
+ - **[System Documentation](https://github.com/bamr87/zer0-mistakes/tree/main/docs/systems)** - Core systems and automation
1383
+ - **[Configuration Guides](https://github.com/bamr87/zer0-mistakes/tree/main/docs/configuration)** - Setup and configuration
1256
1384
 
1257
1385
  ## Links
1258
1386
 
data/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
  title: zer0-mistakes
3
3
  sub-title: Jekyll Theme
4
4
  description: Docker-optimized Jekyll theme with AI-powered installation automation and comprehensive error handling.
5
- version: 0.15.0
5
+ version: 0.16.1
6
6
  layout: landing
7
7
  tags:
8
8
  - jekyll
@@ -564,13 +564,13 @@ graph LR
564
564
 
565
565
  | Resource | Description |
566
566
  |----------|-------------|
567
- | [📋 Technical Docs](docs/) | Architecture, systems, implementation |
568
- | [📖 User Guides](pages/_docs/) | Published tutorials and references |
569
- | [🤖 Copilot Instructions](.github/copilot-instructions.md) | AI development guidelines |
570
- | [⌨️ Keyboard Navigation](docs/keyboard-navigation.md) | Accessibility shortcuts guide |
571
- | [📓 Jupyter Notebooks](docs/JUPYTER_NOTEBOOKS.md) | Notebook conversion documentation |
567
+ | [📋 Technical Docs]({{ site.resources.github_repo | default: '' | join: '' }}/tree/{{ site.branch }}/docs/) | Architecture, systems, implementation |
568
+ | [📖 User Guides]({{ '/docs/' | relative_url }}) | Published tutorials and references |
569
+ | [🤖 Copilot Instructions]({{ site.resources.github_repo | default: '' | join: '' }}/blob/{{ site.branch }}/.github/copilot-instructions.md) | AI development guidelines |
570
+ | [⌨️ Keyboard Navigation]({{ site.resources.github_repo | default: '' | join: '' }}/blob/{{ site.branch }}/docs/keyboard-navigation.md) | Accessibility shortcuts guide |
571
+ | [📓 Jupyter Notebooks]({{ site.resources.github_repo | default: '' | join: '' }}/blob/{{ site.branch }}/docs/JUPYTER_NOTEBOOKS.md) | Notebook conversion documentation |
572
572
  | [📝 PRD](PRD.md) | Product requirements & roadmap |
573
- | [🔒 Privacy Policy](pages/privacy-policy.md) | GDPR/CCPA compliant privacy docs |
573
+ | [🔒 Privacy Policy]({{ '/privacy-policy/' | relative_url }}) | GDPR/CCPA compliant privacy docs |
574
574
 
575
575
  ---
576
576
 
data/_data/authors.yml CHANGED
@@ -19,7 +19,7 @@
19
19
  default:
20
20
  name: "Zer0-Mistakes Team"
21
21
  bio: "The collective voice of the Zer0-Mistakes Jekyll theme development team."
22
- avatar: "/images/default-avatar.png"
22
+ avatar: "/images/gravatar-small.png"
23
23
  github: "bamr87"
24
24
  website: "https://bamr87.github.io/zer0-mistakes/"
25
25
  role: "Development Team"
@@ -35,7 +35,7 @@ bamr87:
35
35
  guest:
36
36
  name: "Guest Author"
37
37
  bio: "A valued contributor to our community."
38
- avatar: "/images/default-avatar.png"
38
+ avatar: "/images/gravatar-small.png"
39
39
  role: "Guest Contributor"
40
40
 
41
41
  # Add more authors as needed: