aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-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