instance packages not displayed in 'Code Browser'

Bug #98387 reported by Florent
4
Affects Status Importance Assigned to Milestone
Zope 3
New
Medium
Unassigned

Bug Description

++apidoc++ is a wonderful feature for developers.
But we only have access to zope core packages inside the 'Lib/site-packages' folder.

We could extend the feature to other packages, such as the instance-specific code inside 'INSTANCE/lib/python/'.

To provide such feature, we could add a link on the '/++apidoc++/Code/@@menu.html' page, below the 'Browse Zope Source' link.
This link label could be 'Browse instance packages'.

If I type the URL directly in the adress bar, the page is already displayed correctly:
- /++apidoc++/Code/mywebapp/
or
- /++apidoc++/Code/docutils/

Revision history for this message
Christophe Combelles (ccomb) wrote :

You can already do this easily by adding
<apidoc:rootModule module="mywebapp" />
in your configure.zcml

(and xmlns:apidoc="http://namespaces.zope.org/apidoc" in the <configure> tag.

But it would be even better do do it automatically.

Revision history for this message
Christophe Combelles (ccomb) wrote :

Is there a way to let zope.app.apidoc discover all the root modules automatically ?

https://bugs.launchpad.net/zope3/+bug/180883

Revision history for this message
Philipp von Weitershausen (philikon) wrote : Re: [Bug 98387] Re: instance packages not displayed in 'Code Browser'

On 6 Jan 2008, at 23:23 , Christophe Combelles wrote:
> Is there a way to let zope.app.apidoc discover all the root modules
> automatically ?
>
> https://bugs.launchpad.net/zope3/+bug/180883

It could look at sys.modules...

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.