Export generates a self-contained static site from task data.
(cfg ExportConfig)
| 30 | |
| 31 | // Export generates a self-contained static site from task data. |
| 32 | func Export(cfg ExportConfig) error { |
| 33 | return ExportWithFS(cfg, StaticFiles()) |
| 34 | } |
| 35 | |
| 36 | // ExportWithFS generates a static site using the provided embedded filesystem. |
| 37 | // This is separated from Export to allow tests to inject a mock FS. |