~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to configs/development/apidoc-configure-normal.zcml

  • Committer: Curtis Hovey
  • Date: 2011-12-24 17:49:30 UTC
  • mto: This revision was merged to the branch mainline in revision 14602.
  • Revision ID: curtis.hovey@canonical.com-20111224174930-xk1d5cvhyxq46ctf
Moved webapp to lp.services.

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
         vhost. -->
25
25
    <adapter
26
26
        for="zope.interface.Interface
27
 
             canonical.launchpad.webapp.servers.APIDocBrowserRequest"
 
27
             lp.services.webapp.servers.APIDocBrowserRequest"
28
28
        provides="zope.traversing.browser.interfaces.IAbsoluteURL"
29
29
        factory="zope.traversing.browser.AbsoluteURL"
30
30
        />
40
40
 
41
41
    <utility
42
42
        component="lp.systemhomes.apidocroot"
43
 
        provides="canonical.launchpad.webapp.interfaces.IAPIDocRoot" />
 
43
        provides="lp.services.webapp.interfaces.IAPIDocRoot" />
44
44
 
45
 
    <adapter factory="canonical.launchpad.webapp.authentication.TemporaryPrincipalAnnotations" />
 
45
    <adapter factory="lp.services.webapp.authentication.TemporaryPrincipalAnnotations" />
46
46
    <adapter
47
 
      factory="canonical.launchpad.webapp.authentication.TemporaryUnauthenticatedPrincipalAnnotations" />
 
47
      factory="lp.services.webapp.authentication.TemporaryUnauthenticatedPrincipalAnnotations" />
48
48
 
49
 
    <class class="canonical.launchpad.webapp.servers.LaunchpadBrowserRequest">
 
49
    <class class="lp.services.webapp.servers.LaunchpadBrowserRequest">
50
50
      <implements interface="zope.app.apidoc.browser.skin.APIDOC" />
51
51
    </class>
52
52
 
53
53
    <!-- apidoc.lp.dev breaks if we make IAPIDocRoot subclass ISite, so we
54
54
      need to register this view here. -->
55
55
    <view
56
 
        for="canonical.launchpad.webapp.interfaces.IAPIDocRoot"
 
56
        for="lp.services.webapp.interfaces.IAPIDocRoot"
57
57
        type="zope.publisher.interfaces.browser.IDefaultBrowserLayer"
58
58
        name=""
59
59
        factory="zope.browserresource.resources.Resources"
62
62
        />
63
63
 
64
64
    <browser:defaultView
65
 
        for="canonical.launchpad.webapp.interfaces.IAPIDocRoot"
 
65
        for="lp.services.webapp.interfaces.IAPIDocRoot"
66
66
        name="++apidoc++"
67
67
        />
68
68