ejucovy/trac-docs — Issue #5: Add Option resources
Author: ejucovy
Created: 2011-12-31 18:45:14+00:00
State: open

Since Options and ExtensionOptions are declared on the component class, they should be available for inspection in the same manner as the interfaces implemented by a given component.

If it's feasible, then, it would be great to have an additional resource type to describe options. These should be namespaced in the same manner as the options themselves. Each Option resource should show the parent component, type, documentation and default value of the corresponding `trac.config.Option`.

For example `/options/account-manager/persistent_sessions/index.html` would show something like:

Component: acct_mgr.AccountManager
Type: BooleanOption
Default: False

Allow the user to be remembered across sessions without
needing to re-authenticate. This is, user checks a
\"Remember Me\" checkbox and, next time he visits the site,
he'll be remembered.

The Component resources should then also be modified to link out to all the Options owned/defined by that Component.