Skip to content

Commit 1b6c7a4

Browse files
Merge pull request #69 from wieslawsoltes/docs/docfx-refresh
Docs
2 parents 948cf0d + f029e1d commit 1b6c7a4

47 files changed

Lines changed: 1434 additions & 128 deletions

Some content is hidden

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

.config/dotnet-tools.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"version": 1,
3+
"isRoot": true,
4+
"tools": {
5+
"docfx": {
6+
"version": "2.78.4",
7+
"commands": [
8+
"docfx"
9+
],
10+
"rollForward": false
11+
}
12+
}
13+
}

.github/workflows/docs.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
name: Docs
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
- main
8+
9+
permissions:
10+
contents: write
11+
12+
jobs:
13+
deploy:
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: actions/checkout@v4
17+
18+
- name: Setup .NET SDKs
19+
uses: actions/setup-dotnet@v4
20+
with:
21+
dotnet-version: |
22+
10.0.x
23+
8.0.x
24+
6.0.x
25+
26+
- name: Restore local tools
27+
run: dotnet tool restore
28+
29+
- name: Build docs
30+
run: |
31+
chmod +x build-docs.sh
32+
./build-docs.sh
33+
34+
- name: Deploy to GitHub Pages
35+
uses: peaceiris/actions-gh-pages@v4
36+
with:
37+
github_token: ${{ secrets.GITHUB_TOKEN }}
38+
publish_dir: ./_site

.gitignore

Lines changed: 55 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,14 @@ bld/
2424
[Oo]bj/
2525
[Ll]og/
2626

27-
# Visual Studio 2015 cache/options directory
27+
# Visual Studio 2015/2017 cache/options directory
2828
.vs/
2929
# Uncomment if you have tasks that create the project's static files in wwwroot
3030
#wwwroot/
3131

32+
# Visual Studio 2017 auto generated files
33+
Generated\ Files/
34+
3235
# MSTest test Results
3336
[Tt]est[Rr]esult*/
3437
[Bb]uild[Ll]og.*
@@ -42,20 +45,29 @@ TestResult.xml
4245
[Rr]eleasePS/
4346
dlldata.c
4447

48+
# Benchmark Results
49+
BenchmarkDotNet.Artifacts/
50+
4551
# .NET Core
4652
project.lock.json
4753
project.fragment.lock.json
4854
artifacts/
4955
**/Properties/launchSettings.json
5056

57+
# StyleCop
58+
StyleCopReport.xml
59+
60+
# Files built by Visual Studio
5161
*_i.c
5262
*_p.c
5363
*_i.h
5464
*.ilk
5565
*.meta
5666
*.obj
67+
*.iobj
5768
*.pch
5869
*.pdb
70+
*.ipdb
5971
*.pgc
6072
*.pgd
6173
*.rsp
@@ -93,6 +105,9 @@ ipch/
93105
*.vspx
94106
*.sap
95107

108+
# Visual Studio Trace Files
109+
*.e2e
110+
96111
# TFS 2012 Local Workspace
97112
$tf/
98113

@@ -113,6 +128,10 @@ _TeamCity*
113128
# DotCover is a Code Coverage Tool
114129
*.dotCover
115130

131+
# AxoCover is a Code Coverage Tool
132+
.axoCover/*
133+
!.axoCover/settings.json
134+
116135
# Visual Studio code coverage results
117136
*.coverage
118137
*.coveragexml
@@ -148,7 +167,7 @@ publish/
148167
# Publish Web Output
149168
*.[Pp]ublish.xml
150169
*.azurePubxml
151-
# TODO: Comment the next line if you want to checkin your web deploy settings
170+
# Note: Comment the next line if you want to checkin your web deploy settings,
152171
# but database connection strings (with potential passwords) will be unencrypted
153172
*.pubxml
154173
*.publishproj
@@ -161,11 +180,11 @@ PublishScripts/
161180
# NuGet Packages
162181
*.nupkg
163182
# The packages folder can be ignored because of Package Restore
164-
**/packages/*
183+
**/[Pp]ackages/*
165184
# except build/, which is used as an MSBuild target.
166-
!**/packages/build/
185+
!**/[Pp]ackages/build/
167186
# Uncomment if necessary however generally it will be regenerated when needed
168-
#!**/packages/repositories.config
187+
#!**/[Pp]ackages/repositories.config
169188
# NuGet v3's project.json files produces more ignorable files
170189
*.nuget.props
171190
*.nuget.targets
@@ -183,6 +202,7 @@ AppPackages/
183202
BundleArtifacts/
184203
Package.StoreAssociation.xml
185204
_pkginfo.txt
205+
*.appx
186206

