[Grok-dev] Setting up apidoc with Grok
sebastian at urbantalk.se
Fri Aug 17 05:22:42 EDT 2007
After fixing the XML, there is still no introspection tab in the ZMI.
Shouldn't the introspection tab appear just by adding "devmode on" in
zope.conf? Or do I also have to add some ZCML, in which case where?
(I have tried to follow the directions in Philipps book, but I am not
getting it to work)
17 aug 2007 kl. 10.44 skrev Wichert Akkerman:
> Previously Sebastian Ware wrote:
>> I am trying to enable the APIdoc magic of Zope 3.
>> I have added "devmode on" to zope.conf. But it chokes on the zcml
>> directives I have added to my project configure.zcml file. Any ideas
>> what is wrong?
>> <configure xmlns="http://namespaces.zope.org/grok"
>> <grok package="." />
>> description="A simple CMS"
>> <configure xmlns:apidoc="http://namespaces.zope.org/apidoc"
>> zcml:condition="have apidoc">
>> <apidoc:rootModule module="protoncms" />
> You can not have two root elements in an XML file. Just put the apidoc
> statements in the first <configure> block.
> Wichert Akkerman <wichert at wiggy.net> It is simple to make things.
> http://www.wiggy.net/ It is hard to make things
More information about the Grok-dev