This project is archived and is in readonly mode.
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
-
Samuel Williams April 21st, 2009 @ 11:01 AM
I think it is a good idea.
+1
It makes sense to simplify things.
If there is anything I can do to help, please let me know.
Kind regards, Samuel
-
Pratik April 21st, 2009 @ 05:33 PM
- Tag changed from doc, documentation, enhancement, initialization, initializer, plugin, plugins to documentation, enhancement, initialization, initializer, plugin, plugins
-
Santiago Pastorino February 2nd, 2011 @ 05:03 PM
- Importance changed from to
This issue has been automatically marked as stale because it has not been commented on for at least three months.
The resources of the Rails core team are limited, and so we are asking for your help. If you can still reproduce this error on the 3-0-stable branch or on master, please reply with all of the information you have about it and add "[state:open]" to your comment. This will reopen the ticket for review. Likewise, if you feel that this is a very important feature for Rails to include, please reply with your explanation so we can consider it.
Thank you for all your contributions, and we hope you will understand this step to focus our efforts where they are most helpful.
-
Santiago Pastorino February 2nd, 2011 @ 05:03 PM
- State changed from open to stale
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
<h2 style="font-size: 14px">Tickets have moved to Github</h2>
The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>
People watching this ticket
Referenced by
- 1905 app/helpers within plugin not being mixed in One minor wrinkle is that it still wouldn't be possible f...