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.
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.