feat: download documentation dependencies locally for full self-hosting
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)
This commit is contained in:
Vendored
+6
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user