Implemented (a first version of) the DocCMiddleware middleware in the library target.
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
protocol Pathable {
|
||||
|
||||
// MARK: Properties
|
||||
|
||||
var path: String { get }
|
||||
|
||||
}
|
||||
|
||||
// MARK: - String+Formats
|
||||
|
||||
extension String {
|
||||
enum Format {
|
||||
static let pathDocs = "/docs/%@"
|
||||
static let pathRoot = "/%@"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user