Skip to content

Commit 294f27f

Browse files
authored
Merge pull request #438 from ignatandrei/BlazorOcticons
2 parents f5516f2 + d4a6e41 commit 294f27f

File tree

89 files changed

+60714
-17
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

89 files changed

+60714
-17
lines changed

README.md

Lines changed: 26 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
# RSCG - 246 Examples of Roslyn Source Code Generators / 16 created by Microsoft /
1+
# RSCG - 247 Examples of Roslyn Source Code Generators / 16 created by Microsoft /
22

3-
The RSCG_Examples repository is a comprehensive documentation system that automatically processes and showcases 246 Roslyn Source Code Generator (RSCG) examples. The system transforms individual RSCG projects into structured documentation with code examples and cross-referenced content with a searchable website and code example exports.
3+
The RSCG_Examples repository is a comprehensive documentation system that automatically processes and showcases 247 Roslyn Source Code Generator (RSCG) examples. The system transforms individual RSCG projects into structured documentation with code examples and cross-referenced content with a searchable website and code example exports.
44

55
This system serves as both a learning resource for .NET developers interested in source generators and an automated pipeline for maintaining up-to-date documentation about the RSCG ecosystem
66

7-
## Latest Update : 2025-12-13 => 13 December 2025
7+
## Latest Update : 2025-12-14 => 14 December 2025
88

