-
-
Notifications
You must be signed in to change notification settings - Fork 44
Open
Labels
Description
Brief Description
SourceDocs does not seems to support "caseless enums" or static members of structs
Steps to Reproduce
Create a swift file with this content:
/**
A description here 1
*/
public struct Constants {
/**
A description here 2
*/
public static let myContant = "constant"
}
or
/**
A description here 3
*/
public enum Constants {
/**
A description here 4
*/
public static let myContant = "constant"
}
- Step 2
- Step 3
Expected Outcome
For the "A description here 2" to appear in the corresponding generated documentation.
Actual Outcome
The static constant is not mentionedin the documentation file for Constants
Environment
- Operating System: macOS 11.1
- Xcode Version: 12.3
- SwiftDocs Version/SHA: SourceDocs v1.2.1
- Swift version: 5.0