diff options
author | Aldo Cortesi <aldo@nullcube.com> | 2012-07-30 21:12:42 +1200 |
---|---|---|
committer | Aldo Cortesi <aldo@nullcube.com> | 2012-07-30 21:12:42 +1200 |
commit | 158106d346252a7bbc9e27cfcb90e92743d0ef58 (patch) | |
tree | e957bed5f41a4505c2178ea66152160051901030 | |
parent | fde65270afb3855057a86b40c5996c86f58fe97b (diff) | |
download | mitmproxy-158106d346252a7bbc9e27cfcb90e92743d0ef58.tar.gz mitmproxy-158106d346252a7bbc9e27cfcb90e92743d0ef58.tar.bz2 mitmproxy-158106d346252a7bbc9e27cfcb90e92743d0ef58.zip |
Doc tweaks.
-rw-r--r-- | libpathod/templates/about.html | 76 | ||||
-rw-r--r-- | libpathod/templates/docs_pathoc.html | 18 | ||||
-rw-r--r-- | libpathod/templates/docs_pathod.html | 8 | ||||
-rw-r--r-- | libpathod/templates/docs_test.html | 2 | ||||
-rw-r--r-- | libpathod/templates/index.html | 11 |
5 files changed, 67 insertions, 48 deletions
diff --git a/libpathod/templates/about.html b/libpathod/templates/about.html index 8945228a..4d74c126 100644 --- a/libpathod/templates/about.html +++ b/libpathod/templates/about.html @@ -1,41 +1,47 @@ {% extends "frame.html" %} {% block body %} -<div class="page-header"> - <h1> - where - <small>to get the code.</small> - </h1> -</div> - -<h3>git clone git://github.com/cortesi/pathod.git</h3> - -<p>Please use the <a href="http://github.com/cortesi/pathod/issues">github -issue tracker</a> to report bugs. </p> - -<div class="page-header"> - <h1> - why - <small>this was written.</small> - </h1> -</div> - -<p>I started pathod to improve testing for for the <a -href="http://mitmproxy.org">mitmproxy</a> project. From there, it soon grew -into quite a versatile HTTP Swiss army knife.</p> - - -<div class="page-header"> - <h1> - who - <small>is to blame.</small> - </h1> -</div> - -<p>pathod is developed by me, <a href="http://corte.si">Aldo Cortesi</a>. -Email me at aldo@corte.si with feedback or suggestions. If you like pathod, you -should follow me on <a href="http://twitter.com/cortesi">twitter</a> and <a -href="http://corte.si">subscribe to my blog</a>.</p> +<section> + <div class="page-header"> + <h1> + where + <small>to get the code.</small> + </h1> + </div> + + <h3>git clone git://github.com/cortesi/pathod.git</h3> + + <p>Please use the <a href="http://github.com/cortesi/pathod/issues">github + issue tracker</a> to report bugs. </p> +</section> + +<section> + <div class="page-header"> + <h1> + why + <small>this was written.</small> + </h1> + </div> + + <p>I started pathod to improve testing for for the <a + href="http://mitmproxy.org">mitmproxy</a> project. From there, it soon grew + into quite a versatile HTTP Swiss army knife.</p> +</section> + + +<section> + <div class="page-header"> + <h1> + who + <small>is to blame.</small> + </h1> + </div> + + <p>pathod is developed by me, <a href="http://corte.si">Aldo Cortesi</a>. + Email me at aldo@corte.si with feedback or suggestions. If you like pathod, you + should follow me on <a href="http://twitter.com/cortesi">twitter</a> and <a + href="http://corte.si">subscribe to my blog</a>.</p> +</section> {% endblock %} diff --git a/libpathod/templates/docs_pathoc.html b/libpathod/templates/docs_pathoc.html index 01e41894..c1799e49 100644 --- a/libpathod/templates/docs_pathoc.html +++ b/libpathod/templates/docs_pathoc.html @@ -7,7 +7,21 @@ </h1> </div> -pathoc hostname get:"/foo/bar":h"foo"="bar" get:/wah:b@1m -pathoc --ssl hostname get:"/foo/bar":h"foo"="bar" get:"/wah":b@1m +<section> + <div class="page-header"> + <h1>Getting Started</h1> + </div> + +</section> + + +<section> + <div class="page-header"> + <h1>Basic Fuzzing</h1> + </div> + +</section> + + {% endblock %} diff --git a/libpathod/templates/docs_pathod.html b/libpathod/templates/docs_pathod.html index a581d18d..d1a4af5a 100644 --- a/libpathod/templates/docs_pathod.html +++ b/libpathod/templates/docs_pathod.html @@ -13,7 +13,7 @@ conceivable HTTP response, including ones that creatively violate the standards. HTTP responses are specified using a <a href="/docs/language">small, terse language</a>, which pathod shares with its evil twin pathoc. </p> -<section id="api"> +<section> <div class="page-header"> <h1>Getting started</h1> </div> @@ -45,7 +45,7 @@ those, use the command-line help:</p> </section> -<section id="api"> +<section> <div class="page-header"> <h1>Anchors</h1> </div> @@ -63,7 +63,7 @@ the "=" is a response specifier.</p> </section> -<section id="files"> +<section> <div class="page-header"> <h1>File Access</h1> </div> @@ -96,7 +96,7 @@ disabled if no directory is specified:</p> </section> -<section id="api"> +<section> <div class="page-header"> <h1>API</h1> </div> diff --git a/libpathod/templates/docs_test.html b/libpathod/templates/docs_test.html index c9162f87..b4c3390f 100644 --- a/libpathod/templates/docs_test.html +++ b/libpathod/templates/docs_test.html @@ -19,7 +19,7 @@ <p> The canonical docs can be accessed using pydoc: </p> - <pre class="terminal">pydoc libpathod.testing</pre> + <pre class="terminal">pydoc libpathod.test</pre> <p> The remainder of this page demonstrates some common interaction patterns using <a diff --git a/libpathod/templates/index.html b/libpathod/templates/index.html index b020d60b..1fabcae0 100644 --- a/libpathod/templates/index.html +++ b/libpathod/templates/index.html @@ -12,10 +12,9 @@ </div> </div> -<br> <div class="row"> <div class="span6"> - <div class="well"> + <div> <h1> <a href="/docs/pathod">pathod</a> </h1> <p>A pathological web daemon.</p> @@ -24,7 +23,7 @@ </div> </div> <div class="span6"> - <div class="well"> + <div> <h1> <a href="/docs/pathoc">pathoc</a> </h1> <p>A perverse HTTP client.</p> @@ -36,9 +35,9 @@ </div> -<div class="row"> +<div style="margin-top: 50px" class="row"> <div class="span6"> - <div class="well"> + <div> <h1>pathod server</h1> <p>A live, public instance of pathod</p> @@ -67,7 +66,7 @@ </div> </div> <div class="span6"> - <div class="well"> + <div> <h1> <a href="/docs/test">libpathod.test</a> </h1> <p>Using pathod in your unit tests.</p> |