rails / sdoc

Standalone sdoc generator
http://api.rubyonrails.org/
Other
823 stars 131 forks source link

Move config from Rails to SDoc #333

Open p8 opened 9 months ago

p8 commented 9 months ago

Currently generating the API docs is integrated in the Rails project: https://github.com/rails/rails/blob/main/railties/lib/rails/api/task.rb This requires the sdoc gem to work with the supported Ruby version of the Rails project and its Gemfile. If docs generation can be run seperately we can generate the docs for any version of Rails.

zzak commented 9 months ago

Yeah, this is a known issue but I'm not sure where to put it yet.

p8 commented 9 months ago

I think we could have some config file in sdoc where we define the settings for each version of Rails.

p8 commented 5 months ago

RDoc supports a .rdoc_options file We could move a lot of options there.