This commit is contained in:
2025-07-19 18:18:46 +02:00
parent d32f0f4245
commit b9eb75d13e
6 changed files with 88 additions and 32 deletions

View File

@@ -60,11 +60,8 @@ pub fn (mut site DocSite) generate() ! {
// draft:1 hide_title:1
configpath:="${site.path_src.path}/cfg"
sitegen.play(heroscript_path: configpath)!
sitegenpath := '${os.home_dir()}/hero/var/sitegen/${site.name}'
if true || os.exists(sitegenpath) {
panic("Sdsdsd:${sitegenpath}")
}
sitegen.play(heroscript_path: configpath, dest:'${site.factory.path_build.path}/docs', flat:true)!
site.process_imports()!
}