17 lines
259 B
Swift
17 lines
259 B
Swift
|
enum IndexPrefix: String, CaseIterable {
|
||
|
case documentation
|
||
|
case tutorials
|
||
|
}
|
||
|
|
||
|
// MARK: - Pathable
|
||
|
|
||
|
extension IndexPrefix: Pathable {
|
||
|
|
||
|
// MARK: Computed
|
||
|
|
||
|
var path: String {
|
||
|
.init(format: .Format.pathRoot, rawValue)
|
||
|
}
|
||
|
|
||
|
}
|