This tool automatically generates comprehensive documentation with screenshots for all UI pages in the Minotaur web application.
Prerequisites
- .NET 8.0 SDK
- Playwright browsers (installed automatically by the tool)
Usage
- Start the Minotaur.UI.Blazor application:
cd ../../src/Minotaur.UI.Blazor
dotnet run
- In a separate terminal, run the documentation tool:
cd UIFlowDocumentation
dotnet run
Or specify a custom URL and output directory:
dotnet run http://localhost:5000 ../../docs/ui-screenshots
Output
The tool generates:
- UI_FLOW.md: Comprehensive markdown documentation with descriptions of each page
- Screenshots: PNG images of each page in full-page mode
Arguments
- Argument 1 (optional): Base URL of the running application (default:
http://localhost:5000)
- Argument 2 (optional): Output directory for screenshots and documentation (default:
docs/ui-screenshots)
Pages Documented
The tool captures the following pages:
- Home (/)
- Grammar Editor (/grammar-editor)
- Marketplace (/marketplace)
- Interactive Tutorial (/tutorial)
- StepParser Integration (/step-parser)
- Symbolic Analyzer (/symbolic-analyzer)
- Version Control (/version-control)
- Plugin Manager (/plugin-manager)
- Project Manager (/project-manager)
- Counter Demo (/counter)
- Weather Demo (/weather)