Skip to content

Label Rspec as @private for docs, update other modules visibility #1479

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

Merged
merged 2 commits into from
Oct 25, 2015

Conversation

JonRowe
Copy link
Member

@JonRowe JonRowe commented Oct 20, 2015

This should remove the broken documentation links, which it does but it also labels everything under RSpec as private :/ This is for rspec/rspec.github.io#50...
screen shot 2015-10-20 at 21 52 04
screen shot 2015-10-20 at 21 52 10

@JonRowe
Copy link
Member Author

JonRowe commented Oct 20, 2015

See lsegal/yard#906

@JonRowe JonRowe force-pushed the label_Rspec_as_private branch from 39cf201 to 2620823 Compare October 25, 2015 22:13
@JonRowe
Copy link
Member Author

JonRowe commented Oct 25, 2015

Ok, so it turns out YARD wasn't responsible for this entirely, our modules are actually mislabeled on master so we can just hide lowercase Rspec and it's ok, I went through all the docs and updated the visibility correctly. Needs a review @myronmarston @soulcutter @cupakromer

@JonRowe JonRowe changed the title [WIP] Label Rspec as @private for docs Label Rspec as @private for docs, update other modules visibility Oct 25, 2015
@myronmarston
Copy link
Member

If this fixes the doc issue, LGTM.

@JonRowe
Copy link
Member Author

JonRowe commented Oct 25, 2015

@myronmarston it does for me with yard --server

@myronmarston
Copy link
Member

@myronmarston it does for me with yard --server

Have you tried generating the docs for rspec.info, though? Would be nice to see it work for that since that's a different process.

A lot of these modules are for public use, but were being mislabled as
private for some reason, this prevents that by explicity labelling those
with normal comments as @api public, and thus their method are restored
too.
@JonRowe JonRowe force-pushed the label_Rspec_as_private branch from 2620823 to 4a2a078 Compare October 25, 2015 22:58
@JonRowe
Copy link
Member Author

JonRowe commented Oct 25, 2015

Am I ok to merge this? I'd like to cherry pick it back to 3-3 so I can test doc regeneration

@myronmarston
Copy link
Member

Merge away.

JonRowe added a commit that referenced this pull request Oct 25, 2015
Label Rspec as @Private for docs, update other modules visibility
@JonRowe JonRowe merged commit 98ce767 into master Oct 25, 2015
JonRowe added a commit that referenced this pull request Oct 25, 2015
Label Rspec as @Private for docs, update other modules visibility
@JonRowe JonRowe deleted the label_Rspec_as_private branch October 26, 2015 23:08
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.

2 participants