This commit is contained in:
2025-07-18 07:04:00 +02:00
parent d9f1c93a01
commit 8354ba4c8c
6 changed files with 53 additions and 16 deletions

View File

@@ -2,6 +2,7 @@ module docusaurus
import os
import freeflowuniverse.herolib.core.pathlib
import freeflowuniverse.herolib.data.doctree
@[heap]
pub struct DocusaurusFactory {
@@ -20,8 +21,8 @@ pub mut:
path_build string
production bool
update bool
// heroscript string
// heroscript_path string
heroscript string
heroscript_path string
}
pub fn new(args_ DocusaurusArgs) !&DocusaurusFactory {
@@ -41,6 +42,5 @@ pub fn new(args_ DocusaurusArgs) !&DocusaurusFactory {
}
f.template_install(install: args.update, template_update: args.update)!
return f
}