summaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2016-03-17 14:15:04 -0700
committerelijah <elijah@riseup.net>2016-03-17 14:15:50 -0700
commita7be1dbba859017c2f4dfe5f78c022816e13bf9e (patch)
treefb116f4b5063bac8bda5f9fd4e8dac56015c44a6 /Rakefile
parent201494fcf8c82d596589fcd2462cdc6e8021b9f9 (diff)
update leap.md documentation page
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile34
1 files changed, 16 insertions, 18 deletions
diff --git a/Rakefile b/Rakefile
index deb9539..a51f813 100644
--- a/Rakefile
+++ b/Rakefile
@@ -90,21 +90,19 @@ task :default => :test
## DOCUMENTATION
##
-# require 'rdoc/task'
-
-# Rake::RDocTask.new do |rd|
-# rd.main = "README.rdoc"
-# rd.rdoc_files.include("README.rdoc","lib/**/*.rb","bin/**/*")
-# rd.title = 'Your application title'
-# end
-
-desc "Dumps all command line options to doc/leap.md"
-task :doc do
- Dir.chdir($base_dir + "/doc") do
- if system('../bin/leap _doc --format=LeapCli::MarkdownDocumentListener')
- puts "updated doc/leap.md"
- else
- puts "error"
- end
- end
-end
+#
+# NOTE: this does not currently work!
+#
+# to export the docs, run `leap _doc --format=LeapCli::MarkdownDocumentListener`
+# manually from within a provider directory.
+#
+#desc "Dumps all command line options to doc/leap.md"
+#task :doc do
+# Dir.chdir($base_dir + "/doc") do
+# if system('../bin/leap _doc --format=LeapCli::MarkdownDocumentListener')
+# puts "updated doc/leap.md"
+# else
+# puts "error"
+# end
+# end
+#end