X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/0b8f1f94be9f49e7a65f5ca84fe563918861be24..5913a5c085253fb4624411d65229e5b1467ea63a:/doc/Rakefile diff --git a/doc/Rakefile b/doc/Rakefile index 811ca67c2c..f68a96471d 100644 --- a/doc/Rakefile +++ b/doc/Rakefile @@ -1,4 +1,7 @@ #!/usr/bin/env rake +# Copyright (C) The Arvados Authors. All rights reserved. +# +# SPDX-License-Identifier: CC-BY-SA-3.0 require "rubygems" require "colorize" @@ -15,7 +18,8 @@ end file "sdk/python/arvados/index.html" do |t| `which epydoc` if $? == 0 - `epydoc --html --parse-only -o sdk/python/arvados ../sdk/python/arvados/` + STDERR.puts `epydoc --html --parse-only -o sdk/python/arvados ../sdk/python/arvados/ 2>&1` + raise if $? != 0 else puts "Warning: epydoc not found, Python documentation will not be generated".colorize(:light_red) end