- Replace manual script concatenation with playbook include handling - Preserve site configuration (imports, menu) during generation - Add support for copying static files from imported content - Handle static assets from sibling `ebooksall` directories - Fix import copy logic to not delete destination before copying
26 lines
587 B
GLSL
Executable File
26 lines
587 B
GLSL
Executable File
#!/usr/bin/env -S v -n -w -gc none -cg -cc tcc -d use_openssl -enable-globals run
|
|
|
|
import freeflowuniverse.herolib.core.playcmds
|
|
|
|
playcmds.run(
|
|
heroscript: '
|
|
!!docusaurus.define
|
|
path_build: "/tmp/docusaurus_build"
|
|
path_publish: "/tmp/docusaurus_publish"
|
|
// reset: 1
|
|
// install: 1
|
|
// template_update: 1
|
|
|
|
!!docusaurus.add sitename:"owh_intro"
|
|
git_url:"https://git.ourworld.tf/ourworld_holding/docs_owh/src/branch/main/ebooks/owh_intro"
|
|
git_root:"/tmp/code"
|
|
git_reset:1
|
|
git_pull:1
|
|
play:true
|
|
|
|
// !!docusaurus.build
|
|
|
|
!!docusaurus.dev site:"owh_intro" open:true
|
|
'
|
|
)!
|