Skip to content
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 @_documentation(visibility:) attribute #1354

Merged
merged 4 commits into from
Aug 7, 2023
Merged

Conversation

johnfairh
Copy link
Collaborator

@johnfairh johnfairh commented Jun 9, 2023

Although @_documentation was added in Swift 5.8, it was broken in SourceKit's printer until 5.9

Will add a test for this when there's a 5.9 Xcode in CI.

e: It turns out that unfortunately the semantics of this are baked into the swift symbolgraph code and the actual attribute itself is entirely omitted from the symbolgraph. This isn't compatible with how jazzy wants to drive the thing. Perhaps look again at that in future, but the real point of this PR is to let users continue to use the non-symbolgraph backend while transitioning to DocC.

@johnfairh johnfairh merged commit 4c0ee5d into master Aug 7, 2023
4 checks passed
@johnfairh johnfairh deleted the jf-doc-attr branch August 7, 2023 14:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant