Skip to content

add cupy doc to intersphinx_mapping #2232

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Dec 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -218,9 +218,10 @@ def _can_document_member(member, *args, **kwargs):

intersphinx_mapping = {
"python": ("https://docs.python.org/3/", None),
"numpy": ("https://docs.scipy.org/doc/numpy/", None),
"numpy": ("https://numpy.org/doc/stable/", None),
"scipy": ("https://docs.scipy.org/doc/scipy/reference/", None),
"dpctl": ("https://intelpython.github.io/dpctl/latest/", None),
"cupy": ("https://docs.cupy.dev/en/stable/", None),
}

# If true, `todo` and `todoList` produce output, else they produce nothing.
Expand Down
16 changes: 16 additions & 0 deletions doc/known_words.txt
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
al
ary
backend
bandlimited
bitwise
boolean
broadcastable
broadcasted
byteorder
cardinalis
Cholesky
combinatorially
conda
Expand Down Expand Up @@ -34,11 +36,16 @@ fs
getter
Golub
Hadamard
histogrammed
Hypergeometric
kwargs
iaxis
iinfo
Infs
intp
ints
iterable
Lanczos
Lomax
Mersenne
meshgrid
Expand All @@ -47,13 +54,17 @@ multinomial
multivalued
NaN
NaT
nd
ndarray
ndarrays
ndim
Nj
Nk
normed
nuc
numpy
nx
ny
Nyquist
oneAPI
ord
Expand All @@ -62,12 +73,15 @@ Penrose
Polyutils
pre
prepend
prepended
prepending
representable
resampling
runtimes
scikit
signbit
signum
sinc
subarray
subarrays
subclasses
Expand All @@ -84,7 +98,9 @@ ufunc
ufuncs
Unary
unscaled
unstacked
unicode
Upcasting
usm
Vandermonde
vectorized
Expand Down
2 changes: 1 addition & 1 deletion dpnp/dpnp_iface_histograms.py
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ def bincount(x, weights=None, minlength=None):
Parameters
----------
x : {dpnp.ndarray, usm_ndarray}
Input 1-dimensional array with nonnegative integer values.
Input 1-dimensional array with non-negative integer values.
weights : {None, dpnp.ndarray, usm_ndarray}, optional
Weights, array of the same shape as `x`.
Default: ``None``
Expand Down
Loading