Files
herolib/lib/core/playcmds/play_docusaurus.v
Mahmoud-Emad 697c500e35 refactor: adapt docusaurus to use generic site module
- Introduce a new generic `site` module for web generation
- Update `herocmds` to use the new site creation flow
- Simplify docusaurus playbook logic with a `docusaurus.play` fn
- Refactor site generation to act on `Site` struct directly
- Fix playbook find filter to use wildcard `*`
2025-07-31 14:42:36 +03:00

11 lines
314 B
V

module playcmds
import freeflowuniverse.herolib.core.playbook { PlayBook }
// import freeflowuniverse.herolib.ui.console
import freeflowuniverse.herolib.web.docusaurus
fn play(mut plbook PlayBook) ! {
// Use the new docusaurus.play() function which handles the new API structure
docusaurus.play(mut plbook)!
}