Skip to content

Use .yardopts from each repo when generating documentation #237

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
Feb 27, 2020

Conversation

benoittgt
Copy link
Member

Related to : rspec/rspec.github.io#131

Each documented RSpec gem have .yardopts. The previous was code was using same ../.yardopts but we want to use specific yardopts from each repo.

rspec-rails have specific --exclude rules for example.

rspec-dev/ $ find . -iname '.yardopts' -maxdepth 3
./repos/rspec-mocks/.yardopts
./repos/rspec-expectations/.yardopts
./repos/.yardopts
./repos/rspec-core/.yardopts
./repos/rspec-rails/.yardopts

For example rspec-rails have a specific --exclude arguments for
generators template. With the previous arguments .yardopts was not used
Copy link
Member

@JonRowe JonRowe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you're happy I'm happy.

Copy link
Member

@pirj pirj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! And more readable as well.

@benoittgt
Copy link
Member Author

If you're happy I'm happy.

I am ! :)

@benoittgt benoittgt merged commit 1f550d1 into master Feb 27, 2020
@benoittgt benoittgt deleted the bump-yard branch February 27, 2020 20:02
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.

3 participants