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.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc-src/index.py b/doc-src/index.py
index a678953b..170839e7 100644
--- a/doc-src/index.py
+++ b/doc-src/index.py
@@ -1,7 +1,7 @@
import os, sys
import countershape
from countershape import Page, Directory, PythonModule, markup
-import countershape.grok, countershape.template
+import countershape.template
sys.path.insert(0, "..")
from libmproxy import filt
@@ -33,7 +33,7 @@ ns.index_contents = file(mpath("README.mkd")).read()
top = os.path.abspath(os.getcwd())
def example(s):
d = file(mpath(s)).read()
- return countershape.template.pySyntax(d)
+ return countershape.template.Syntax("py")(d)
ns.example = example