aboutsummaryrefslogtreecommitdiffstats
path: root/docs/conf.py
diff options
context:
space:
mode:
authorAldo Cortesi <aldo@corte.si>2016-10-20 12:36:26 +1300
committerGitHub <noreply@github.com>2016-10-20 12:36:26 +1300
commit711078ba3f63257df745bb3edd80a85717e94b20 (patch)
treed3116cd540faf01f272a0892fc6a9b83b4f6de8a /docs/conf.py
parentee56d3fae0baeef1f31a83db122dd832d4c0e07e (diff)
parent8430f857b504a3e7406dc36e54dc32783569d0dd (diff)
downloadmitmproxy-711078ba3f63257df745bb3edd80a85717e94b20.tar.gz
mitmproxy-711078ba3f63257df745bb3edd80a85717e94b20.tar.bz2
mitmproxy-711078ba3f63257df745bb3edd80a85717e94b20.zip
Merge pull request #1637 from cortesi/tatanetlib
This PR merges netlib into mitmproxy
Diffstat (limited to 'docs/conf.py')
-rw-r--r--docs/conf.py11
1 files changed, 4 insertions, 7 deletions
diff --git a/docs/conf.py b/docs/conf.py
index e1cbc497..d7793b79 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -5,7 +5,7 @@ import subprocess
import sys
sys.path.insert(0, os.path.abspath('..'))
-import netlib.version
+from mitmproxy import version
extensions = [
@@ -47,9 +47,9 @@ author = u'The mitmproxy project'
# built documents.
#
# The short X.Y version.
-version = netlib.version.VERSION
+version = version.VERSION
# The full version, including alpha/beta/rc tags.
-release = netlib.version.VERSION
+release = version.VERSION
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
@@ -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: