Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR RUBY

api blueprint minitest rails

namespace :api do
  desc 'Build API documentation'
  task :documentation do
    input_file = 'docs/api/documentation.md'
    output_file = 'public/documentation.html'
    system(" bin/yarn run aglio -i #{input_file}  -o #{output_file}")
  end
end
Source by mariochavez.io #
 
PREVIOUS NEXT
Tagged: #api #blueprint #minitest #rails
ADD COMMENT
Topic
Name
9+8 =