Skip to content
This repository was archived by the owner on Nov 17, 2023. It is now read-only.
This repository was archived by the owner on Nov 17, 2023. It is now read-only.

slice function incorrectly cross-linking in docs #12914

@aaronmarkham

Description

@aaronmarkham

Description

Sphinx is confused with the multiple entries for slice.
Cross-linking might be going to the wrong place. For example, https://mxnet.incubator.apache.org/api/python/ndarray/sparse.html#mxnet.ndarray.sparse.CSRNDArray.__setitem__ has a slice() reference that points to symbol but it would seem this should be going to ndarray.

Similar to the issue with NDArray and optimizer: #12829

Can this be fixed by something like #12886 ?

Here's the error:

/home/ubuntu/incubator-mxnet/python/mxnet/ndarray/ndarray.py:docstring of mxnet.ndarray.NDArray.__setitem__:None: WARNING: more than one target found for cross-reference u'slice': mxnet.symbol.Symbol.slice, mxnet.ndarray.sparse.CSRNDArray.slice, mxnet.symbol.sparse.slice, mxnet.ndarray.slice, mxnet.ndarray.NDArray.slice, mxnet.ndarray.sparse.slice, mxnet.symbol.slice
/home/ubuntu/incubator-mxnet/python/mxnet/ndarray/ndarray.py:docstring of mxnet.ndarray.NDArray.__getitem__:None: WARNING: more than one target found for cross-reference u'slice': mxnet.symbol.Symbol.slice, mxnet.ndarray.sparse.CSRNDArray.slice, mxnet.symbol.sparse.slice, mxnet.ndarray.slice, mxnet.ndarray.NDArray.slice, mxnet.ndarray.sparse.slice, mxnet.symbol.slice

Steps to reproduce

make html (from the docs folder)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions