jekyll-theme-zer0 0.16.0 → 0.17.2

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 (41) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +115 -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/cookie-consent.html +81 -9
  13. data/_includes/components/js-cdn.html +2 -2
  14. data/_includes/components/mermaid.html +260 -14
  15. data/_includes/core/head.html +1 -0
  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 +21 -21
  24. data/_layouts/notebook.html +4 -4
  25. data/_layouts/root.html +2 -2
  26. data/_sass/core/_nav-tree.scss +145 -0
  27. data/_sass/core/code-copy.scss +45 -6
  28. data/_sass/custom.scss +541 -1
  29. data/assets/js/code-copy.js +79 -13
  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/assets/js/ui-enhancements.js +194 -0
  39. data/scripts/migrate-nav-modes.sh +146 -0
  40. metadata +20 -7
  41. data/assets/js/sidebar.js +0 -511
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 82d722f8c9249249da9634e5e774dddda47d6ae3888e60e8f87269d697fc2752
4
- data.tar.gz: 54c07e714da9f2e718f1c057354745adb0b1490562052d3ffec0a4fcf125430d
3
+ metadata.gz: cdb1bbc3f82ba18d008ef8128592fadf16247cc1c45c6248a6f48d31c41f0c44
4
+ data.tar.gz: b62640c64c7032103f03155fdf447942e4fed67195e3b5acc3eaad526b90558f
5
5
  SHA512:
