Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

        Parameters
----------
shapes : a tuple of (mxnet.symbol.Symbol.name, mxnet.ndarray.NDArray.shape)
types : a tuple of (mxnet.symbol.Symbol.name, type)


After a Returns line is used, Sphinx expects the next line to contain an entity and it will attempt to link it up. If it is ambiguous, you will get an error there as well. For example, this will cause an error:

Returns
--------
Constant


Fix this as follows:

Returns
--------
:py:class:`.Constant`


Tip for using Aliases

You also have the option using an alias.
1) Create an alias. rst uses an underscore after the name to trigger an alias. For example:

...