-
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
Support mixed Objective-C and Swift projects #447
Comments
try it with
Also, you shouldn't need --min-acl as that is for swift only I believe |
But it didn't work. Still parsing my Swift files only. I have Swift and Objective-C in my project, so I need it. |
Sorry @FelixSFD, right now jazzy just documents either Objective-C or Swift projects. Generating documentation for Objective-C and Swift in the same project hasn't been added yet. To my surprise, we didn't already have a ticket tracking that, so we're now using this one to track adding mixed documentation support. |
As a workaround, is it possible to run two different commands and create separate documentation for iOS and swift? the command I'm running now documents the Swift code only even though i'm passing the --objc flag and I can't get it to parse the objc files |
Yes, you could combine the SourceKitten doc output JSON for both Objective-C and Swift versions of your documentation using the |
Any update on this? It's been almost 8 - 9 months on it now. |
Nothing new to share, I don't think anyone's actively working on this. Would you like to contribute to this @ronak2121? |
still no |
Gonna take a guess here that there's no update yet @jpsim ? If I were interested in contributing, where is the best place to start with this? |
There are quite a few things to do to support mixing ObjC and Swift docs in the same website.
I would start with part 2, generating the sourcekitten output manually and passing it in with -s. This comes in to |
Fixed in master via #1113. |
Im running jazzy (0.5.0) with the following command, but only my Swift-files are parsed. All Objective-C headers are ignored.
What am I doing wrong?
The text was updated successfully, but these errors were encountered: