7 vars = ['baseurl', 'arvados_api_host', 'arvados_workbench_host']
10 website.config.h[v] = ENV[v]
15 task :linkchecker => [:realclean, :generate]
21 ignore_urls = ['', 'javascript', 'mailto',
22 'oftc.net', 'putty.org','google.com', 'fsf.org',
23 'arvadosapi.com', 'arvados.org', 'sourceforge.net',
24 'chiark.greenend.org.uk', 'github.io' ]
25 system "linkchecker index.html " + ignore_urls.join(' --ignore-url=')
27 puts "Warning: linkchecker not found, skipping".colorize(:light_red)
31 require "zenweb/tasks"
32 load "zenweb-textile.rb"
33 load "zenweb-liquid.rb"
35 file "sdk/python/arvados/index.html" do |t|
38 `epydoc --html -o sdk/python/arvados arvados`
39 Dir["sdk/python/arvados/*"].each do |f|
41 $website.pages[f] = Zenweb::Page.new($website, f)
44 puts "Warning: epydoc not found, Python documentation will not be generated".colorize(:light_red)
48 task :extra_wirings do
49 $website.pages["sdk/python/python.html.textile.liquid"].depends_on("sdk/python/arvados/index.html")