projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
16950: make specifying of the output directory mandatory (remove
[arvados.git]
/
doc
/
Rakefile
diff --git
a/doc/Rakefile
b/doc/Rakefile
index 82028ed0d848c75123d367ae8ca3e80b1fb5605e..f7050dc41f1c1b2e717bb9b1c808c20bebe4f198 100644
(file)
--- 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|
end
file "sdk/python/arvados/index.html" do |t|
- if
File.exists? "no-sdk"
+ if
ENV['NO_SDK'] || File.exists?("no-sdk")
next
end
next
end
- `which
epy
doc`
+ `which
p
doc`
if $? == 0
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
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|
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`
next
end
`which R`
@@
-112,7
+112,7
@@
EOF
end
file "sdk/java-v2/javadoc/index.html" do |t|
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`
next
end
`which java`