Skip to content

Commit 8dd914a

Browse files
committed
doc formatting improvements
1 parent 1f15a38 commit 8dd914a

18 files changed

Lines changed: 41 additions & 27 deletions

File tree

README.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ Using Swift Package Manager, add the following to your packages.swift
99
`.package(url: "https://github.com/PerfectAccelerators/ApplicationConfiguration.git", .branch("master"))`
1010

1111
Run `swift package update` and if you use Xcode run `swift package generate-xcodeproj`
12+
1213
## Usage
1314
Create a file that includes the configuration for your application, for instance:
1415

@@ -58,5 +59,11 @@ Then modify your main.swift:
5859
fatalError("\(error)")
5960
}
6061

62+
## Documentation
63+
[Jazzy][1] generated documentation can be found here:
64+
[https://perfectaccelerators.github.io/ApplicationConfiguration/ ]()
65+
6166
## Contributing
62-
To contribute a feature or idea to **ApplicationConfiguration**, fork the project, make your changes and submit a pull request :)
67+
To contribute a feature or idea to **ApplicationConfiguration**, fork the project, make your changes and submit a pull request :)
68+
69+
[1]: https://github.com/realm/jazzy

Sources/ApplicationConfiguration/AppFilters.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import Foundation
33
import PerfectHTTP
44

5-
/// This struct represents request and response application filters
5+
/// This struct represents request and response application filters.
66
/// You can create AppFilters and use it in Application initialization
77
public struct AppFilters {
88
/// request filters

Sources/ApplicationConfiguration/AppProtocol.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ import PerfectHTTPServer
44
import PerfectHTTP
55

66
/**
7-
A protocol to define Applications
8-
It is already implemented by Application
7+
A protocol to define Applications.
8+
It is already implemented by Application.
99
- see also: Application
1010
*/
1111
public protocol AppProtocol {

Sources/ApplicationConfiguration/Application.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ import PerfectHTTP
66

77
/**
88
This struct represnts an Application
9-
with its configuration, routes and filters
9+
with its configuration, routes and filters.
1010
You could use this application or create another
11-
Application object that complies with AppProtocol
11+
Application object that complies with AppProtocol.
1212
- see also: AppProtocol
1313
*/
1414
public struct Application: AppProtocol {

docs/Protocols.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,8 @@ <h1>Protocols</h1>
101101
<section class="section">
102102
<div class="pointer"></div>
103103
<div class="abstract">
104-
<p>A protocol to define Applications
105-
It is already implemented by Application</p>
104+
<p>A protocol to define Applications.
105+
It is already implemented by Application.</p>
106106
<div class="aside aside-see">
107107
<p class="aside-title">See</p>
108108
see also: Application

docs/Protocols/AppProtocol.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,8 @@ <h1>AppProtocol</h1>
8888

8989
</div>
9090
</div>
91-
<p>A protocol to define Applications
92-
It is already implemented by Application</p>
91+
<p>A protocol to define Applications.
92+
It is already implemented by Application.</p>
9393
<div class="aside aside-see">
9494
<p class="aside-title">See</p>
9595
see also: Application

docs/Structs.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ <h1>Structures</h1>
101101
<section class="section">
102102
<div class="pointer"></div>
103103
<div class="abstract">
104-
<p>This struct represents request and response application filters
104+
<p>This struct represents request and response application filters.
105105
You can create AppFilters and use it in Application initialization</p>
106106

107107
</div>
@@ -134,9 +134,9 @@ <h4>Declaration</h4>
134134
<div class="pointer"></div>
135135
<div class="abstract">
136136
<p>This struct represnts an Application
137-
with its configuration, routes and filters
137+
with its configuration, routes and filters.
138138
You could use this application or create another
139-
Application object that complies with AppProtocol</p>
139+
Application object that complies with AppProtocol.</p>
140140
<div class="aside aside-see">
141141
<p class="aside-title">See</p>
142142
see also: AppProtocol

docs/Structs/Application.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,9 +89,9 @@ <h1>Application</h1>
8989
</div>
9090
</div>
9191
<p>This struct represnts an Application
92-
with its configuration, routes and filters
92+
with its configuration, routes and filters.
9393
You could use this application or create another
94-
Application object that complies with AppProtocol</p>
94+
Application object that complies with AppProtocol.</p>
9595
<div class="aside aside-see">
9696
<p class="aside-title">See</p>
9797
see also: AppProtocol

docs/_config.yml

Lines changed: 0 additions & 1 deletion
This file was deleted.

docs/docsets/.docset/Contents/Resources/Documents/Protocols.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,8 @@ <h1>Protocols</h1>
101101
<section class="section">
102102
<div class="pointer"></div>
103103
<div class="abstract">
104-
<p>A protocol to define Applications
105-
It is already implemented by Application</p>
104+
<p>A protocol to define Applications.
105+
It is already implemented by Application.</p>
106106
<div class="aside aside-see">
107107
<p class="aside-title">See</p>
108108
see also: Application

0 commit comments

Comments
 (0)