diff --git a/README.md b/README.md index 14b4e8b4..af189328 100644 --- a/README.md +++ b/README.md @@ -24,3 +24,12 @@ on [GGPO](https://github.com/pond3r/ggpo) with full asynchronous IO support. $ dotnet add package Backdash ``` +## Samples + +Check the samples on [/samples](/samples) + +Watch the working demo: + +[![Watch the demo](https://img.youtube.com/vi/JYf2MemyJaY/default.jpg)](https://youtu.be/JYf2MemyJaY) + + diff --git a/build/Build.cs b/build/Build.cs index 38acc80e..0a979c86 100644 --- a/build/Build.cs +++ b/build/Build.cs @@ -118,7 +118,7 @@ class MainBuild : NukeBuild .Executes(() => { var output = RootDirectory / "_site"; - output.CreateOrCleanDirectory(); + if (!output.DirectoryExists()) output.CreateDirectory(); Badges.ForCoverage(Solution, output, CoverageFiles); Badges.ForDotNetVersion(output, GlobalJson); Badges.ForTests(output, TestResultFile); diff --git a/build/Helpers/Badges.cs b/build/Helpers/Badges.cs index b791b5eb..01b8bc10 100644 --- a/build/Helpers/Badges.cs +++ b/build/Helpers/Badges.cs @@ -69,4 +69,4 @@ record TestSummary(int Passed, int Failed, int Skipped) public static TestSummary operator +(TestSummary s1, TestSummary s2) => new(s1.Passed + s2.Passed, s1.Failed + s2.Failed, s1.Skipped + s2.Skipped); } -} \ No newline at end of file +} diff --git a/docfx.json b/docfx.json index 43f4c9b6..2314d15b 100644 --- a/docfx.json +++ b/docfx.json @@ -19,7 +19,8 @@ "**/*.{md,yml}" ], "exclude": [ - "_site/**" + "_site/**", + "TestReport/**" ] } ], diff --git a/toc.yml b/toc.yml index 45b427c7..8661cf8c 100644 --- a/toc.yml +++ b/toc.yml @@ -1,5 +1,5 @@ - name: Home - href: / + href: index.md - name: Docs href: docs/ - name: API