diff options
author | elijah <elijah@riseup.net> | 2016-03-17 14:15:04 -0700 |
---|---|---|
committer | elijah <elijah@riseup.net> | 2016-03-17 14:15:50 -0700 |
commit | a7be1dbba859017c2f4dfe5f78c022816e13bf9e (patch) | |
tree | fb116f4b5063bac8bda5f9fd4e8dac56015c44a6 /Rakefile | |
parent | 201494fcf8c82d596589fcd2462cdc6e8021b9f9 (diff) |
update leap.md documentation page
Diffstat (limited to 'Rakefile')
-rw-r--r-- | Rakefile | 34 |
1 files changed, 16 insertions, 18 deletions
@@ -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 |