aboutsummaryrefslogtreecommitdiffstats
path: root/doc-src/index.py
diff options
context:
space:
mode:
authorAldo Cortesi <aldo@nullcube.com>2012-06-24 10:18:20 +1200
committerAldo Cortesi <aldo@nullcube.com>2012-06-24 10:18:20 +1200
commit3bc7f4e1cd8f01413b4a697d9009a39c100c8bb0 (patch)
treef120694789272758a6fb9c5e0a6d1bc72ba8d797 /doc-src/index.py
parente236d7746a3780c4d14e57e1c1e6661bb7a3ef21 (diff)
downloadmitmproxy-3bc7f4e1cd8f01413b4a697d9009a39c100c8bb0.tar.gz
mitmproxy-3bc7f4e1cd8f01413b4a697d9009a39c100c8bb0.tar.bz2
mitmproxy-3bc7f4e1cd8f01413b4a697d9009a39c100c8bb0.zip
Documentation skeleton.
Diffstat (limited to 'doc-src/index.py')
-rw-r--r--doc-src/index.py18
1 files changed, 18 insertions, 0 deletions
diff --git a/doc-src/index.py b/doc-src/index.py
new file mode 100644
index 00000000..85d3e339
--- /dev/null
+++ b/doc-src/index.py
@@ -0,0 +1,18 @@
+from countershape import widgets, layout, html, blog, markup, sitemap
+from countershape.doc import *
+
+ns.foot = "Copyright 2012 Aldo Cortesi"
+this.markup = markup.Markdown(extras=dict(footnotes=True))
+this.layout = layout.FileLayout("_layout_full.html")
+this.titlePrefix = ""
+this.site_url = "http://corte.si"
+pages = [
+ Page("index.html", "overview", namespace=dict(section="index")),
+ Page("docs.html", "docs", namespace=dict(section="docs")),
+ sitemap.Sitemap("sitemap.xml")
+]
+ns.sidebar = widgets.SiblingPageIndex(
+ pages[0],
+ depth=1,
+ divclass="sidebarmenu"
+ )