From 64be9b1a8a695f253dfcf2188ce303791d451bfa Mon Sep 17 00:00:00 2001 From: Aldo Cortesi Date: Sun, 19 Jan 2014 13:52:45 +1300 Subject: Optionally take the mitmproxy path for doc rendering from a env variable. --- doc-src/index.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc-src') diff --git a/doc-src/index.py b/doc-src/index.py index e62c1709..8f18e714 100644 --- a/doc-src/index.py +++ b/doc-src/index.py @@ -5,7 +5,7 @@ import countershape.template sys.path.insert(0, "..") from libmproxy import filt, version -MITMPROXY_SRC = os.path.abspath("..") +MITMPROXY_SRC = os.environ.get("MITMPROXY_SRC", os.path.abspath("..")) ns.VERSION = version.VERSION if ns.options.website: -- cgit v1.2.3