projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Doc: Update "Accessing Arvados Workbench" for Workbench 2
[arvados.git]
/
doc
/
Rakefile
diff --git
a/doc/Rakefile
b/doc/Rakefile
index 1390aa0e9c0ca7dd9f3bf14772c037686db8ff3f..89454940c700f19c35284454c44450a631c40a49 100644
(file)
--- a/
doc/Rakefile
+++ b/
doc/Rakefile
@@
-51,20
+51,22
@@
file ["install/new_cluster_checklist_Azure.xlsx", "install/new_cluster_checklist
end
file "sdk/python/arvados/index.html" do |t|
end
file "sdk/python/arvados/index.html" do |t|
- if ENV['NO_SDK'] || File.exist
s
?("no-sdk")
+ if ENV['NO_SDK'] || File.exist?("no-sdk")
next
end
`which pdoc`
if $? == 0
next
end
`which pdoc`
if $? == 0
- STDERR.puts `pdoc --html -o sdk/python ../sdk/python/arvados/ 2>&1`
- raise if $? != 0
+ raise unless system("python3", "setup.py", "build",
+ chdir: "../sdk/python", out: :err)
+ raise unless system("pdoc", "--html", "-o", "sdk/python", "../sdk/python/build/lib/arvados/",
+ out: :err)
else
puts "Warning: pdoc3 not found, Python documentation will not be generated".colorize(:light_red)
end
end
file "sdk/R/arvados/index.html" do |t|
else
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 ENV['NO_SDK'] || File.exist
s
?("no-sdk")
+ if ENV['NO_SDK'] || File.exist?("no-sdk")
next
end
`which R`
next
end
`which R`
@@
-130,7
+132,7
@@
EOF
end
file "sdk/java-v2/javadoc/index.html" do |t|
end
file "sdk/java-v2/javadoc/index.html" do |t|
- if ENV['NO_SDK'] || File.exist
s
?("no-sdk")
+ if ENV['NO_SDK'] || File.exist?("no-sdk")
next
end
`which java`
next
end
`which java`