from confrest_oldpy import *

class PyPyPage(Page):
    def fill(self):
        super(PyPyPage, self).fill()
        self.menubar[:] = html.div(
            html.a("home", href="index.html", class_="menu"), " ",
            html.a("news", href="news.html", class_="menu"), " ",
            html.a("consortium", href="consortium.html", class_="menu"), " ",
            html.a("links", href="links.html", class_="menu"), " ",
                   class_="menu"), " ",
            " ", id="menubar")

    def get_doclink(self, target):
        return relpath(self.targetpath.strpath,

class Project(Project):
    mydir = py.magic.autopath().dirpath()
    title = "PyPy EU Project"
    stylesheet = ''
    encoding = 'latin1'
    prefix_title = "EU/PyPy"
    logo = html.div(
        html.a(html.img(alt="PyPy", id="pyimg",
                        height=110, width=149)),
        html.img(alt="EU Logo", id="extraimg",
                 height=105, width=213),
    Page = PyPyPage
    def get_docpath(self):
        return self.mydir
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.