refactor: Improve docusaurus import and site handling
- Simplify command logic to use a single defined site - Enhance git import to resolve paths relative to project root - Add `docusaurus.export` action to trigger `build_publish` - Change asset import destination from `docs` to `static` - Add `dsite_get_only` helper for simplified site access
This commit is contained in:
@@ -9,8 +9,6 @@ pub fn play(mut plbook PlayBook) ! {
|
||||
return
|
||||
}
|
||||
|
||||
println('DEBUG: Before the error')
|
||||
|
||||
mut config_action := plbook.ensure_once(filter: 'site.config')!
|
||||
|
||||
mut p := config_action.params
|
||||
@@ -55,7 +53,6 @@ pub fn play(mut plbook PlayBook) ! {
|
||||
play_build_dest_dev(mut plbook, mut config)!
|
||||
|
||||
play_pages(mut plbook, mut website)!
|
||||
|
||||
}
|
||||
|
||||
fn play_import(mut plbook PlayBook, mut config SiteConfig) ! {
|
||||
|
||||
Reference in New Issue
Block a user