[Zope] interfaces and help system

Amos Latteier amos@zope.com
Tue, 02 Oct 2001 10:51:54 -0700


kapil wrote:
 > is there a way to register interfaces as part of the online
 > help system?

Yes there is, though it is an experimental feature which isn't currently 
being used anywhere in Zope. If you register an API help topic Zope will 
not only recognize classes but interfaces in the .py file. You don't 
have to do anything special just use context.registerHelp() in your 
product's initialization function.

The relevant code is in HelpSys/APIHelpTopic.py

BTW, in the future, I think all API docs should be done with interfaces. 
I have a proposal in the fishbowl for this.

   http://dev.zope.org/Wikis/DevSite/Projects/APIDocs/

Sadly this project is currently on hold. The reason is that we don't 
have enough time to work on it. I'd still like to see this project 
revived, once we have resources available to work on it.

-Amos

-- 
Amos Latteier         amos@zope.com
Zope Corporation      http://www.zope.com/