Implemented the "handle(_: context: next: )" function for the DocCMiddleware type in the library target.
This commit is contained in:
@@ -16,6 +16,8 @@ extension String {
|
||||
|
||||
/// A namespace that defines sample values.
|
||||
enum Sample {
|
||||
/// A URI path to use as a documentation root sample.
|
||||
static let uriDocument = uriRoot + "/SomeDocument"
|
||||
/// A URI path to use as a file sample.
|
||||
static let uriFile = uriFolder + uriResource
|
||||
/// A URI path to use as a folder sample.
|
||||
@@ -24,5 +26,7 @@ extension String {
|
||||
static let uriRedirection = "/some/redirect/path"
|
||||
/// A URI path to use as a resource sample.
|
||||
static let uriResource = "/some/path/to/resource"
|
||||
/// A URI path to use as a root sample.
|
||||
static let uriRoot = "/some/root/path"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user