187207
# Visual Studio cache files
188208
# files ending in .cache can be ignored
@@ -201,6 +221,10 @@ ClientBin/
201221
*.publishsettings
202222
orleans.codegen.cs
203223

224+
# Including strong name files can present a security risk
225+
# (https://github.com/github/gitignore/pull/2483#issue-259490424)
226+
#*.snk
227+
204228
# Since there are multiple workflows, uncomment next line to ignore bower_components
205229
# (https://github.com/github/gitignore/pull/1529#issuecomment-104372622)
206230
#bower_components/
@@ -215,6 +239,8 @@ _UpgradeReport_Files/
215239
Backup*/
216240
UpgradeLog*.XML
217241
UpgradeLog*.htm
242+
ServiceFabricBackup/
243+
*.rptproj.bak
218244

219245
# SQL Server files
220246
*.mdf
@@ -225,6 +251,7 @@ UpgradeLog*.htm
225251
*.rdl.data
226252
*.bim.layout
227253
*.bim_*.settings
254+
*.rptproj.rsuser
228255

229256
# Microsoft Fakes
230257
FakesAssemblies/
@@ -236,9 +263,6 @@ FakesAssemblies/
236263
.ntvs_analysis.dat
237264
node_modules/
238265

239-
# Typescript v1 declaration files
240-
typings/
241-
242266
# Visual Studio 6 build log
243267
*.plg
244268

@@ -275,9 +299,12 @@ __pycache__/
275299
*.pyc
276300

