ZCML File
configure.zcml

<configure
    xmlns="http://namespaces.zope.org/zope"
    xmlns:browser="http://namespaces.zope.org/browser"
    >
<class
    class=".ZCMLModule"
    >
</class>
<class
    class=".Namespace"
    >
<allow
    attributes="getShortName getFullName getQuotedName"
    />
</class>
<class
    class=".Directive"
    >
<allow
    attributes="name schema handler info subdirs"
    />
</class>
<utility
    factory=".ZCMLModule"
    provides="zope.app.apidoc.interfaces.IDocumentationModule"
    name="ZCML"
    />
<browser:page
    class=".browser.Menu"
    layer="zope.app.apidoc.browser.skin.apidoc"
    for=".ZCMLModule"
    permission="zope.app.apidoc.UseAPIDoc"
    name="menu.html"
    template="menu.pt"
    />
<browser:page
    class=".browser.Menu"
    layer="zope.app.apidoc.browser.skin.apidoc"
    for=".ZCMLModule"
    permission="zope.app.apidoc.UseAPIDoc"
    name="staticmenu.html"
    template="static_menu.pt"
    />
<browser:page
    class=".browser.DirectiveDetails"
    layer="zope.app.apidoc.browser.skin.apidoc"
    for=".Directive"
    permission="zope.app.apidoc.UseAPIDoc"
    name="index.html"
    template="index.pt"
    />
</configure>