diff options
author | Aldo Cortesi <aldo@nullcube.com> | 2013-03-11 11:49:36 +1300 |
---|---|---|
committer | Aldo Cortesi <aldo@nullcube.com> | 2013-03-11 11:49:36 +1300 |
commit | c34d1e3de6483b1ab8a1a3add53fb84364c68249 (patch) | |
tree | 0e0ef7797b4ff25996374351056c9e40b771976b /doc-src/index.py | |
parent | 5ceef16486f71e28440f80799183190543f162f0 (diff) | |
download | mitmproxy-c34d1e3de6483b1ab8a1a3add53fb84364c68249.tar.gz mitmproxy-c34d1e3de6483b1ab8a1a3add53fb84364c68249.tar.bz2 mitmproxy-c34d1e3de6483b1ab8a1a3add53fb84364c68249.zip |
Docs, examples.
Diffstat (limited to 'doc-src/index.py')
-rw-r--r-- | doc-src/index.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/doc-src/index.py b/doc-src/index.py index aa178fa0..7b65adb9 100644 --- a/doc-src/index.py +++ b/doc-src/index.py @@ -27,11 +27,12 @@ def mpath(p): ns.index_contents = file(mpath("README.mkd")).read() def example(s): - d = file(mpath(s)).read() + d = file(mpath(s)).read().rstrip() extemp = """<div class="example">%s<div class="example_legend">(%s)</div></div>""" return extemp%(countershape.template.Syntax("py")(d), s) ns.example = example + filt_help = [] for i in filt.filt_unary: filt_help.append( |