Skip to content

Commit 2a7d732

Browse files
Align docs array api with NumPy/CuPy short names
1 parent a68ae95 commit 2a7d732

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

doc/reference/array_api.rst

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
.. _array-api-standard-compatibility:
22

3-
.. https://numpy.org/doc/stable/reference/array_api.html
3+
.. currentmodule:: dpnp
44

55
********************************
66
Array API standard compatibility
77
********************************
88

9+
.. hint:: `NumPy API Reference: Array API standard compatibility <https://numpy.org/doc/stable/reference/array_api.html>`_
10+
911
DPNP's main namespace as well as the :mod:`dpnp.fft` and :mod:`dpnp.linalg`
1012
namespaces are compatible with the
1113
`2024.12 version <https://data-apis.org/array-api/2024.12/index.html>`__
@@ -23,4 +25,4 @@ function, which returns a namespace containing the inspection utilities.
2325
:toctree: generated/
2426
:nosignatures:
2527

26-
dpnp.__array_namespace_info__
28+
__array_namespace_info__

doc/reference/scipy_linalg.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Linear algebra (:mod:`dpnp.scipy.linalg`)
44
=========================================
55

6-
.. Hint:: `SciPy API Reference: Linear algebra (scipy.linalg) <https://docs.scipy.org/doc/scipy/reference/linalg.html>`_
6+
.. hint:: `SciPy API Reference: Linear algebra (scipy.linalg) <https://docs.scipy.org/doc/scipy/reference/linalg.html>`_
77

88
Decompositions
99
--------------

doc/reference/scipy_special.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Special functions (:mod:`dpnp.scipy.special`)
44
=======================================
55

6-
.. Hint:: `SciPy API Reference: Special functions (scipy.special) <https://docs.scipy.org/doc/scipy/reference/special.html>`_
6+
.. hint:: `SciPy API Reference: Special functions (scipy.special) <https://docs.scipy.org/doc/scipy/reference/special.html>`_
77

88
Error function and Fresnel integrals
99
------------------------------------

0 commit comments

Comments
 (0)