You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by GitBox <gi...@apache.org> on 2018/10/22 22:29:22 UTC

[GitHub] aaronmarkham opened a new issue #12914: slice function incorrectly cross-linking in docs

aaronmarkham opened a new issue #12914: slice function incorrectly cross-linking in docs
URL: https://github.com/apache/incubator-mxnet/issues/12914
 
 
   ## 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: https://github.com/apache/incubator-mxnet/issues/12829
   
   Can this be fixed by something like https://github.com/apache/incubator-mxnet/pull/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)
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services