99
If you want to see examples with code, please click ***[List V2](https://ignatandrei.github.io/RSCG_Examples/v2/docs/List-of-RSCG)***
1010

@@ -24,8 +24,30 @@ If you want to be notified each time I add a new RSCG example , please click htt
2424

2525
## Content
2626

27-
Those are the 246 Roslyn Source Code Generators that I have tested you can see and download source code example.
27+
Those are the 247 Roslyn Source Code Generators that I have tested you can see and download source code example.
2828
( including 16 from Microsoft )
29+
### 247. [BlazorOcticons](https://ignatandrei.github.io/RSCG_Examples/v2/docs/BlazorOcticons) , in the [Blazor](https://ignatandrei.github.io/RSCG_Examples/v2/docs/rscg-examples#blazor) category
30+
31+
Generated on : 2025-12-14 => 14 December 2025
32+
33+
<details>
34+
<summary>Expand</summary>
35+
36+
37+
38+
Author: Evgeniy K.
39+
40+
Package Description
41+
42+
Nuget: [https://www.nuget.org/packages/BlazorOcticons/](https://www.nuget.org/packages/BlazorOcticons/)
43+
44+
45+
Link: [https://ignatandrei.github.io/RSCG_Examples/v2/docs/BlazorOcticons](https://ignatandrei.github.io/RSCG_Examples/v2/docs/BlazorOcticons)
46+
47+
Source: [https://github.com/BlazorOcticons/BlazorOcticons](https://github.com/BlazorOcticons/BlazorOcticons)
48+
49+
</details>
50+
2951
### 246. [Imposter](https://ignatandrei.github.io/RSCG_Examples/v2/docs/Imposter) , in the [Tests](https://ignatandrei.github.io/RSCG_Examples/v2/docs/rscg-examples#tests) category
3052

3153
Generated on : 2025-12-13 => 13 December 2025

later.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Just later
22

3-
## Latest Update : 2025-12-13 => 13 December 2025
3+
## Latest Update : 2025-12-14 => 14 December 2025
44

55

66

v2/.tours/BlazorOcticons.tour

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
2+
{
3+
"$schema": "https://aka.ms/codetour-schema",
4+
"title": "BlazorOcticons",
5+
"steps":
6+
[
7+
{
8+
"file": "rscg_examples/BlazorOcticons/src/BlazorDemo/BlazorDemo.csproj",
9+
"description": "First, we add Nuget [BlazorOcticons](https://www.nuget.org/packages/BlazorOcticons/) in csproj ",
10+
"pattern": "BlazorOcticons"
11+
}
12+
13+
,{
14+
"file": "rscg_examples/BlazorOcticons/src/BlazorDemo/Octicons/Andrei16.razor",
15+
"description": "File Andrei16.razor ",
16+
"pattern": "this is the code"
17+
}
18+
19+
,{
20+
"file": "rscg_examples/BlazorOcticons/src/BlazorDemo/andrei-16.svg",
21+
"description": "File andrei-16.svg ",
22+
"pattern": "this is the code"
23+
}
24+
25+
,{
26+
"file": "rscg_examples/BlazorOcticons/src/BlazorDemo/Program.cs",
27+
"description": "File Program.cs \r\n>> dotnet run --project rscg_examples/BlazorOcticons/src/BlazorDemo/BlazorDemo.csproj ",
28+
"pattern": "this is the code"
29+
}
30+
31+
32+
],
33+
34+
"ref": "main"
35+
36+
}

v2/Generator/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ await File.WriteAllTextAsync(Path.Combine(examples,"description.json"),
154154

155155
long nr = await m.GenerateMSFT();
156156
Console.WriteLine("RSCG used by MSFT :" + nr);
157-
var lastGenerator = "RSCG_MCP2File";
157+
var lastGenerator = "Imposter";
158158

159159
await m.WrotePost(lastGenerator);
160160
await m.WroteDocusaurusAll(lastGenerator);

v2/Generator/all.csv

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -245,3 +245,4 @@ Nr,Key,Source,Category
245245
244,BoolParameterGenerator, https://github.com/9swampy/BoolEnumGenerator,Bool
246246
245,Monify, https://github.com/MooVC/monify,PrimitiveObsession
247247
246,Imposter, https://github.com/themidnightgospel/Imposter,Tests
248+
247,BlazorOcticons, https://github.com/BlazorOcticons/BlazorOcticons,Blazor

v2/RSCGExamplesData/GeneratorDataRec.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1492,4 +1492,10 @@
14921492
"dtStart": "2025-12-13T00:00:00",
14931493
"show": true
14941494
},
1495+
{
1496+
"ID": "BlazorOcticons",
1497+
"Category": 21,
1498+
"dtStart": "2025-12-14T00:00:00",
1499+
"show": true
1500+
}
14951501
]
Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
2+
<h1>RSCG nr 247 : BlazorOcticons</h1>
3+
4+
<h2>Info</h2>
5+
Nuget : <a href="https://www.nuget.org/packages/BlazorOcticons/" target="_blank">https://www.nuget.org/packages/BlazorOcticons/</a>
6+
7+
<p>You can find more details at : <a href="https://github.com/BlazorOcticons/BlazorOcticons" target="_blank"> https://github.com/BlazorOcticons/BlazorOcticons</a></p>
8+
9+
<p>Author :Evgeniy K.</p>
10+
11+
<p>Source: <a href="https://github.com/BlazorOcticons/BlazorOcticons" target="_blank">https://github.com/BlazorOcticons/BlazorOcticons</a> </p>
12+
13+
<h2>About</h2>
14+
15+
Generates Blazor components for GitHub Octicons SVG icons or from svg.Easily integrate GitHub Octicons into your Blazor applications.
16+
17+
<h2>
18+
How to use
19+
</h2>
20+
<h3>
21+
Add reference to the <a href="https://www.nuget.org/packages/BlazorOcticons/" target="_blank">BlazorOcticons</a> in the csproj
22+
</h3>
23+
<img src="images/BlazorOcticons/BlazorDemo.csproj.png" width="580" height="580" />
24+
25+
<h3>This was for me the <b>starting</b> code</h3>
26+
27+
<br />
28+
I have <b>coded</b> the file Program.cs
29+
<br />
30+
<img src="images/BlazorOcticons/csFiles/Program.cs.png" width="580" height="580" />
31+
<hr />
32+
33+
<br />
34+
I have <b>coded</b> the file andrei-16.svg
35+
<br />
36+
<img src="images/BlazorOcticons/csFiles/andrei-16.svg.png" width="580" height="580" />
37+
<hr />
38+
39+
<br />
40+
I have <b>coded</b> the file Andrei16.razor
41+
<br />
42+
<img src="images/BlazorOcticons/csFiles/Andrei16.razor.png" width="580" height="580" />
43+
<hr />
44+
<h3>And here are the <i>generated</i> files</h3>
45+
46+
<p>
47+
You can download the code and this page as pdf from
48+
<a target="_blank" href='https://ignatandrei.github.io/RSCG_Examples/v2/docs/BlazorOcticons'>
49+
https://ignatandrei.github.io/RSCG_Examples/v2/docs/BlazorOcticons
50+
</a>
51+
</p>
52+
53+
54+
<p>
55+
You can see the whole list at
56+
<a target="_blank" href='https://ignatandrei.github.io/RSCG_Examples/v2/docs/List-of-RSCG'>
57+
https://ignatandrei.github.io/RSCG_Examples/v2/docs/List-of-RSCG
58+
</a>
59+
</p>
60+

v2/book/list.html

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
</head>
1818
<body>
1919
<h1>
20-
This is the list of 246 RSCG with examples =>
20+
This is the list of 247 RSCG with examples =>
2121
</h1>
2222

2323
<table >
@@ -1010,6 +1010,10 @@ <h1>
10101010
<td>246</td>
10111011
<td><a href="examples/Imposter.html">Imposter</a></td>
10121012
</tr>
1013+
<tr>
1014+
<td>247</td>
1015+
<td><a href="examples/BlazorOcticons.html">BlazorOcticons</a></td>
1016+
</tr>
10131017
</table>
10141018

10151019

v2/book/pandocHTML.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -260,6 +260,7 @@ input-files:
260260
- examples/BoolParameterGenerator.html
261261
- examples/Monify.html
262262
- examples/Imposter.html
263+
- examples/BlazorOcticons.html
263264

264265
# or you may use input-file: with a single value
265266
# defaults:
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
{
2+
"generator":{
3+
"name":"BlazorOcticons",
4+
"nuget":[
5+
"https://www.nuget.org/packages/BlazorOcticons/"
6+
],
7+
"link":"https://github.com/BlazorOcticons/BlazorOcticons",
8+
"author":"Evgeniy K.",
9+
"source":"https://github.com/BlazorOcticons/BlazorOcticons"
10+
},
11+
"data":{
12+
"goodFor":["Generates Blazor components for GitHub Octicons SVG icons or from svg.","Easily integrate GitHub Octicons into your Blazor applications."],
13+
"csprojDemo":"BlazorDemo.csproj",
14+
"csFiles":["Program.cs","andrei-16.svg","Andrei16.razor"],
15+
"excludeDirectoryGenerated":["Microsoft.CodeAnalysis.Razor.Compiler"],
16+
"includeAdditionalFiles":[""]
17+
},
18+
"links":{
19+
"blog":"",
20+
"video":""
21+
}
22+
}

0 commit comments

Comments
 (0)