projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch '19821-collection-docstrings'
[arvados.git]
/
doc
/
Rakefile
diff --git
a/doc/Rakefile
b/doc/Rakefile
index c9322bb6ae9340d1a71561338747796e2615762d..13e87167b67726c8d21ce798f19a04110ce1c4b8 100644
(file)
--- a/
doc/Rakefile
+++ b/
doc/Rakefile
@@
-54,11
+54,13
@@
file "sdk/python/arvados.html" do |t|
if ENV['NO_SDK'] || File.exist?("no-sdk")
next
end
if ENV['NO_SDK'] || File.exist?("no-sdk")
next
end
+ # pysdk_pdoc.py is a wrapper around the pdoc CLI. `which pdoc` is an easy
+ # and good-enough test to check whether it's installed at all.
`which pdoc`
if $? == 0
raise unless system("python3", "setup.py", "build",
chdir: "../sdk/python", out: :err)
`which pdoc`
if $? == 0
raise unless system("python3", "setup.py", "build",
chdir: "../sdk/python", out: :err)
- raise unless system("p
doc", "-o", "sdk/python", "../sdk/python/build/lib/arvados/
",
+ raise unless system("p
ython3", "pysdk_pdoc.py
",
out: :err)
else
puts "Warning: pdoc not found, Python documentation will not be generated".colorize(:light_red)
out: :err)
else
puts "Warning: pdoc not found, Python documentation will not be generated".colorize(:light_red)