Irihi.Dogma
0.5.0
Prefix Reserved
dotnet add package Irihi.Dogma --version 0.5.0
NuGet\Install-Package Irihi.Dogma -Version 0.5.0
<PackageReference Include="Irihi.Dogma" Version="0.5.0" />
<PackageVersion Include="Irihi.Dogma" Version="0.5.0" />
<PackageReference Include="Irihi.Dogma" />
paket add Irihi.Dogma --version 0.5.0
#r "nuget: Irihi.Dogma, 0.5.0"
#:package Irihi.Dogma@0.5.0
#addin nuget:?package=Irihi.Dogma&version=0.5.0
#tool nuget:?package=Irihi.Dogma&version=0.5.0
Irihi.Dogma
A set of Avalonia UI controls designed for documentation and demo scenarios.
⚠️ Support & Scope
This repository exists to serve IRIHI's own product demos — it is not a general-purpose, publicly supported library. Before using it, please understand that:
- No support — external support requests, issues, and feature suggestions are not processed.
- No compatibility guarantees — APIs may change or break at any time, without notice or semantic-versioning discipline.
- Demo-first — code targets our internal demo scenarios; use cases outside those scenarios are out of scope.
Use at your own risk.
Features
- CodeBlock — syntax-highlighted, selectable, copyable code display control with zero external dependencies
- Supports AXAML and C# syntax highlighting
- Built-in light/dark theme support
- Line numbers and copy button
- DocSite — documentation site scaffolding with
DocPageandDocCategoryattributes, plus a source-generator that wires them up automatically
Installation
dotnet add package Irihi.Dogma
Usage
CodeBlock
<dogma:CodeBlock Language="CSharp"
Code="{Binding MySourceCode}"
ShowLineNumbers="True"
ShowCopyButton="True" />
DocSite
Annotate your demo view-models with [DocPage] / [DocCategory] attributes. The included source generator automatically registers them into IDocRegistry at compile time.
[DocPage("My Page", Category = "Getting Started")]
public partial class MyPageViewModel : IViewModelProvider { ... }
Building
dotnet build Irihi.Dogma.slnx
dotnet test Irihi.Dogma.slnx
License
MIT © Irihi Technology
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net8.0
- Avalonia (>= 12.1.1)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Irihi.Dogma:
| Package | Downloads |
|---|---|
|
Irihi.Dogma.Controls
Avalonia UI controls for documentation and demo scenarios (DemoSectionView, PageMetadataView, AnchorScrollViewer). |
GitHub repositories
This package is not used by any popular GitHub repositories.