import countershape from countershape import Page, Directory, PythonModule, markup import countershape.grok this.layout = countershape.Layout("_layout.html") ns.docTitle = "mitmproxy" this.markup = markup.Markdown() ns.docMaintainer = "Aldo Cortesi" ns.docMaintainerEmail = "aldo@corte.si" ns.copyright = "Aldo Cortesi 2010" ns.head = countershape.template.Template(None, "

@!docTitle!@ - @!this.title!@

") ns.sidebar = countershape.widgets.SiblingPageIndex( '/index.html', exclude=['countershape'] ) ns.license = file("../LICENSE").read() ns.index_contents = file("../README").read() ns.example = file("../examples/stickycookies.py").read() pages = [ Page("index.html", "introduction"), Page("library.html", "library"), Page("faq.html", "faq"), Page("admin.html", "administrivia") ]