Sha256: c588b739492183aaae958abb8ba672f164bd2ad6bc0b13be022fabb643fd059d
Contents?: true
Size: 598 Bytes
Versions: 1
Compression:
Stored size: 598 Bytes
Contents
include Rapidoc namespace :rapidoc do desc "Generate config folder" task :install do create_config_structure end desc "Generate the api documentation" task :generate do if File.exists?( "#{::Rails.root}/config/rapidoc/rapidoc.yml" ) load_config create_doc_structure puts "Generating API documentation..." generate_doc puts "Completed API documentation generation" else puts "Need install rapidoc for run it, for install run rapidoc:install task" end end desc "Remove the documentation" task :clean do remove_doc end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rapidoc-0.0.7 | lib/tasks/rapidoc.rake |