X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/153d327346a213d0d48430af835b871ef4283da5..6f1ecb3df81614ff2007088e55ca4ce51e6ae90b:/doc/Rakefile?ds=sidebyside diff --git a/doc/Rakefile b/doc/Rakefile index f2f3700c44..d8af62f5e3 100644 --- a/doc/Rakefile +++ b/doc/Rakefile @@ -3,7 +3,16 @@ require "rubygems" require "colorize" -Rake.application.rake_require "zenweb/tasks" +task :generate do + vars = ['baseurl', 'arvados_api_host', 'arvados_workbench_host'] + vars.each do |v| + if ENV[v] + website.config.h[v] = ENV[v] + end + end +end + +require "zenweb/tasks" load "zenweb-textile.rb" load "zenweb-liquid.rb"