mitmproxy/doc-src/index.py

19 lines
664 B
Python
Raw Normal View History

2012-06-23 22:18:20 +00:00
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"
)