projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch '20472-priority-update' refs #20472
[arvados.git]
/
doc
/
Rakefile
diff --git
a/doc/Rakefile
b/doc/Rakefile
index 1390aa0e9c0ca7dd9f3bf14772c037686db8ff3f..676f2845c5bb073d9ef3662a5571011f320e19d5 100644
(file)
--- a/
doc/Rakefile
+++ b/
doc/Rakefile
@@
-56,8
+56,10
@@
file "sdk/python/arvados/index.html" do |t|
end
`which pdoc`
if $? == 0
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
else
puts "Warning: pdoc3 not found, Python documentation will not be generated".colorize(:light_red)
end