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

Drop references to inaccessible types #776

Open
reitzig opened this issue Apr 24, 2017 · 2 comments
Open

Drop references to inaccessible types #776

reitzig opened this issue Apr 24, 2017 · 2 comments

Comments

@reitzig
Copy link

reitzig commented Apr 24, 2017

Say I have a setup similar to this:

internal protocol Foo {}
public  protocol Bar

public struct FooBar: Foo, Bar {}

I do not want the documentation of FooBar to reference Foo unless --min-acl is set accordingly. Currently, Jazzy just copies (?) the declaration line (but does not link Foo since no documentation is created for that protocol).

@reitzig
Copy link
Author

reitzig commented Apr 26, 2017

Related: #768, #777

@reitzig
Copy link
Author

reitzig commented May 10, 2017

Some care has to be taken:

public  protocol Bar {}
internal protocol Foo: Bar {}

public struct FooBar: Foo {}

We want to see struct FooBar: Bar in the documentation.

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

No branches or pull requests

1 participant