+load "zenweb-liquid.rb"
+
+file "sdk/python/arvados/index.html" do |t|
+ `which epydoc`
+ if $? == 0
+ `epydoc --html -o sdk/python/arvados arvados`
+ Dir["sdk/python/arvados/*"].each do |f|
+ puts f
+ $website.pages[f] = Zenweb::Page.new($website, f)
+ end
+ else
+ puts "Warning: epydoc not found, Python documentation will not be generated".colorize(:light_red)
+ end
+end