refactor: Rename docusaurus command to docs

- Change command name from 'docusaurus' to 'docs'
- Update path handling for empty Docusaurus paths
- Adjust example usage in documentation
This commit is contained in:
Mahmoud-Emad
2025-10-14 13:08:03 +03:00
parent 230c684725
commit 5fc0909ce7
3 changed files with 21 additions and 10 deletions

View File

@@ -15,16 +15,15 @@ For quick setup and development, use the hero command:
```bash
# Start development server
hero docusaurus -d -path /path/to/your/site
hero docs -d -path /path/to/your/site
# Build for production
hero docusaurus -b -path /path/to/your/site
hero docs -b -path /path/to/your/site
# Build and publish
hero docusaurus -bp -path /path/to/your/site
hero docs -bp -path /path/to/your/site
```
### Example HeroScript
```heroscript