0

I am writing a moderate-sized Sinatra app that I break into extensions, placed in ./lib/extensions/. I want to document each route, but Yard::Sinatra only documents the routes defined in the main application.rb file. Can I configure Yard::Sinatra to do something or do I have to write my own plugin?

Kui Tang
  • 195
  • 7

1 Answers1

1

You might want to take a look into Cachafla's YARD::Sinatra version of the gem: gem install cachafla-yard-sinatra

Andrés Botero
  • 1,042
  • 2
  • 10
  • 26