-
Notifications
You must be signed in to change notification settings - Fork 414
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
Some special list items (e.g. SeeAlso) get stripped #282
Comments
I believe SourceKit properly parses these (just like Thanks for reporting. |
Per your comment, I took a look at the SourceKitten output for Parameter (which works) and SeeAlso (which doesn't). Here’s a parameter:
…and the Sourcekitten output:
The parameter doc appears in three different places:
Compare to a SeeAlso:
…and its Sourcekitten output:
By contrast, the SeeAlso content appears in only two places:
There is no equivalent to Looking at this output, I can't help but wonder whether it wouldn’t be better to use |
That certainly would make jazzy a lot simpler, but this was avoided in the past because SourceKit's markdown rendering was pretty horrible. But I have a feeling it's gotten much better in recent Xcode 7 betas. |
On casual inspection, it looks pretty good in XC7b5. Would you be interested in seeing a PR for a rough draft of this? |
Absolutely! |
FYI, haven't forgotten about sending a PR draft of a key.doc.full_as_xml approach. Just waiting for the swift-2.0 merge to be completed and my other PRs to get done, so I don't go into a local merge hell. |
Done in #323. |
The following gets stripped from a doc comment:
It’s due to 34796f3, which seems to be intentionally stripping these items…? Some of them (e.g. Parameter) apparently get handled elsewhere, but most don’t. They just disappear.
The text was updated successfully, but these errors were encountered: