Skip to content

Commit d286df7

Browse files
committed
Adding GitHub Pages Deployment
1 parent 8c2104d commit d286df7

File tree

2 files changed

+24
-2
lines changed

2 files changed

+24
-2
lines changed

.github/workflows/gh-pages.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# Your GitHub workflow file under .github/workflows/
2+
3+
jobs:
4+
publish-docs:
5+
runs-on: ubuntu-latest
6+
steps:
7+
- name: Checkout
8+
uses: actions/checkout@v3
9+
- name: Dotnet Setup
10+
uses: actions/setup-dotnet@v3
11+
with:
12+
dotnet-version: 7.x
13+
14+
- run: dotnet tool update -g docfx
15+
- run: docfx Docc/docfx.json
16+
17+
- name: Deploy
18+
uses: peaceiris/actions-gh-pages@v3
19+
with:
20+
github_token: ${{ secrets.GITHUB_TOKEN }}
21+
publish_dir: Docs/_site

Source/SVGImage/SVG/Shapes/UseShape.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ namespace SVGImage.SVG.Shapes
44
{
55
using Utils;
66

7-
public class UseShape : Shape
7+
public sealed class UseShape : Shape
88
{
99
public double X { get; set; }
1010

@@ -13,7 +13,8 @@ public class UseShape : Shape
1313
public string hRef { get; set; }
1414

1515
public UseShape(SVG svg, XmlNode node) : base(svg, node)
16-
{ }
16+
{
17+
}
1718

1819
protected override void Parse(SVG svg, string name, string value)
1920
{

0 commit comments

Comments
 (0)