Replaced CDN dependencies with local downloads for fully self-contained operation: - Highlight.js (syntax highlighting) - 121KB - Highlight.js GitHub Dark theme - 1.3KB - Lunr.js (documentation search) - 29KB - Lunr-flex (search plugin) - 43KB Changes: - Updated package.json postinstall to download all dependencies - Modified docs templates to use /web/static/ paths - Updated .gitignore to allow documentation dependencies - Total added: ~195KB (minimal container impact) Benefits: - ✅ Fully self-hosted - no external CDN requests - ✅ Works offline without internet access - ✅ No privacy/analytics leaks from CDNs - ✅ Consistent with project's self-hosting philosophy - ✅ Improved reliability for air-gapped deployments Note: Tailwind CSS CDN remains (development-only, production uses compiled CSS)
1 line
43 B
JavaScript
1 line
43 B
JavaScript
Failed to fetch version info for lunr-flex. |