Fix repeated doc builds
This commit is contained in:
@@ -13,11 +13,6 @@ task :builddocs, [:options] do |t, args|
|
||||
path = "docs"
|
||||
end
|
||||
|
||||
Dir.chdir(path) do
|
||||
sh('make html')
|
||||
end
|
||||
path = "docs"
|
||||
|
||||
Dir.chdir(path) do
|
||||
sh('make html')
|
||||
end
|
||||
|
||||
@@ -44,8 +44,6 @@ task :test_docs do
|
||||
(You shouldn't fix rst warnings and errors for this to pass, just get rid of exceptions.)"
|
||||
puts (test_message % ["rake doc"]).colorize( :light_green )
|
||||
test_sh('rake builddocs')
|
||||
puts (test_message % ["rake doc[pub]"]).colorize( :light_green )
|
||||
test_sh('rake builddocs[pub]')
|
||||
end
|
||||
|
||||
task :clean_test_files do
|
||||
@@ -161,4 +159,4 @@ task :coverage => :report_dirs do
|
||||
if not found_coverage_info
|
||||
puts "No coverage info found. Run `rake test` before running `rake coverage`."
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user