From 158106d346252a7bbc9e27cfcb90e92743d0ef58 Mon Sep 17 00:00:00 2001 From: Aldo Cortesi Date: Mon, 30 Jul 2012 21:12:42 +1200 Subject: Doc tweaks. --- libpathod/templates/about.html | 76 +++++++++++++++++++----------------- libpathod/templates/docs_pathoc.html | 18 ++++++++- libpathod/templates/docs_pathod.html | 8 ++-- libpathod/templates/docs_test.html | 2 +- libpathod/templates/index.html | 11 +++--- 5 files changed, 67 insertions(+), 48 deletions(-) (limited to 'libpathod') 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 %} - - -

git clone git://github.com/cortesi/pathod.git

- -

Please use the github -issue tracker to report bugs.

- - - -

I started pathod to improve testing for for the mitmproxy project. From there, it soon grew -into quite a versatile HTTP Swiss army knife.

- - - - -

pathod is developed by me, Aldo Cortesi. -Email me at aldo@corte.si with feedback or suggestions. If you like pathod, you -should follow me on twitter and subscribe to my blog.

+
+ + +

git clone git://github.com/cortesi/pathod.git

+ +

Please use the github + issue tracker to report bugs.

+
+ +
+ + +

I started pathod to improve testing for for the mitmproxy project. From there, it soon grew + into quite a versatile HTTP Swiss army knife.

+
+ + +
+ + +

pathod is developed by me, Aldo Cortesi. + Email me at aldo@corte.si with feedback or suggestions. If you like pathod, you + should follow me on twitter and subscribe to my blog.

+
{% 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 @@ -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 +
+ + +
+ + +
+ + +
+ + {% 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 small, terse language, which pathod shares with its evil twin pathoc.

-
+
@@ -45,7 +45,7 @@ those, use the command-line help:

-
+
@@ -63,7 +63,7 @@ the "=" is a response specifier.

-
+
@@ -96,7 +96,7 @@ disabled if no directory is specified:

-
+
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 @@

The canonical docs can be accessed using pydoc:

-
pydoc libpathod.testing
+
pydoc libpathod.test

The remainder of this page demonstrates some common interaction patterns using -

-
+

pathod

A pathological web daemon.

@@ -24,7 +23,7 @@
-
+

pathoc

A perverse HTTP client.

@@ -36,9 +35,9 @@
-
+
-
+

pathod server

A live, public instance of pathod

@@ -67,7 +66,7 @@
-
+

libpathod.test

Using pathod in your unit tests.

-- cgit v1.2.3