From a7be1dbba859017c2f4dfe5f78c022816e13bf9e Mon Sep 17 00:00:00 2001 From: elijah Date: Thu, 17 Mar 2016 14:15:04 -0700 Subject: update leap.md documentation page --- Rakefile | 34 ++++++++++++++++------------------ 1 file changed, 16 insertions(+), 18 deletions(-) (limited to 'Rakefile') 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 -- cgit v1.2.3