X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/9b0de8314d6297df506734844bb2b833ba7d022c..58e057254087f406ca4146da7031187487b0ddbc:/doc/Rakefile diff --git a/doc/Rakefile b/doc/Rakefile index 1390aa0e9c..676f2845c5 100644 --- a/doc/Rakefile +++ b/doc/Rakefile @@ -56,8 +56,10 @@ file "sdk/python/arvados/index.html" do |t| 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