2976.10.99
by Stuart Bishop
Get some bits of apidoc working again, but it is mostly broken |
1 |
<configure |
2 |
xmlns="http://namespaces.zope.org/zope" |
|
11073.1.14
by Guilherme Salgado
Move apidoc-specific zcml includes to configs/development/apidoc-configure-normal.zcml and make the apidoc.txt test pass |
3 |
xmlns:browser="http://namespaces.zope.org/browser" |
4 |
xmlns:meta="http://namespaces.zope.org/meta" |
|
5 |
xmlns:i18n="http://namespaces.zope.org/i18n" |
|
11073.1.27
by Guilherme Salgado
Make all the code browseable/searchable in the apidoc |
6 |
xmlns:apidoc="http://namespaces.zope.org/apidoc" |
11073.1.14
by Guilherme Salgado
Move apidoc-specific zcml includes to configs/development/apidoc-configure-normal.zcml and make the apidoc.txt test pass |
7 |
i18n_domain="canonical"> |
11073.1.22
by Guilherme Salgado
A bunch of changes suggested by Gary |
8 |
|
9 |
<!-- These packages/declarations are required by apidoc. If they are |
|
10 |
deemed generally useful, move them to zopeapp.zcml --> |
|
11073.1.14
by Guilherme Salgado
Move apidoc-specific zcml includes to configs/development/apidoc-configure-normal.zcml and make the apidoc.txt test pass |
11 |
|
12 |
<browser:menu |
|
13 |
id="zmi_views" |
|
14 |
title="Views" |
|
15 |
description="Menu for displaying alternate representations of an object" |
|
16 |
/>
|
|
17 |
<browser:menu |
|
18 |
id="zmi_actions" |
|
19 |
title="Actions" |
|
20 |
description="Menu for displaying actions to be performed" |
|
21 |
/>
|
|
22 |
||
11073.1.22
by Guilherme Salgado
A bunch of changes suggested by Gary |
23 |
<!-- Use the default IAbsoluteURL adapter for requests on the apidoc |
24 |
vhost. --> |
|
25 |
<adapter |
|
26 |
for="zope.interface.Interface |
|
27 |
canonical.launchpad.webapp.servers.APIDocBrowserRequest"
|
|
28 |
provides="zope.traversing.browser.interfaces.IAbsoluteURL" |
|
29 |
factory="zope.traversing.browser.AbsoluteURL" |
|
30 |
/>
|
|
31 |
||
11073.1.14
by Guilherme Salgado
Move apidoc-specific zcml includes to configs/development/apidoc-configure-normal.zcml and make the apidoc.txt test pass |
32 |
<view |
33 |
for="zope.container.interfaces.IReadContainer" |
|
34 |
type="zope.publisher.interfaces.http.IHTTPRequest" |
|
35 |
provides="zope.publisher.interfaces.IPublishTraverse" |
|
36 |
factory="zope.container.traversal.ContainerTraverser" |
|
37 |
permission="zope.Public" |
|
38 |
allowed_interface="zope.publisher.interfaces.IPublishTraverse" |
|
39 |
/>
|
|
11073.1.22
by Guilherme Salgado
A bunch of changes suggested by Gary |
40 |
|
11073.1.24
by Guilherme Salgado
A couple more trivial changes |
41 |
<utility |
42 |
component="canonical.launchpad.systemhomes.apidocroot" |
|
43 |
provides="canonical.launchpad.webapp.interfaces.IAPIDocRoot" /> |
|
44 |
||
11073.1.22
by Guilherme Salgado
A bunch of changes suggested by Gary |
45 |
<adapter factory="canonical.launchpad.webapp.authentication.TemporaryPrincipalAnnotations" /> |
46 |
<adapter |
|
47 |
factory="canonical.launchpad.webapp.authentication.TemporaryUnauthenticatedPrincipalAnnotations" /> |
|
11073.1.14
by Guilherme Salgado
Move apidoc-specific zcml includes to configs/development/apidoc-configure-normal.zcml and make the apidoc.txt test pass |
48 |
|
49 |
<class class="canonical.launchpad.webapp.servers.LaunchpadBrowserRequest"> |
|
50 |
<implements interface="zope.app.apidoc.browser.skin.APIDOC" /> |
|
51 |
</class> |
|
52 |
||
11073.1.22
by Guilherme Salgado
A bunch of changes suggested by Gary |
53 |
<!-- apidoc.lp.dev breaks if we make IAPIDocRoot subclass ISite, so we |
54 |
need to register this view here. --> |
|
11073.1.14
by Guilherme Salgado
Move apidoc-specific zcml includes to configs/development/apidoc-configure-normal.zcml and make the apidoc.txt test pass |
55 |
<view |
11073.1.27
by Guilherme Salgado
Make all the code browseable/searchable in the apidoc |
56 |
for="canonical.launchpad.webapp.interfaces.IAPIDocRoot" |
11073.1.14
by Guilherme Salgado
Move apidoc-specific zcml includes to configs/development/apidoc-configure-normal.zcml and make the apidoc.txt test pass |
57 |
type="zope.publisher.interfaces.browser.IDefaultBrowserLayer" |
58 |
name="" |
|
59 |
factory="zope.browserresource.resources.Resources" |
|
60 |
permission="zope.Public" |
|
61 |
allowed_interface="zope.publisher.interfaces.browser.IBrowserPublisher" |
|
62 |
/>
|
|
63 |
||
11073.1.22
by Guilherme Salgado
A bunch of changes suggested by Gary |
64 |
<browser:defaultView |
65 |
for="canonical.launchpad.webapp.interfaces.IAPIDocRoot" |
|
66 |
name="++apidoc++" |
|
67 |
/>
|
|
68 |
||
69 |
<!-- Turn on devmode for the following includes to work --> |
|
11073.1.14
by Guilherme Salgado
Move apidoc-specific zcml includes to configs/development/apidoc-configure-normal.zcml and make the apidoc.txt test pass |
70 |
<meta:provides feature="devmode" /> |
71 |
||
2976.10.99
by Stuart Bishop
Get some bits of apidoc working again, but it is mostly broken |
72 |
<include package="zope.app.preference" file="meta.zcml" /> |
11073.1.14
by Guilherme Salgado
Move apidoc-specific zcml includes to configs/development/apidoc-configure-normal.zcml and make the apidoc.txt test pass |
73 |
<include package="zope.app.apidoc.codemodule" file="meta.zcml" /> |
74 |
<include package="zope.app.apidoc.bookmodule" file="meta.zcml" /> |
|
11220.2.1
by Gary Poster
turn on Book section of apidoc and add some representative Launchpad docs |
75 |
<include package="zope.app.onlinehelp" file="meta.zcml" /> |
76 |
||
77 |
<include package="zope.app.apidoc" /> |
|
78 |
<include package="zope.app.applicationcontrol" /> |
|
79 |
<include package="zope.app.onlinehelp" /> |
|
2976.10.99
by Stuart Bishop
Get some bits of apidoc working again, but it is mostly broken |
80 |
<include package="zope.app.preference" /> |
11220.2.1
by Gary Poster
turn on Book section of apidoc and add some representative Launchpad docs |
81 |
<include package="zope.app.renderer" /> |
11073.1.14
by Guilherme Salgado
Move apidoc-specific zcml includes to configs/development/apidoc-configure-normal.zcml and make the apidoc.txt test pass |
82 |
<include package="zope.app.tree" /> |
11220.2.1
by Gary Poster
turn on Book section of apidoc and add some representative Launchpad docs |
83 |
<include package="zope.location" /> |
2976.10.99
by Stuart Bishop
Get some bits of apidoc working again, but it is mostly broken |
84 |
|
11073.1.27
by Guilherme Salgado
Make all the code browseable/searchable in the apidoc |
85 |
<apidoc:rootModule module="canonical" /> |
86 |
<apidoc:rootModule module="lp" /> |
|
87 |
<apidoc:rootModule module="lazr" /> |
|
88 |
<apidoc:rootModule module="zc" /> |
|
89 |
<apidoc:rootModule module="wadllib" /> |
|
90 |
<apidoc:rootModule module="martian" /> |
|
91 |
<apidoc:rootModule module="manuel" /> |
|
92 |
<apidoc:rootModule module="chameleon" /> |
|
93 |
<apidoc:rootModule module="storm" /> |
|
94 |
||
11220.2.1
by Gary Poster
turn on Book section of apidoc and add some representative Launchpad docs |
95 |
<apidoc:bookchapter |
96 |
id="lp" |
|
97 |
title="Launchpad" |
|
98 |
/>
|
|
99 |
<apidoc:bookchapter |
|
100 |
id="dbpolicy" |
|
101 |
title="Storm Stores and Database Policies" |
|
102 |
doc_path="../../lib/canonical/launchpad/doc/db-policy.txt" |
|
103 |
parent="lp" |
|
104 |
/>
|
|
105 |
<apidoc:bookchapter |
|
106 |
id="memcachetales" |
|
107 |
title="Memcache Tales Expressions" |
|
108 |
doc_path="../../lib/lp/services/memcache/doc/tales-cache.txt" |
|
109 |
parent="lp" |
|
110 |
/>
|
|
111 |
<apidoc:bookchapter |
|
112 |
id="sprites" |
|
113 |
title="Image Sprites" |
|
114 |
doc_path="../../lib/lp/services/doc/sprites.txt" |
|
115 |
parent="lp" |
|
116 |
/>
|
|
117 |
<apidoc:bookchapter |
|
118 |
id="buildout" |
|
119 |
title="Buildout" |
|
120 |
doc_path="../../doc/buildout.txt" |
|
121 |
parent="lp" |
|
122 |
/>
|
|
11057.9.18
by Gary Poster
fix-ups: fix some tests, move new docs to existing doctest, convert existing doctest into being more like docs, hook up doctest with apidoc, write replacement and new unit tests for stuff taken from doctest |
123 |
<apidoc:bookchapter |
124 |
id="profiling" |
|
125 |
title="Profiling" |
|
126 |
doc_path="../../lib/canonical/launchpad/doc/profiling.txt" |
|
127 |
parent="lp" |
|
128 |
/>
|
|
11220.2.1
by Gary Poster
turn on Book section of apidoc and add some representative Launchpad docs |
129 |
|
2976.10.99
by Stuart Bishop
Get some bits of apidoc working again, but it is mostly broken |
130 |
</configure> |