Update .gitignore to include all static assets from Vite build output, modify CONTRIBUTING.md to clarify commit guidelines regarding Vite output, and remove obsolete static assets and JavaScript files from the themes directory to streamline the project structure.

This commit is contained in:
Hananoshika Yomaru 2026-05-19 10:52:57 -07:00
parent df556227e4
commit f6150faaa3
289 changed files with 3 additions and 138140 deletions

10
.gitignore vendored
View file

@ -19,11 +19,5 @@ Thumbs.db
# Logs
*.log
# Theme static: only Vite-built JS/CSS assets (no HTML or main.css from Zola public/).
themes/openfreebooks/static/*
!themes/openfreebooks/static/js/
themes/openfreebooks/static/js/*
!themes/openfreebooks/static/js/bundle.js
!themes/openfreebooks/static/js/*.js
!themes/openfreebooks/static/js/katex.css
!themes/openfreebooks/static/js/KaTeX_*
# Vite build output (bun run build:js → zola copies into public/)
themes/openfreebooks/static/