6
- metadata.gz: a85d20e56b617f547beeee6e9d12571f110e606bf85e68c5773830d9ecc7f9b24c7d632f326db902792a7bf507ef3bb5eead8faff40a659112b481414293c13e
7
- data.tar.gz: de2aa109131a6067d6ae045992ebca0fb0eb31cf048b336516aa426a3ab46be58d7d51b979923431bb4a8f0f42e73b110b5a60192ea094ec82ebbdf6afa14441
6
+ metadata.gz: b9bcf7b150affaaba80d5787df4c1ca6fd5e7c46c8e2c6b0835dae371fa296f91915e72d5f49bb1c47482f8c0a10ed96f551ae95767831c107e93dc9ecfca395
7
+ data.tar.gz: 9886baeb0f69e536ee19b59f13ac4ef6389cdae053e1427bb8b4e177a517aa735e40555b5d0fa0a7143caa0540d40f07d419313513f606998d402c1b1201bfd3
data/CHANGELOG.md CHANGED
@@ -1,5 +1,112 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.17.2] - 2025-12-31
4
+
5
+ ### Fixed
6
+ - **Mermaid Dark Mode**: Fixed diagram rendering issues in dark mode by dynamically detecting Bootstrap theme (`data-bs-theme`) and switching Mermaid theme accordingly
7
+ - **Cookie Consent Banner**: Fixed banner appearing twice on initial page load by implementing CSS-first visibility control and removing inline style conflicts
8
+
9
+ ### Enhanced
10
+ - **UI/UX Improvements**: Comprehensive frontend enhancements including:
11
+ - Smooth scroll animations with Intersection Observer
12
+ - Enhanced card hover effects with 3D parallax on desktop
13
+ - Improved button styles with ripple effects and better transitions
14
+ - Better code block styling with enhanced copy functionality
15
+ - Mobile-responsive improvements with touch-friendly tap targets
16
+ - Improved focus states for accessibility
17
+ - Hero section animations with staggered fade-in effects
18
+
19
+ ### Added
20
+ - **UI Enhancements Module**: New `assets/js/ui-enhancements.js` for scroll animations, card interactions, and smooth scrolling
21
+ - **Enhanced Code Copy**: Improved copy-to-clipboard functionality with better visual feedback and fallback support
22
+
23
+ ### Changed
24
+ - **CI Configuration**: Made HTMLProofer non-blocking for pre-existing link issues
25
+ - **Documentation**: Enhanced contributing guide and release pipeline documentation 4630c33 (fix(ui): fix Mermaid dark mode and cookie banner rendering)
26
+
27
+ ## [0.17.1] - 2025-12-24
28
+
29
+ ### Changed
30
+ - Version bump: patch release
31
+
32
+ ### Commits in this release
33
+ - d56de0b fix(ci): update Gemfile.lock for v0.17.0 and improve HTMLProofer config
34
+
35
+
36
+ ## [0.17.0] - 2025-12-23
37
+
38
+ ### Added
39
+ - **Navbar Hover Dropdowns**: Desktop users can now hover over navigation items to reveal sub-menus with smooth fade transitions
40
+ - **ES6 Navigation Modules**: Complete rewrite of navigation JavaScript using native ES6 modules (`type="module"`)
41
+ - `config.js` - Centralized configuration with CSS custom properties
42
+ - `scroll-spy.js` - Table of contents highlighting
43
+ - `smooth-scroll.js` - Animated scrolling to anchors
44
+ - `keyboard.js` - Full keyboard navigation support
45
+ - `gestures.js` - Touch gesture support for mobile
46
+ - `focus.js` - Focus management and accessibility
47
+ - `sidebar-state.js` - Persistent expand/collapse state
48
+ - `index.js` - Module orchestration and initialization
49
+ - **Nav Tree Component**: New `_includes/navigation/nav-tree.html` for rendering hierarchical YAML navigation (2 levels deep)
50
+ - **Navigation Schema Documentation**: Added `_data/navigation/README.md` with complete schema definition
51
+ - **Migration Script**: Added `scripts/migrate-nav-modes.sh` to update front matter from old to new nav modes
52
+
53
+ ### Changed
54
+ - **Navigation YAML Schema**: Standardized on `children` key (previously `sublinks`) across all navigation files
55
+ - **Navigation Modes**: Simplified to 3 standard modes:
56
+ - `auto` - Auto-generates from collection documents (replaces `dynamic`)
57
+ - `tree` - Uses YAML data files for hierarchical navigation
58
+ - `categories` - Groups content by Jekyll categories (replaces `searchCats`)
59
+ - **Sidebar Component**: Refactored `_includes/navigation/sidebar-left.html` to use new nav modes
60
+ - **Script Loading**: Updated `_includes/components/js-cdn.html` to use `type="module"` for ES6 modules
61
+ - **Default Collection Config**: Updated `_config.yml` with new navigation mode defaults
62
+
63
+ ### Removed
64
+ - **Legacy sidebar.js**: Deleted 512-line IIFE-based sidebar script, replaced by modular ES6 architecture
65
+
66
+ ### Fixed
67
+ - **Mobile Dropdown Behavior**: Fixed glitch where opening one dropdown would close others; each now operates independently
68
+ - **Dropdown Positioning**: Fixed desktop hover dropdowns appearing on top of parent links (now correctly appear below)
69
+
70
+ ## [0.16.3] - 2025-01-27
71
+
72
+ ### Changed
73
+ - **Documentation Navigation**: Restructured `_data/navigation/docs.yml` with logical sections (Getting Started, Core Technologies, Theme Features, Deployment)
74
+ - **Main Navigation**: Updated `_data/navigation/main.yml` with expanded Docs dropdown entries (Documentation Home, Installation, Docker, Troubleshooting)
75
+
76
+ ### Fixed
77
+ - **Liquid Syntax Error**: Fixed pre-existing bug in `pages/features.md` where `where_exp` filters used unsupported `or` conditions (Liquid 4.x compatibility)
78
+
79
+ ### Documentation
80
+ - **Installation Guide**: Expanded with platform-specific guides (macOS, Windows, Linux), Docker quick start, verification steps
81
+ - **Docker Guide**: Added essential commands, container workflows, configuration files, Apple Silicon support, troubleshooting
82
+ - **Troubleshooting Guide**: Added sections for Docker issues, Jekyll build errors, front matter problems, performance optimization
83
+ - **Jekyll Guide**: Added directory structure, configuration files, content collections, essential commands, topic index
84
+ - **Bootstrap Guide**: Added CDN loading patterns, key components, responsive breakpoints, custom styles, icons
85
+ - **Liquid Guide**: Added syntax examples with `{% raw %}` tags, filters, control flow, includes
86
+ - **Ruby Guide**: Added version commands, common commands, key files, Docker usage, troubleshooting
87
+ - **Front Matter Guide**: Added required/optional fields, layout options, collection-specific fields, complete examples
88
+ - All documentation pages now include `sidebar: nav: docs` for consistent navigation
89
+
90
+ ## [0.16.2] - 2025-12-20
91
+
92
+ ### Changed
93
+ - Version bump: patch release
94
+
95
+ ### Commits in this release
96
+ - 2a0057e Comprehensive features.yml with references, documentation, and showcase page (#17)
97
+
98
+
99
+ ## [0.16.1] - 2025-12-20
100
+
101
+ ### Changed
102
+ - Hardened CI workflows with least-privilege `permissions` and `concurrency`
103
+ - Updated landing/repo links to render correctly with YAML-array URL config
104
+ - Excluded repo technical `docs/` from the published site build (GitHub links used instead)
105
+
106
+ ### Fixed
107
+ - Removed false-green behavior in `test-latest.yml` (RSpec/HTMLProofer now fail the workflow)
108
+ - Fixed broken internal links/hashes and aligned navigation anchors (strict HTMLProofer-compatible)
109
+
3
110
  ## [0.16.0] - 2025-12-20
4
111
 
5
112
  ### Added
@@ -64,8 +171,6 @@
64
171
  ### Commits in this release
65
172
  - e1342ab Add configuration files for content organization, prerequisites, statistics, and UI text
66
173
  - 366e8a2 chore(deps): update Ruby gem dependencies (#16)
67
-
68
-
69
174
  ## [0.15.1] - 2025-12-14
70
175
 
71
176
  ### Changed
@@ -1104,7 +1209,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1104
1209
  - **Performance**: Optimized DOM manipulation and content rendering
1105
1210
  - **Accessibility**: Full screen reader support and keyboard navigation
1106
1211
 
1107
- **Full Documentation**: [v0.5.0 Release Summary](docs/releases/v0.5.0-release-summary.md)
1212
+ **Full Documentation**: [v0.5.0 Release Summary](https://github.com/bamr87/zer0-mistakes/blob/main/docs/releases/v0.5.0-release-summary.md)
1108
1213
 
1109
1214
  ## [0.4.0] - 2025-10-10
1110
1215
 
@@ -1149,7 +1254,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1149
1254
  - Eliminated type conversion errors in sorting operations
1150
1255
  - Proper handling of nested array data structures
1151
1256
 
1152
- **Full Documentation**: [v0.4.0 Release Summary](docs/releases/v0.4.0-release-summary.md)
1257
+ **Full Documentation**: [v0.4.0 Release Summary](https://github.com/bamr87/zer0-mistakes/blob/main/docs/releases/v0.4.0-release-summary.md)
1153
1258
 
1154
1259
  ## [0.3.0] - 2025-01-27
1155
1260
 
@@ -1184,7 +1289,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1184
1289
  - **⚡ Performance**: Optimized loading and rendering speed
1185
1290
  - **🎯 Usability**: Improved setup process and error handling
1186
1291
 
1187
- **Full Documentation**: [v0.3.0 Release Notes](docs/releases/v0.3.0-release-notes.md)
1292
+ **Full Documentation**: [v0.3.0 Release Notes](https://github.com/bamr87/zer0-mistakes/blob/main/docs/releases/v0.3.0-release-notes.md)
1188
1293
 
1189
1294
  ## [0.2.1] - 2025-09-30
1190
1295
 
@@ -1304,11 +1409,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1304
1409
 
1305
1410
  For detailed documentation on features, systems, and configuration:
1306
1411
 
1307
- - **[Documentation Center](docs/README.md)** - Complete documentation overview
1308
- - **[Release Documentation](docs/releases/README.md)** - Historical release information
1309
- - **[Feature Documentation](docs/features/README.md)** - Detailed feature guides
1310
- - **[System Documentation](docs/systems/README.md)** - Core systems and automation
1311
- - **[Configuration Guides](docs/configuration/README.md)** - Setup and configuration
1412
+ - **[Documentation Center](https://github.com/bamr87/zer0-mistakes/tree/main/docs)** - Complete documentation overview
1413
+ - **[Release Documentation](https://github.com/bamr87/zer0-mistakes/tree/main/docs/releases)** - Historical release information
1414
+ - **[Feature Documentation](https://github.com/bamr87/zer0-mistakes/tree/main/docs/features)** - Detailed feature guides
1415
+ - **[System Documentation](https://github.com/bamr87/zer0-mistakes/tree/main/docs/systems)** - Core systems and automation
1416
+ - **[Configuration Guides](https://github.com/bamr87/zer0-mistakes/tree/main/docs/configuration)** - Setup and configuration
1312
1417
 
1313
1418
  ## Links
1314
1419
 
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: