This commit is contained in:
2025-07-25 11:05:30 +02:00
parent 9b86f76eaa
commit f2079c7c3d
10 changed files with 57 additions and 75 deletions

View File

@@ -23,6 +23,23 @@ pub mut:
factory &DocusaurusFactory @[skip; str: skip] // Reference to the parent
}
@[params]
pub struct DSiteGetArgs {
pub mut:
name string
nameshort string
path string
git_url string
git_reset bool
git_root string
git_pull bool
open bool // Added
watch_changes bool // Added
path_publish string // Added
init bool // Added
update bool // Added (maps to template_update in DocusaurusArgs)
}
pub fn (mut s DocSite) build() ! {
s.generate()!
osal.exec(