[svn r37264] create the new development trunk

--HG--
branch : trunk
This commit is contained in:
hpk
2007-01-24 15:24:01 +01:00
commit 5992a8ef21
435 changed files with 58640 additions and 0 deletions
+23
View File
@@ -0,0 +1,23 @@
""" layout definition for generating api/source documents
this is the place where customization can be done
"""
import py
from py.__.doc.confrest import Page
class LayoutPage(Page):
""" this provides the layout and style information """
def __init__(self, *args, **kwargs):
self.nav = kwargs.pop('nav')
super(LayoutPage, self).__init__(*args, **kwargs)
def set_content(self, contentel):
self.contentspace.append(contentel)
def fill(self):
super(LayoutPage, self).fill()
self.menubar[:] = []
self.menubar.append(self.nav)