This repository includes comprehensive auto-generated documentation for all C# code.
- Browse Online: Navigate to the
/docsfolder on GitHub - Start Here: docs/index.md — Main documentation index
- By Namespace: docs/namespaces/ — Browse by namespace
- By Type: docs/classes/ — Individual type documentation
/docs
├── index.md # Main index with statistics and navigation
├── namespaces/ # Namespace overview pages
│ ├── Indiko.Maui.Controls.Chat.md
│ ├── Indiko.Maui.Controls.Chat.Models.md
│ └── ...
├── classes/ # Individual type documentation
│ ├── ChatView.md
│ ├── ChatMessage.md
│ └── ...
└── diagrams/ # Mermaid diagrams
├── class-hierarchy.mmd
└── namespace-dependencies.mmd
For each type in the codebase, you'll find:
- Type Information: Name, namespace, source file location
- Signature: Complete C# signature with modifiers
- Summary: XML documentation comments
- Relationships: Base types, interfaces, dependencies
- Members:
- Properties with accessors
- Methods with parameters and return types
- Fields and events
- Constructors
The documentation includes Mermaid diagrams that visualize:
- Class Hierarchy: Inheritance and interface implementations
- Namespace Dependencies: Cross-namespace references
These diagrams are embedded in the index and render directly in GitHub.
To regenerate the documentation after code changes:
cd /path/to/repository
dotnet run --project tools/Tools.CodeDocGenerator/Tools.CodeDocGenerator.csprojThis will:
- Analyze all C# files in the repository
- Extract type information using Roslyn
- Generate/update Markdown documentation in
/docs - Create Mermaid diagrams
See tools/Tools.CodeDocGenerator/README.md for more details.
When adding or modifying code:
- Add XML documentation comments to your code
- Regenerate documentation using the tool
- Commit both code and documentation changes together
This keeps documentation in sync with the code and makes reviews easier.
- ✓ GitHub-native Markdown format
- ✓ Mermaid diagrams (render natively in GitHub)
- ✓ Cross-references between types
- ✓ XML documentation integration
- ✓ Version controlled (track changes via Git)
- ✓ No external dependencies for viewing
- ✓ Searchable and navigable
Current documentation coverage:
- 67 types documented
- 12 namespaces
- 184 methods
- 160 properties
- 78 documentation files
Last updated: 2025-10-23