Skip to content

Commit be27d35

Browse files
committed
Rely on specific .yardopts for each project
For example rspec-rails have a specific --exclude arguments for generators template. With the previous arguments .yardopts was not used
1 parent f141ea6 commit be27d35

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Rakefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ task :update_docs, [:version, :branch, :website_path] do |t, args|
6666
each_project :except => UnDocumentedProjects do |project|
6767
cmd = "bundle install && \
6868
RUBYOPT='-I#{args[:website_path]}/lib' bundle exec yard \
69-
--yardopts ../.yardopts \
69+
--yardopts .yardopts \
7070
--plugin rspec-docs-template \
7171
--output-dir #{args[:website_path]}/source/documentation/#{args[:version]}/#{project}/"
7272
puts cmd

0 commit comments

Comments
 (0)