X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/f4ca9ad94a6bb006d1f3c7ba207837f1736d1247..32c2f3d808e0d4938f6a17b778c38f6d1ecd2f82:/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