diff options
author | Aldo Cortesi <aldo@nullcube.com> | 2010-02-16 17:09:07 +1300 |
---|---|---|
committer | Aldo Cortesi <aldo@nullcube.com> | 2010-02-16 17:09:07 +1300 |
commit | cb0e3287090786fad566feb67ac07b8ef361b2c3 (patch) | |
tree | 0cce85760f1811bc3bbd00245764142621fa9d16 /doc-src/index.py | |
download | mitmproxy-cb0e3287090786fad566feb67ac07b8ef361b2c3.tar.gz mitmproxy-cb0e3287090786fad566feb67ac07b8ef361b2c3.tar.bz2 mitmproxy-cb0e3287090786fad566feb67ac07b8ef361b2c3.zip |
Initial checkin.
Diffstat (limited to 'doc-src/index.py')
-rw-r--r-- | doc-src/index.py | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/doc-src/index.py b/doc-src/index.py new file mode 100644 index 00000000..2b6dde6a --- /dev/null +++ b/doc-src/index.py @@ -0,0 +1,26 @@ +import countershape +from countershape import Page, Directory, PythonModule +import countershape.grok + +this.layout = countershape.Layout("_layout.html") +this.markup = "markdown" +ns.docTitle = "mitmproxy" +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") +] |