-
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
Autolink declarations within declarations and fix self-linking #588
Conversation
…uped and ungrouped docs. Necessary for autolink to be able to correctly find enums.
Version 0.6.1
…enames and style/rubocop fixes.
…uped and ungrouped docs. Necessary for autolink to be able to correctly find enums.
…enames and style/rubocop fixes.
…s equal, to prevent linking to the same page in certain cases.
…autolinking to different declarations on the same page
* master: use module name for dash keyword release 0.6.3 Use SourceKitten's toolchain resolution if no Swift version is specified update integrate specs [ci skip] update integration specs don't document clang-unexposed Objective-C declarations allow danger to fail on CI update SourceKitten to 0.13.0
!link_target.type.extension? && | ||
link_target.url && | ||
link_target.url != doc.url.split('#').first && # Don't link to parent | ||
link_target.url != doc.url # Do not link to self |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Arrrgh, can we have this be either both "Don't" or "Do not" for consistency (my OCD kicking in)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lol, this is why everyone has love/hate relationships with code linters! I'll change the other one to "Don't" too.
This is all @esad's work, I just fixed a few merge conflicts with
master
and rebuilt the integration specs.Integration specs diff: realm/jazzy-integration-specs@3159385
@esad I suspect that this will hurt performance when generating the PSPDFKit docs since your API is pretty big and that the bulk of the time spent before this was in auto-linking IIRC. It might be worth focusing on performance improvements after this is merged.