diff options
author | Aldo Cortesi <aldo@nullcube.com> | 2011-03-18 09:04:49 +1300 |
---|---|---|
committer | Aldo Cortesi <aldo@nullcube.com> | 2011-03-18 09:04:49 +1300 |
commit | e983253ecc85aaa8a51ae562dc1805132d339781 (patch) | |
tree | 5f360ca325d643f4496373ca929bc9b40a520a25 /doc-src/index.py | |
parent | 2af6dcf6f7c64f2a14a26c11975d103ba5d39326 (diff) | |
download | mitmproxy-e983253ecc85aaa8a51ae562dc1805132d339781.tar.gz mitmproxy-e983253ecc85aaa8a51ae562dc1805132d339781.tar.bz2 mitmproxy-e983253ecc85aaa8a51ae562dc1805132d339781.zip |
Docs, minor cert tweaks.
Diffstat (limited to 'doc-src/index.py')
-rw-r--r-- | doc-src/index.py | 30 |
1 files changed, 29 insertions, 1 deletions
diff --git a/doc-src/index.py b/doc-src/index.py index b51a2a3c..c2d995a5 100644 --- a/doc-src/index.py +++ b/doc-src/index.py @@ -1,7 +1,9 @@ -import os +import os, sys import countershape from countershape import Page, Directory, PythonModule, markup import countershape.grok, countershape.template +sys.path.insert(0, "..") +from libmproxy import filt this.layout = countershape.Layout("_layout.html") ns.docTitle = "mitmproxy" @@ -25,6 +27,30 @@ def example(s): ns.example = example +filt_help = [] +for i in filt.filt_unary: + filt_help.append( + ("~%s"%i.code, i.help) + ) +for i in filt.filt_rex: + filt_help.append( + ("~%s regex"%i.code, i.help) + ) +for i in filt.filt_int: + filt_help.append( + ("~%s int"%i.code, i.help) + ) +filt_help.sort() +filt_help.extend( + [ + ("!", "unary not"), + ("&", "and"), + ("|", "or"), + ("(...)", "grouping"), + ] +) +ns.filt_help = filt_help + pages = [ @@ -33,6 +59,8 @@ pages = [ Page("clientreplay.html", "Client-side replay"), Page("serverreplay.html", "Server-side replay"), Page("stickycookies.html", "Sticky cookies"), + Page("anticache.html", "Anticache"), + Page("filters.html", "Filter expressions"), Page("scripts.html", "External scripts"), Page("library.html", "libmproxy: mitmproxy as a library"), Page("ssl.html", "SSL"), |