From 618620b9cc1e7991288a5aa3c0a4b6077e4537b0 Mon Sep 17 00:00:00 2001 From: Jay Herron Date: Fri, 20 Jun 2025 15:25:57 +0200 Subject: [PATCH 1/2] feat: Adds SPI badges --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index a65f078..df28483 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,8 @@ # Units 📏 +[![](https://img.shields.io/endpoint?url=https%3A%2F%2Fswiftpackageindex.com%2Fapi%2Fpackages%2FNeedleInAJayStack%2FUnits%2Fbadge%3Ftype%3Dplatforms)](https://swiftpackageindex.com/NeedleInAJayStack/Units) +[![](https://img.shields.io/endpoint?url=https%3A%2F%2Fswiftpackageindex.com%2Fapi%2Fpackages%2FNeedleInAJayStack%2FUnits%2Fbadge%3Ftype%3Dswift-versions)](https://swiftpackageindex.com/NeedleInAJayStack/Units) + Units is a Swift package to manipulate, compare, and convert between physical quantities. This package models measurements, which are a numerical value with a unit of measure. It has been designed so that users don't need to worry whether they are using a defined unit (like `Newton`) or a complex composite unit (like `kg*m/s^2`). Both should be easy to convert to and from different units, perform arithmetic operations, check dimensionality, or serialize to and from a string format. This approach allows us to easily handle any permutation of units. You want to convert `12 km³/hr/N` to `ft²*s/lb`? We've got you covered! From 233dd694f94bed623dedbd5824ab18206508f879 Mon Sep 17 00:00:00 2001 From: Jay Herron Date: Fri, 20 Jun 2025 15:26:02 +0200 Subject: [PATCH 2/2] feat: Adds SPI docs --- .spi.yaml | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .spi.yaml diff --git a/.spi.yaml b/.spi.yaml new file mode 100644 index 0000000..e724ba6 --- /dev/null +++ b/.spi.yaml @@ -0,0 +1,5 @@ +version: 1 +builder: + configs: + - documentation_targets: + - "Units"