Documented the IndexPrefix enumeration in the library target.
This commit is contained in:
@@ -1,5 +1,8 @@
|
||||
/// An enumeration that represents the folders where articles and tutorials data and assets will be stored.
|
||||
enum IndexPrefix: String, CaseIterable {
|
||||
/// A folder that contains all articles' assets and data generated is stored.
|
||||
case documentation
|
||||
/// A folder that contains all tutorials' assets and data generated is stored.
|
||||
case tutorials
|
||||
}
|
||||
|
||||
@@ -10,7 +13,7 @@ extension IndexPrefix: Pathable {
|
||||
// MARK: Computed
|
||||
|
||||
var path: String {
|
||||
.init(format: .Format.pathRoot, rawValue)
|
||||
.init(format: .Format.Path.root, rawValue)
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user