aboutsummaryrefslogtreecommitdiffstats
path: root/lib/tasks
diff options
context:
space:
mode:
authorAlban Peignier2012-03-16 12:44:01 +0100
committerAlban Peignier2012-03-16 12:44:01 +0100
commit153c6f7022a608c6780b265d3b91c95829b192e4 (patch)
tree87f9c986dbb186aea7d6d9f2ccefa13a3a19d9e1 /lib/tasks
parent6792aa2c5f368a6147bf930391f0458e362e6160 (diff)
downloadchouette-core-153c6f7022a608c6780b265d3b91c95829b192e4.tar.bz2
Create jekyll online help
Diffstat (limited to 'lib/tasks')
-rw-r--r--lib/tasks/jekyll.rake11
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/tasks/jekyll.rake b/lib/tasks/jekyll.rake
new file mode 100644
index 000000000..5f7a06162
--- /dev/null
+++ b/lib/tasks/jekyll.rake
@@ -0,0 +1,11 @@
+namespace :jekyll do
+ desc "Generate help from doc/functional sources (use AUTO option to auto-regenerate)"
+ task :dist do
+ options = "--auto" if ENV['AUTO']
+ sh "jekyll #{options} doc/functional public/help"
+ end
+ desc "Clean generated help"
+ task :clean do
+ rm_rf "public/help"
+ end
+end