Skip to content

Commit 78e1a83

Browse files
Align docs sorting with NumPy/CuPy short names
1 parent 9c0d2fe commit 78e1a83

File tree

1 file changed

+20
-18
lines changed

1 file changed

+20
-18
lines changed

doc/reference/sort.rst

Lines changed: 20 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
1+
.. currentmodule:: dpnp
2+
13
Sorting, searching, and counting
24
================================
35

4-
.. https://numpy.org/doc/stable/reference/routines.sort.html
6+
.. hint:: `NumPy API Reference: Sorting, searching, and counting <https://numpy.org/doc/stable/reference/routines.sort.html>`_
57

68
Sorting
79
-------
@@ -10,12 +12,12 @@ Sorting
1012
:toctree: generated/
1113
:nosignatures:
1214

13-
dpnp.sort
14-
dpnp.lexsort
15-
dpnp.argsort
16-
dpnp.sort_complex
17-
dpnp.partition
18-
dpnp.argpartition
15+
sort
16+
lexsort
17+
argsort
18+
sort_complex
19+
partition
20+
argpartition
1921

2022
.. seealso::
2123
:func:`dpnp.ndarray.sort`
@@ -27,16 +29,16 @@ Searching
2729
:toctree: generated/
2830
:nosignatures:
2931

30-
dpnp.argmax
31-
dpnp.nanargmax
32-
dpnp.argmin
33-
dpnp.nanargmin
34-
dpnp.argwhere
35-
dpnp.nonzero
36-
dpnp.flatnonzero
37-
dpnp.where
38-
dpnp.searchsorted
39-
dpnp.extract
32+
argmax
33+
nanargmax
34+
argmin
35+
nanargmin
36+
argwhere
37+
nonzero
38+
flatnonzero
39+
where
40+
searchsorted
41+
extract
4042

4143
Counting
4244
--------
@@ -45,4 +47,4 @@ Counting
4547
:toctree: generated/
4648
:nosignatures:
4749

48-
dpnp.count_nonzero
50+
count_nonzero

0 commit comments

Comments
 (0)