📜  api blueprint minitest rails - Ruby 代码示例

📅  最后修改于: 2022-03-11 15:04:45.989000             🧑  作者: Mango

代码示例8
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