mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-27 02:24:18 +00:00
28 lines
847 B
Python
28 lines
847 B
Python
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, "<h1> @!docTitle!@ - @!this.title!@ </h1>")
|
|
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")
|
|
]
|