diff options
author | Mike Toews <mwtoews@gmail.com> | 2018-06-16 18:18:19 +1200 |
---|---|---|
committer | Mike Toews <mwtoews@gmail.com> | 2018-06-16 18:18:19 +1200 |
commit | 83828f52b287fefb3d8753a21bd3441997a4d687 (patch) | |
tree | f62c5aa84a9db02f3b6460e66b56cd299e4a794f /doc/source/conf.py | |
parent | bf4a3e59b0cfb1e999845dc5228dfa1f54851b9f (diff) | |
download | numpy-83828f52b287fefb3d8753a21bd3441997a4d687.tar.gz |
HTTP -> HTTPS, and other linkrot fixes
Diffstat (limited to 'doc/source/conf.py')
-rw-r--r-- | doc/source/conf.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/source/conf.py b/doc/source/conf.py index 1472f5155..93a5ea01e 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -104,8 +104,8 @@ if 'scipyorg' in tags: "edit_link": True, "sidebar": "right", "scipy_org_logo": True, - "rootlinks": [("http://scipy.org/", "Scipy.org"), - ("http://docs.scipy.org/", "Docs")] + "rootlinks": [("https://scipy.org/", "Scipy.org"), + ("https://docs.scipy.org/", "Docs")] } else: # Default build @@ -341,8 +341,8 @@ def linkcode_resolve(domain, info): fn = relpath(fn, start=dirname(numpy.__file__)) if 'dev' in numpy.__version__: - return "http://github.com/numpy/numpy/blob/master/numpy/%s%s" % ( + return "https://github.com/numpy/numpy/blob/master/numpy/%s%s" % ( fn, linespec) else: - return "http://github.com/numpy/numpy/blob/v%s/numpy/%s%s" % ( + return "https://github.com/numpy/numpy/blob/v%s/numpy/%s%s" % ( numpy.__version__, fn, linespec) |