This project is archived and is in readonly mode.

#2526 ✓ stale
James Adam

Generated plugin RDoc should include all code within plugin load_paths

Reported by James Adam | April 20th, 2009 @ 11:27 AM | in 3.x

At the moment, generating the RDoc for a plugin will only include the code underneath a plugins lib directory. Since plugins can now validly include an app directory with documentation-worthy code within it, these paths should be included in the documentation path.

The simplest and most robust solution would be to actually use the results of the Plugin#load_paths method, but this would require access to the list of loaded plugins outside of the Rails initialization process.

So, would it be worth me writing a patch to make a Rails.plugins or Rails.loaded_plugins set available, reflecting the contents of Rails::Initializer#loaded_plugins at the end of the environment load?

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

Tickets have moved to Github

The new ticket tracker is available at https://github.com/rails/rails/issues

Shared Ticket Bins

Referenced by

Pages