aboutsummaryrefslogtreecommitdiffstats
path: root/docs/conf.py
diff options
context:
space:
mode:
Diffstat (limited to 'docs/conf.py')
-rw-r--r--docs/conf.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/docs/conf.py b/docs/conf.py
index ce942aa9..d7793b79 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -231,10 +231,7 @@ def linkcode_resolve(domain, info):
_, line = inspect.getsourcelines(obj)
except (TypeError, IOError):
return None
- if spath.rfind("netlib") > -1:
- off = spath.rfind("netlib")
- mpath = spath[off:]
- elif spath.rfind("mitmproxy") > -1:
+ if spath.rfind("mitmproxy") > -1:
off = spath.rfind("mitmproxy")
mpath = spath[off:]
else: