You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(packages/core): remove default asset seeding that blocked generated banners (#62)
The hardcoded default SVGs in packages/core/public/ lacked the
`<!-- zpress-generated -->` marker, so they were treated as
user-customized files and could never be overwritten by
generateAssets(). This meant users always got the generic ZPRESS
branding instead of banners derived from their config title.
Remove the seeding step entirely — generateAssets() now always runs
with a fallback title of "Documentation" and the existing
shouldGenerate() check still preserves genuinely user-customized files.
Co-authored-by: Claude <noreply@anthropic.com>
Remove default asset seeding in favor of always generating banner, logo, and icon SVGs. Previously, hardcoded default SVGs without the `<!-- zpress-generated -->` marker were seeded into `.zpress/public/`, which prevented the generated assets from overwriting them. Now `generateAssets` always runs with a fallback title of "Documentation", and user-customized files (without the marker) are still preserved.
0 commit comments