Skip to content

Commit

Permalink
Merge pull request #5 from markbattistella/2024.03.26-cleanup
Browse files Browse the repository at this point in the history
2024-03-26 - Comment cleanup
  • Loading branch information
markbattistella authored Mar 25, 2024
2 parents ab2150d + f2c8fbd commit eb79c49
Show file tree
Hide file tree
Showing 14 changed files with 55 additions and 49 deletions.
37 changes: 13 additions & 24 deletions Documentation/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,41 +2,30 @@
<html lang="en">
<head>
<title>ZodiacKit: Apple Swift Package</title>

<meta charset="UTF-8">
<meta name="description" content="ZodiacKit is a Swift package that allows you to fetch Western and Chinese Zodiac Sign information based on a given date. It provides a simple, efficient, and easily integrable solution for applications that deal with astrological data.">
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">

<!-- theme: simple -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/docsify-themeable@0/dist/css/theme-simple-dark.css">
<link rel="stylesheet" href="style.min.css">

</head>

<body>

<div id="app"></div>

<script>
window.$docsify = {
name: 'ZodiacKit',
repo: 'https://github.com/markbattistella/ZodiacKit',
homepage: 'https://raw.githubusercontent.com/markbattistella/ZodiacKit/main/README.md',
auto2top: true,
notFoundPage: '404.md',
relativePath: false,
coverpage: false,
loadNavbar: false,
loadSidebar: false,
hideSidebar: true,
nativeEmoji: true,
themeColor: 'var(--mb-colour-purple)'
name: 'ZodiacKit',
repo: 'https://github.com/markbattistella/ZodiacKit',
homepage: 'https://raw.githubusercontent.com/markbattistella/ZodiacKit/main/README.md',
auto2top: true,
notFoundPage: '404.md',
relativePath: false,
coverpage: false,
loadNavbar: false,
loadSidebar: false,
hideSidebar: true,
nativeEmoji: true,
themeColor: 'var(--mb-colour-purple)'
}
</script>

<!-- docsify.js -->
<script src="https://cdn.jsdelivr.net/npm/docsify@latest"></script>


</body>
</html>
</html>
5 changes: 3 additions & 2 deletions Sources/ZodiacKit/Defaults/DefaultZodiacs.swift
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
//
// ZodiacKit
// Created by Mark Battistella
// Project: ZodiacKit
// Author: Mark Battistella
// Website: https://markbattistella.com
//

import Foundation
Expand Down
5 changes: 3 additions & 2 deletions Sources/ZodiacKit/Error/ZodiacError.swift
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
//
// ZodiacKit
// Created by Mark Battistella
// Project: ZodiacKit
// Author: Mark Battistella
// Website: https://markbattistella.com
//

import Foundation
Expand Down
5 changes: 3 additions & 2 deletions Sources/ZodiacKit/Helper/DateValidator.swift
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
//
// ZodiacKit
// Created by Mark Battistella
// Project: ZodiacKit
// Author: Mark Battistella
// Website: https://markbattistella.com
//

import Foundation
Expand Down
5 changes: 3 additions & 2 deletions Sources/ZodiacKit/Model/ChineseZodiacSign.swift
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
//
// ZodiacKit
// Created by Mark Battistella
// Project: ZodiacKit
// Author: Mark Battistella
// Website: https://markbattistella.com
//

import Foundation
Expand Down
5 changes: 3 additions & 2 deletions Sources/ZodiacKit/Model/WesternZodiac.swift
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
//
// ZodiacKit
// Created by Mark Battistella
// Project: ZodiacKit
// Author: Mark Battistella
// Website: https://markbattistella.com
//

import Foundation
Expand Down
5 changes: 3 additions & 2 deletions Sources/ZodiacKit/Model/WesternZodiacSign.swift
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
//
// ZodiacKit
// Created by Mark Battistella
// Project: ZodiacKit
// Author: Mark Battistella
// Website: https://markbattistella.com
//

#if canImport(UIKit)
Expand Down
5 changes: 3 additions & 2 deletions Sources/ZodiacKit/Protocol/Validator.swift
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
//
// ZodiacKit
// Created by Mark Battistella
// Project: ZodiacKit
// Author: Mark Battistella
// Website: https://markbattistella.com
//

import Foundation
Expand Down
7 changes: 6 additions & 1 deletion Sources/ZodiacKit/Protocol/ZodiacSign.swift
Original file line number Diff line number Diff line change
@@ -1,12 +1,17 @@
//
// Project:
// Project: ZodiacKit
// Author: Mark Battistella
// Website: https://markbattistella.com
//

import Foundation

/// A protocol to conform `WesternZodiacSign` and `ChineseZodiacSign`.
protocol ZodiacSign: CaseIterable, Codable, RawRepresentable where RawValue == String {

/// Requires a name
var name: String { get }

/// Requires an emoji
var emoji: String { get }
}
5 changes: 3 additions & 2 deletions Sources/ZodiacKit/Services/ZodiacService.swift
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
//
// ZodiacKit
// Created by Mark Battistella
// Project: ZodiacKit
// Author: Mark Battistella
// Website: https://markbattistella.com
//

import Foundation
Expand Down
5 changes: 3 additions & 2 deletions Tests/ZodiacKitTests/ChineseAttributes.swift
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
//
// ZodiacKit
// Created by Mark Battistella
// Project: ZodiacKit
// Author: Mark Battistella
// Website: https://markbattistella.com
//

import XCTest
Expand Down
5 changes: 3 additions & 2 deletions Tests/ZodiacKitTests/Dates.swift
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
//
// ZodiacKit
// Created by Mark Battistella
// Project: ZodiacKit
// Author: Mark Battistella
// Website: https://markbattistella.com
//

import XCTest
Expand Down
5 changes: 3 additions & 2 deletions Tests/ZodiacKitTests/Setup.swift
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
//
// ZodiacKit
// Created by Mark Battistella
// Project: ZodiacKit
// Author: Mark Battistella
// Website: https://markbattistella.com
//

import XCTest
Expand Down
5 changes: 3 additions & 2 deletions Tests/ZodiacKitTests/WesternAttributes.swift
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
//
// ZodiacKit
// Created by Mark Battistella
// Project: ZodiacKit
// Author: Mark Battistella
// Website: https://markbattistella.com
//

import XCTest
Expand Down

0 comments on commit eb79c49

Please sign in to comment.