- Mermaid scripts were missing from documentation-single.html layout
- All guide pages with diagrams use documentation-single layout, not default layout
- Fixed JavaScript syntax errors in documentation-single.html
- Added exact Mermaid implementation to the correct template
- This should now correctly render diagrams in all guide pages
- Add Mermaid CDN script tag just before closing body tag
- Add exact initialization script with DOMContentLoaded event
- Follow recommended implementation verbatim
- Fix HTML syntax by adding missing commas and parentheses
- Move Mermaid scripts to just before closing </body> tag as recommended
- Add DOMContentLoaded event listener for proper timing
- Follow the exact implementation from Mermaid documentation
- Use exact code structure as provided in troubleshooting guide
- Remove all overcomplicated code
- Use the single-line initialization from Mermaid docs
- Eliminate event listeners and extra methods
- Implement KISS principle with just load + initialize
- Added DOMContentLoaded event listener to ensure Mermaid only runs after page is loaded
- Used both initialization methods for redundancy:
* mermaid.initialize({ startOnLoad: true })
* mermaid.run({ querySelector: '.mermaid' })
- This belt-and-suspenders approach should catch edge cases where one method fails
- Following exact approach recommended by Jekyll/Mermaid expert feedback
- Removed complex JS that was looking for non-existent <pre><code> elements
- Since Jekyll already outputs <div class='mermaid'> directly, conversion was unnecessary
- Simplified to use Mermaid's built-in initialization with startOnLoad:true
- Fixed various HTML syntax errors in default.html template
- Applied KISS and DRY principles for a more robust implementation
- Fixed DOM manipulation to correctly replace code block elements
- Changed from using replaceWith to parentNode.replaceChild
- This ensures proper replacement of Jekyll-rendered code blocks
- Follows recommended implementation for GitHub Pages with Jekyll
- Move style.scss back to assets/css/ to fix Jekyll build path
- Remove backup file
- Keep Mermaid diagram format changes
This fixes the broken CSS on the live site while preserving
the Mermaid diagram improvements.
- Move style.scss to dox-theme/assets/css/ to match live site path
- Update default.html layout to reference correct CSS path
- Update GitHub Actions workflow to verify correct output path
- Backup original style.scss as style.scss.backup
- Replace absolute_url filter with site.baseurl for CSS and JS assets
- Ensure consistent path handling across all assets
- Fix 404 errors for theme assets on GitHub Pages