Commit 8d3e67c6 authored by André Anjos's avatar André Anjos 💬

Merge branch 'numpy-1.18' into 'master'

[utils] Numpy documentation webpage has moved

Closes #74

See merge request !112
parents 7e14085a c94331fe
Pipeline #38070 passed with stages
in 6 minutes and 58 seconds
......@@ -483,14 +483,11 @@ def link_documentation(additional_packages = ['python', 'numpy'], requirements_f
try:
import numpy
ver = numpy.version.version
if smaller_than(ver, '1.5.z'):
ver = '.'.join(ver.split('.')[:-1]) + '.x'
else:
ver = '.'.join(ver.split('.')[:-1]) + '.0'
_add_index('numpy', 'https://docs.scipy.org/doc/numpy-%s/' % ver)
ver = '.'.join(ver.split('.')[:-1])
_add_index('numpy', 'https://numpy.org/doc/%s/' % ver)
except ImportError:
_add_index('numpy', 'https://docs.scipy.org/doc/numpy/')
_add_index('numpy', 'https://numpy.org/devdocs/')
def _add_scipy_index():
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment