|
a/Allura/allura/app.py |
|
b/Allura/allura/app.py |
|
... |
|
... |
86 |
return '<div class="portlet">%s</div>' % content
|
86 |
return '<div class="portlet">%s</div>' % content
|
87 |
|
87 |
|
88 |
class Application(object):
|
88 |
class Application(object):
|
89 |
"""
|
89 |
"""
|
90 |
The base Allura pluggable application
|
90 |
The base Allura pluggable application
|
|
|
91 |
|
|
|
92 |
After extending this, expose the app by adding an entry point in your setup.py:
|
|
|
93 |
|
|
|
94 |
[allura]
|
|
|
95 |
myapp = foo.bar.baz:MyAppClass
|
91 |
|
96 |
|
92 |
:var status: the status level of this app. 'production' apps are available to all projects
|
97 |
:var status: the status level of this app. 'production' apps are available to all projects
|
93 |
:var bool searchable: toggle if the search box appears in the left menu
|
98 |
:var bool searchable: toggle if the search box appears in the left menu
|
94 |
:var permissions: a list of named permissions used by the app
|
99 |
:var permissions: a list of named permissions used by the app
|
95 |
:var sitemap: a list of :class:`SitemapEntries <allura.app.SitemapEntry>` to create an app navigation.
|
100 |
:var sitemap: a list of :class:`SitemapEntries <allura.app.SitemapEntry>` to create an app navigation.
|