-
Notifications
You must be signed in to change notification settings - Fork 413
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
Jazzy output what's missing #497
Comments
What's undocumented is written to |
I found it: public extension UIDevice { Jazzy wants me to document UIDevice! well, no... that is showing up as "undocumented" ... when I click on the titles of the sections... but thanks to your amazing fast feedback, I was able to look at the output file and see: cat docs/undocumented.txt so now I'll go document those and see if I can get 100% (without having to document UIDevice) which is showing up as "undocumented" |
lol, no. Jazzy wants you to document your extension to UIDevice! |
I thought I had... I have documentation on everything in the extension... I'll verify again now just to be sure. More than likely I am missing something, somewhere... just have to find it. :-/ |
Ok, so I needed to add documentation to the "public struct AnalyticsService" as well as "public statis let Flurry" line. That gave me 100% coverage... and UIDevice is still coming up as "undocumented" ... which I guess I can live with. |
Thank you for the amazingly quick responses! I personally consider this question closed/resolved with your first response about the output file. Perhaps this could be called out in the documentation, as I did not notice the file in the docs directory and it's really helpful. |
@ScottYelich could you please try again with jazzy built from source on the |
I'm building this branch now to test: Scotts-MacBook-Pro-2 [151]> xx --version jazzy version: 0.5.0 Scotts-MacBook-Pro-2 [152]> /NOBACKUP/jazzy/bin/jazzy --clean Running xcodebuild Parsing DeviceInfo.swift (1/4) Parsing Device.swift (2/4) Parsing GlobalConstants.swift (3/4) Parsing Analytics.swift (4/4) building site jam out ♪♫ to your fresh new docs in Scotts-MacBook-Pro-2 [153]> cd /NOBACKUP/jazzy/ Scotts-MacBook-Pro-2 [154]> git branch
I still get 100% coverage -- but UIDevice is "undocumented" ... am I On Fri, Mar 18, 2016 at 2:04 PM, JP Simard notifications@github.com wrote:
|
ok, and what does your /// My super awesome UIDevice extension
extension UIDevice {
// Get the model identifier for the current UIDevice...
public var modelIdentifier: String {
return "oh hai!"
}
} |
|
I get the same result "undocumented" if I have the /// before the public extension line.... or if there is no /// prior to that line. |
That's a bug. I think I've fixed it in SourceKitten here jpsim/SourceKitten#188 |
We're actually tracking that bug as #454. Since this is the only thing we're now discussing in this ticket, I'll close this one as a duplicate. Thanks for your help! |
Yes, #454 looks like the same issue. I'll test with the updates ASAP. Thank you very much for your quick attention to this. I was not expecting that. |
Maybe this can be done already, but searching the docs (and jazzy -h), google and issues... I can't seem to find out how.
Jazzy has this as part of the HTML results: Docs (95% documented)
But I have no idea what's missing in the 5%. I've clicked on everything that I can see in the HTML and it all seems to have documentation... and it's tedious to have to click on everything looking for what's missing.
Is there any way to do this now?
The text was updated successfully, but these errors were encountered: