aboutsummaryrefslogtreecommitdiffstats
path: root/doc-src/index.py
diff options
context:
space:
mode:
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"
+ )