From 9887cb57b2e7ac99301310957934765f3288fd21 Mon Sep 17 00:00:00 2001 From: Stephen Dolan Date: Wed, 19 Sep 2012 01:03:05 +0100 Subject: [PATCH] Add a rake task to compile docs into static html. --- docs/Rakefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/Rakefile b/docs/Rakefile index b4e1d6d1..62b0139e 100644 --- a/docs/Rakefile +++ b/docs/Rakefile @@ -52,3 +52,8 @@ task :serve do exit end end + +task :build do + Bonsai.root_dir = Dir.pwd + Bonsai::Exporter.publish! +end