projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
9587: test /trash page
[arvados.git]
/
doc
/
Rakefile
diff --git
a/doc/Rakefile
b/doc/Rakefile
index 6d7f4e115a22e9756cbe437fdec23864a81e2181..ab5a2ea5e2b12fba9bfb7bcf319248ecdf0d56fe 100644
(file)
--- a/
doc/Rakefile
+++ b/
doc/Rakefile
@@
-15,7
+15,8
@@
end
file "sdk/python/arvados/index.html" do |t|
`which epydoc`
if $? == 0
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
else
puts "Warning: epydoc not found, Python documentation will not be generated".colorize(:light_red)
end
@@
-25,7
+26,7
@@
task :linkchecker => [ :generate ] do
Dir.chdir(".site") do
`which linkchecker`
if $? == 0
Dir.chdir(".site") do
`which linkchecker`
if $? == 0
- system "linkchecker index.html --ignore-url='!file://'"
+ system "linkchecker index.html --ignore-url='!file://'"
or exit $?.exitstatus
else
puts "Warning: linkchecker not found, skipping run".colorize(:light_red)
end
else
puts "Warning: linkchecker not found, skipping run".colorize(:light_red)
end