-
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 documenting "substructures" such as Extensions. #508
Conversation
This should resolve issue #502.
Thanks for the PR @freak4pc! Could you please rebuild the integration specs and make a PR towards realm/jazzy-integration-specs against the jp-sourcekitten-0.11.0 branch which is the most up-to-date branch. That'll make reviewing this easier as we'll be able to see exactly how this affects the build output. Thanks again! |
Just want to make sure since I'm not completely up to my Ruby game and dont really know how you guys work :)
|
Done, I think :) Let me know if that suffices @jpsim |
Something went wrong. Try the following:
|
@freak4pc ok I just fixed the integration specs, upgrading all of them to their respective releases that use Swift 2.2. The integration specs on realm/jazzy-integration-specs should be up to date on |
@jpsim It's all good, absolutely no worries! I love this project so It's my honour contributing what I can to it. I just pulled upstream, rebased, rebuilt the integration specs and will now try to send a PR of the integration specs again. I hope it's ok this time, if not - we'll move from there. Thanks for your assistance ! |
@jpsim Alright, re built the integration specs and pushed a PR :) let me know if there's anything needed on my side. Thanks ! |
For starters, you'll need to update this repo to point to the updated branch, that way CI will pass (hopefully). |
Based on the changes in realm/jazzy-integration-specs#14, this seems right to me! So please update this repo to point to |
we're doing something incompatible with 0.8.1 and I haven't found out exactly what that is just yet.
@jpsim Uhm I think I messed something up :) |
You're right that your rebase didn't quite work. I did it myself here (master...jp-freak4pc-substructure-extensions) and refactored the changes into a separate method, appeasing rubocop and rebuilding the integration specs along the way. You can see the integration specs changes here: realm/jazzy-integration-specs@master...jp-freak4pc-substructure-extensions That diff highlights some issues with the implementation, specifically that the undocumented parent declarations are no longer being marked as undocumented. This will need to be fixed. Feel free to continue your work on top of my |
I don't know what's happening there with |
So, in the master version It seems the code that would consider if a specific method is documented or not might be mis-firing. I'm not sure exactly where it but this seems unrelated to the substructure fix, except for the fact it revealed it. Interesting though ... |
Ok. How do you think we should handle that @freak4pc? |
I need to learn a bit more about the code structure since I already did this "in-point" fix I debugged for the substructures. It's kind of holiday season here so would be a bit tricky making time for this but I plan on tackling it in the following days hopefully :) |
Haven't had any spare time to deal with this one (Wedding plans, ugh!) . |
Hey @freak4pc! Thanks for the response. No worries. If it's your wedding, congrats! _If it's not, that'll be awkward haha 💃 _. We can wait. Looking forward to seeing progress on this in a few weeks. Cheers! |
Indeed it is. Thanks @istx25 . |
Closing because this was finished off in #825. |
This should resolve issue #502 where some documents didn't get recognised as being documented.
This is due to the fact some more complex parts of code/documentation don't have a
key.doc.full_as_xml
property so they're being discarded as "undocumented", even though some of these have akey.substructure
property which provides additional documentation information that should be considered.