Production Assets

Docboot provides a built-in asset generator to produce favicons, social sharing banners, and web app manifests without external graphics tools.


Generating Assets via CLI #

Run the asset generation command in your project root:

BASH
docboot generate assets

You can also pass --force to overwrite existing files:

BASH
docboot generate assets --force

What Gets Generated #

The command populates your ./public folder with the following production-ready assets:

FilePurpose
public/favicon.svgScalable vector favicon with automatic dark/light theme awareness
public/favicon.icoLegacy browser fallback favicon
public/apple-touch-icon.pngiOS / iPad home screen icon
public/og-image.pngOpen Graph (OG) / Twitter card social preview banner (1200x630)
public/manifest.webmanifestProgressive Web App manifest
public/sw.jsOffline caching Service Worker

Customizing Assets #

Any files placed in your project's public/ directory (e.g. public/favicon.svg or public/images/) are automatically copied verbatim to the root of dist/ during every docboot build.


Next Steps #

1 min read · Updated