From 3bc7f4e1cd8f01413b4a697d9009a39c100c8bb0 Mon Sep 17 00:00:00 2001 From: Aldo Cortesi Date: Sun, 24 Jun 2012 10:18:20 +1200 Subject: Documentation skeleton. --- doc-src/index.py | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 doc-src/index.py (limited to 'doc-src/index.py') 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" + ) -- cgit v1.2.3