-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Generate API doc #3
Comments
jazzy's had some major updates, so this can be looked at again. |
Completed. Damn API doc can be seen here on the GitHub pages branch. It has issues (showing private entities, will file bug) as jazzy is still early in development, but it's nice nonetheless! :) Can add a copy to master branch in the future. |
For reference
|
Both issues addressed as of jazzy v0.0.17. Updated doc pushed. |
Next is tuple returns, they don't render correctly. Not sure if this is because there being documented incorrectly in source, or if it's something on jazzy's end. Xcode seems to handle them fine. |
How should a tuple return be documented? Normally it’s a single /**
...
:returns: valid True if the key is found, false otherwise
:returns: IOReturn IOKit return code
:returns: kSMC SMC return code
*/
public func isKeyValid(key: String) -> (valid: Bool, IOReturn: kern_return_t, kSMC: UInt8) {
... |
Also, for reference, could use this as well in the future - https://github.com/SwiftDocOrg/swiftdoc-parser |
Generate an API doc (like javadoc).
Swift support for this is coming. See:
The text was updated successfully, but these errors were encountered: