Compare commits

...

2 Commits

Author SHA1 Message Date
1d53af4b46 added an comment
All checks were successful
Build NuGet / build (push) Successful in 1m23s
2026-04-13 23:22:55 -04:00
94b37d02d5 got back to no document for now 2026-04-09 00:06:48 -04:00
2 changed files with 7 additions and 33 deletions

View File

@@ -1,33 +0,0 @@
name: Generate Docs
on:
push:
branches: [ master ]
jobs:
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-dotnet@v4
with:
dotnet-version: 10.0.x
- name: Install DocFX
run: dotnet tool install -g docfx
- name: Build Project
run: dotnet build -c Release
- name: Generate Docs
run: |
docfx init -q
docfx docfx.json
- name: Upload Docs
uses: actions/upload-artifact@v4
with:
name: docs
path: _site

View File

@@ -4,6 +4,13 @@ namespace SJK.Math;
public static class SJKMath
{
/// <summary>
/// Gets the max number in a array of values.
/// </summary>
/// <typeparam name="T"></typeparam>
/// <param name="values"></param>
/// <returns></returns>
/// <exception cref="ArgumentException"></exception>
public static T Max<T>(params T[] values) where T : INumber<T>
{
if (values.Length == 0)