From f5aa94958494a6f94d4b2f32727a2e0d4be090dd Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Wed, 15 Jun 2011 19:31:28 -0400 Subject: [PATCH] make urls relative in prod --- fabfile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fabfile.py b/fabfile.py index f1eb3a3..2f73292 100644 --- a/fabfile.py +++ b/fabfile.py @@ -21,7 +21,7 @@ def _path_to(*loc): def docs(): os.chdir(_path_to('.')) - os.system('ronn -5 -f README.md --style 80c --pipe > ./httpbin/templates/httpbin.1.html') + os.system("cat README.md|sed 's/(http:\/\/httpbin.org\//(\//'|ronn -5 -f --style 80c --pipe > ./httpbin/templates/httpbin.1.html") def prod():