diff options
| author | bjnath <github@bigriver.xyz> | 2020-06-06 11:02:14 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-06-06 17:02:14 +0200 |
| commit | 9439b56f8762b8c9b48d2f9e54dfb467aaa2b3f9 (patch) | |
| tree | 2f373d4995ffec329f758c04e29447c456b02edb /numpy | |
| parent | f1671076c80bd972421751f2d48186ee9ac808aa (diff) | |
| download | numpy-9439b56f8762b8c9b48d2f9e54dfb467aaa2b3f9.tar.gz | |
DOC: Fixes for 18 broken links (#16472)
* DOC: Fixes for 18 broken links
This, with PR #16465, should fix nearly all the remaining broken links
on the site. 4 or 5 others should be easy to fix and just
need attention from someone more knowledgeable -- will
open an issue. For release notes with dead links,
I could usually find links on archive.org for roughly contemporary
versions.
* DOC: Update to "Fixes for 18 broken links #16472"
* Obsolete links, previously commented out, now deleted:
https://github.com/numpy/numpy/pull/16472#discussion_r433928958
* Semantic markup for reference to Python class:
https://github.com/numpy/numpy/pull/16472#discussion_r433553928
* Missing :ref: in internal link:
https://github.com/numpy/numpy/pull/16472#discussion_r433554484
Not included: Resolution on using external/internal doc link in .py:
https://github.com/numpy/numpy/pull/16472#discussion_r433554824
* DOC: Add internal link for 'Fixes for 18 broken links' PR #16472
Making reference [1] an internal link in function_base.py => numpy.vectorize.html
* DOC: Redirect 2 link fixes in PR #16472
* governance.rst link reverted
* ununcs.rst `overridden` link goes where it was meant to
per https://github.com/numpy/numpy/pull/16472#pullrequestreview-424666070
Diffstat (limited to 'numpy')
| -rw-r--r-- | numpy/lib/function_base.py | 5 | ||||
| -rw-r--r-- | numpy/lib/mixins.py | 2 | ||||
| -rw-r--r-- | numpy/polynomial/chebyshev.py | 2 | ||||
| -rw-r--r-- | numpy/testing/_private/nosetester.py | 2 |
4 files changed, 5 insertions, 6 deletions
diff --git a/numpy/lib/function_base.py b/numpy/lib/function_base.py index 4ebca6360..cf6f4891c 100644 --- a/numpy/lib/function_base.py +++ b/numpy/lib/function_base.py @@ -1971,8 +1971,7 @@ class vectorize: References ---------- - .. [1] NumPy Reference, section `Generalized Universal Function API - <https://docs.scipy.org/doc/numpy/reference/c-api.generalized-ufuncs.html>`_. + .. [1] :doc:`/reference/c-api/generalized-ufuncs` Examples -------- @@ -3120,7 +3119,7 @@ def i0(x): .. [2] M. Abramowitz and I. A. Stegun, *Handbook of Mathematical Functions*, 10th printing, New York: Dover, 1964, pp. 379. http://www.math.sfu.ca/~cbm/aands/page_379.htm - .. [3] http://kobesearch.cpan.org/htdocs/Math-Cephes/Math/Cephes.html + .. [3] https://metacpan.org/pod/distribution/Math-Cephes/lib/Math/Cephes.pod#i0:-Modified-Bessel-function-of-order-zero Examples -------- diff --git a/numpy/lib/mixins.py b/numpy/lib/mixins.py index 50157069c..c81239f6b 100644 --- a/numpy/lib/mixins.py +++ b/numpy/lib/mixins.py @@ -68,7 +68,7 @@ class NDArrayOperatorsMixin: It is useful for writing classes that do not inherit from `numpy.ndarray`, but that should support arithmetic and numpy universal functions like arrays as described in `A Mechanism for Overriding Ufuncs - <../../neps/nep-0013-ufunc-overrides.html>`_. + <https://numpy.org/neps/nep-0013-ufunc-overrides.html>`_. As an trivial example, consider this implementation of an ``ArrayLike`` class that simply wraps a NumPy array and ensures that the result of any diff --git a/numpy/polynomial/chebyshev.py b/numpy/polynomial/chebyshev.py index 4ddb0c688..431617414 100644 --- a/numpy/polynomial/chebyshev.py +++ b/numpy/polynomial/chebyshev.py @@ -104,7 +104,7 @@ References ---------- .. [1] A. T. Benjamin, et al., "Combinatorial Trigonometry with Chebyshev Polynomials," *Journal of Statistical Planning and Inference 14*, 2008 - (preprint: https://www.math.hmc.edu/~benjamin/papers/CombTrig.pdf, pg. 4) + (https://web.archive.org/web/20080221202153/https://www.math.hmc.edu/~benjamin/papers/CombTrig.pdf, pg. 4) """ import numpy as np diff --git a/numpy/testing/_private/nosetester.py b/numpy/testing/_private/nosetester.py index bd6d002aa..57691a448 100644 --- a/numpy/testing/_private/nosetester.py +++ b/numpy/testing/_private/nosetester.py @@ -352,7 +352,7 @@ class NoseTester: coverage : bool, optional If True, report coverage of NumPy code. Default is False. (This requires the - `coverage module <https://nedbatchelder.com/code/modules/coveragehtml>`_). + `coverage module <https://pypi.org/project/coverage/>`_). raise_warnings : None, str or sequence of warnings, optional This specifies which warnings to configure as 'raise' instead of being shown once during the test execution. Valid strings are: |