277301
# Cake - Uncomment if you are using it
278-
tools/**
302+
# tools/**
279303
# !tools/packages.config
280304

305+
# Tabs Studio
306+
*.tss
307+
281308
# Telerik's JustMock configuration file
282309
*.jmconfig
283310

@@ -287,5 +314,22 @@ tools/**
287314
*.odx.cs
288315
*.xsd.cs
289316

290-
# macOS
291-
.DS_Store
317+
# OpenCover UI analysis results
318+
OpenCover/
319+
320+
# Azure Stream Analytics local run output
321+
ASALocalRun/
322+
323+
# MSBuild Binary and Structured Log
324+
*.binlog
325+
326+
# NVidia Nsight GPU debugger configuration file
327+
*.nvuser
328+
329+
# MFractors (Xamarin productivity tool) working folder
330+
.mfractor/
331+
332+
# DocFX output
333+
/_site
334+
docfx/api/*.yml
335+
docfx/api/*.manifest

Directory.Build.props

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,14 @@
77
<Copyright>Copyright © Wiesław Šoltés 2026</Copyright>
88
<PackageLicenseExpression>MIT</PackageLicenseExpression>
99
<PackageProjectUrl>https://github.com/wieslawsoltes/NodeEditor</PackageProjectUrl>
10+
<PackageIcon>Icon.png</PackageIcon>
1011
</PropertyGroup>
1112
<PropertyGroup>
1213
<AnalysisLevel>latest</AnalysisLevel>
1314
<LangVersion>latest</LangVersion>
1415
</PropertyGroup>
16+
17+
<ItemGroup>
18+
<None Include="$(MSBuildThisFileDirectory)build/Assets/Icon.png" Pack="true" PackagePath="/" Visible="false" />
19+
</ItemGroup>
1520
</Project>

README.md

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,15 @@
33
[![Build Status](https://dev.azure.com/wieslawsoltes/GitHub/_apis/build/status/wieslawsoltes.NodeEditor?branchName=main)](https://dev.azure.com/wieslawsoltes/GitHub/_build/latest?definitionId=104&branchName=main)
44
[![CI](https://github.com/wieslawsoltes/NodeEditor/actions/workflows/build.yml/badge.svg)](https://github.com/wieslawsoltes/NodeEditor/actions/workflows/build.yml)
55

6-
[![NuGet](https://img.shields.io/nuget/v/NodeEditorAvalonia.svg)](https://www.nuget.org/packages/NodeEditorAvalonia)
7-
[![NuGet](https://img.shields.io/nuget/dt/NodeEditorAvalonia.svg)](https://www.nuget.org/packages/NodeEditorAvalonia)
6+
| Badge | Package | Downloads |
7+
| --- | --- | --- |
8+
| [![NuGet](https://img.shields.io/nuget/v/NodeEditorAvalonia.svg)](https://www.nuget.org/packages/NodeEditorAvalonia/) | [NodeEditorAvalonia](https://www.nuget.org/packages/NodeEditorAvalonia/) | [![Downloads](https://img.shields.io/nuget/dt/NodeEditorAvalonia.svg)](https://www.nuget.org/packages/NodeEditorAvalonia/) |
9+
| [![NuGet](https://img.shields.io/nuget/v/NodeEditorAvalonia.Model.svg)](https://www.nuget.org/packages/NodeEditorAvalonia.Model/) | [NodeEditorAvalonia.Model](https://www.nuget.org/packages/NodeEditorAvalonia.Model/) | [![Downloads](https://img.shields.io/nuget/dt/NodeEditorAvalonia.Model.svg)](https://www.nuget.org/packages/NodeEditorAvalonia.Model/) |
10+
| [![NuGet](https://img.shields.io/nuget/v/NodeEditorAvalonia.Mvvm.svg)](https://www.nuget.org/packages/NodeEditorAvalonia.Mvvm/) | [NodeEditorAvalonia.Mvvm](https://www.nuget.org/packages/NodeEditorAvalonia.Mvvm/) | [![Downloads](https://img.shields.io/nuget/dt/NodeEditorAvalonia.Mvvm.svg)](https://www.nuget.org/packages/NodeEditorAvalonia.Mvvm/) |
11+
| [![NuGet](https://img.shields.io/nuget/v/NodeEditorLogic.Core.svg)](https://www.nuget.org/packages/NodeEditorLogic.Core/) | [NodeEditorLogic.Core](https://www.nuget.org/packages/NodeEditorLogic.Core/) | [![Downloads](https://img.shields.io/nuget/dt/NodeEditorLogic.Core.svg)](https://www.nuget.org/packages/NodeEditorLogic.Core/) |
12+
| [![NuGet](https://img.shields.io/nuget/v/NodeEditorLogic.Editor.svg)](https://www.nuget.org/packages/NodeEditorLogic.Editor/) | [NodeEditorLogic.Editor](https://www.nuget.org/packages/NodeEditorLogic.Editor/) | [![Downloads](https://img.shields.io/nuget/dt/NodeEditorLogic.Editor.svg)](https://www.nuget.org/packages/NodeEditorLogic.Editor/) |
13+
| [![NuGet](https://img.shields.io/nuget/v/NodeEditor.Base.svg)](https://www.nuget.org/packages/NodeEditor.Base/) | [NodeEditor.Base](https://www.nuget.org/packages/NodeEditor.Base/) | [![Downloads](https://img.shields.io/nuget/dt/NodeEditor.Base.svg)](https://www.nuget.org/packages/NodeEditor.Base/) |
14+
| [![NuGet](https://img.shields.io/nuget/v/NodeEditor.Logic.svg)](https://www.nuget.org/packages/NodeEditor.Logic/) | [NodeEditor.Logic](https://www.nuget.org/packages/NodeEditor.Logic/) | [![Downloads](https://img.shields.io/nuget/dt/NodeEditor.Logic.svg)](https://www.nuget.org/packages/NodeEditor.Logic/) |
815

916
A node editor control for Avalonia.
1017

@@ -77,7 +84,11 @@ You can find the packages here [NuGet](https://www.nuget.org/packages/NodeEditor
7784

7885
* [NodeEditorAvalonia](https://www.nuget.org/packages/NodeEditorAvalonia) - The main package with Avalonia controls and default theme.
7986
* [NodeEditorAvalonia.Model](https://www.nuget.org/packages/NodeEditorAvalonia.Model) - The base interfaces used in controls and view models.
80-
* [NodeEditorAvalonia.MVVM](https://www.nuget.org/packages/NodeEditorAvalonia.MVVM) - The MVVM view models with default implementation.
87+
* [NodeEditorAvalonia.Mvvm](https://www.nuget.org/packages/NodeEditorAvalonia.Mvvm) - The MVVM view models with default implementation.
88+
* [NodeEditorLogic.Core](https://www.nuget.org/packages/NodeEditorLogic.Core) - Core logic sample models and services used by LogicLab.
89+
* [NodeEditorLogic.Editor](https://www.nuget.org/packages/NodeEditorLogic.Editor) - LogicLab editor-specific types and tooling.
90+
* [NodeEditor.Base](https://www.nuget.org/packages/NodeEditor.Base) - Base sample assets and view models.
91+
* [NodeEditor.Logic](https://www.nuget.org/packages/NodeEditor.Logic) - LogicLab sample assets and view models.
8192

8293
### Package Sources
8394

build-docs.ps1

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
$env:IsDocFx = 'true'
2+
dotnet tool restore
3+
dotnet docfx docfx/docfx.json

build-docs.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/bin/bash
2+
export IsDocFx=true
3+
dotnet tool restore
4+
dotnet docfx docfx/docfx.json

build/Assets/Icon.png

23.3 KB
Loading

build/Assets/Icon.svg

Lines changed: 18 additions & 0 deletions
Loading

check-docs.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/bin/bash
2+
set -e
3+
dotnet tool restore
4+
dotnet docfx docfx/docfx.json

0 commit comments

Comments
 (0)