Implemented (a first version of) the DocCMiddleware middleware in the library target.

This commit is contained in:
2025-02-25 01:55:49 +01:00
parent 54aa5c70c6
commit 19a54b25ae
6 changed files with 254 additions and 0 deletions
@@ -0,0 +1,16 @@
enum IndexPrefix: String, CaseIterable {
case documentation
case tutorials
}
// MARK: - Pathable
extension IndexPrefix: Pathable {
// MARK: Computed
var path: String {
.init(format: .Format.pathRoot, rawValue)
}
}