refactor: improve docusaurus site creation and handling

- Change site.new to always create/overwrite a site
- Add early exit to site.play if no config exists
- Use explicit sitename from docusaurus.config
- Enable openai.play action processing
- Remove debug code and improve struct initialization
This commit is contained in:
Mahmoud-Emad
2025-08-07 13:42:53 +03:00
parent daf6ce5126
commit 843b20804b
6 changed files with 10 additions and 14 deletions

View File

@@ -50,7 +50,7 @@ pub fn run(args_ PlayArgs) ! {
bizmodel.play(mut plbook)!
doctree.play(mut plbook)!
docusaurus.play(mut plbook)!
// openai.play(mut plbook)!
openai.play(mut plbook)!
// slides.play(mut plbook)!
// base_install(play(mut plbook)!