X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/b27c4cbe64a1266f406572ff04678e048c966584..6790e4990fa54d81decdd555beee337144d1fab1:/doc/Rakefile diff --git a/doc/Rakefile b/doc/Rakefile index 82028ed0d8..f7050dc41f 100644 --- a/doc/Rakefile +++ b/doc/Rakefile @@ -32,20 +32,20 @@ file ["install/new_cluster_checklist_Azure.xlsx", "install/new_cluster_checklist end file "sdk/python/arvados/index.html" do |t| - if File.exists? "no-sdk" + if ENV['NO_SDK'] || File.exists?("no-sdk") next end - `which epydoc` + `which pdoc` if $? == 0 - STDERR.puts `epydoc --html --parse-only -o sdk/python/arvados ../sdk/python/arvados/ 2>&1` + STDERR.puts `pdoc --html -o sdk/python ../sdk/python/arvados/ 2>&1` raise if $? != 0 else - puts "Warning: epydoc not found, Python documentation will not be generated".colorize(:light_red) + puts "Warning: pdoc3 not found, Python documentation will not be generated".colorize(:light_red) end end file "sdk/R/arvados/index.html" do |t| - if File.exists? "no-sdk" + if ENV['NO_SDK'] || File.exists?("no-sdk") next end `which R` @@ -112,7 +112,7 @@ EOF end file "sdk/java-v2/javadoc/index.html" do |t| - if File.exists? "no-sdk" + if ENV['NO_SDK'] || File.exists?("no-sdk") next end `which java`