aboutsummaryrefslogtreecommitdiffstats
path: root/doc-src/scripts
diff options
context:
space:
mode:
authorAldo Cortesi <aldo@nullcube.com>2011-08-05 10:47:43 +1200
committerAldo Cortesi <aldo@nullcube.com>2011-08-05 10:47:43 +1200
commit89a58d7e303f00e4ed7572b60db6a2073804c4a1 (patch)
tree643ed3d3ef9fbdf3ddc65ba80ef8cc173cb52a94 /doc-src/scripts
parent98a7aaca182ce6b879329bbaeb06efca284c6220 (diff)
downloadmitmproxy-89a58d7e303f00e4ed7572b60db6a2073804c4a1.tar.gz
mitmproxy-89a58d7e303f00e4ed7572b60db6a2073804c4a1.tar.bz2
mitmproxy-89a58d7e303f00e4ed7572b60db6a2073804c4a1.zip
Start on scripting documentation and examples.
Diffstat (limited to 'doc-src/scripts')
-rw-r--r--doc-src/scripts/examples.html4
-rw-r--r--doc-src/scripts/flows.html0
-rw-r--r--doc-src/scripts/index.py2
3 files changed, 5 insertions, 1 deletions
diff --git a/doc-src/scripts/examples.html b/doc-src/scripts/examples.html
new file mode 100644
index 00000000..bfa1f8d7
--- /dev/null
+++ b/doc-src/scripts/examples.html
@@ -0,0 +1,4 @@
+
+## Stub script
+
+$!example("examples/stub.py")!$
diff --git a/doc-src/scripts/flows.html b/doc-src/scripts/flows.html
deleted file mode 100644
index e69de29b..00000000
--- a/doc-src/scripts/flows.html
+++ /dev/null
diff --git a/doc-src/scripts/index.py b/doc-src/scripts/index.py
index 805a17d9..987cf840 100644
--- a/doc-src/scripts/index.py
+++ b/doc-src/scripts/index.py
@@ -1,6 +1,6 @@
from countershape import Page
pages = [
- Page("flows.html", "Introduction to flows"),
+ Page("examples.html", "Examples"),
Page("api.html", "API"),
]