Open
Description
foobar.py:
def main():
"""
Some fooings, refer to :ref:`the-title` and :doc:`/index`.
See Also
--------
:ref:`the-title`
:doc:`/index`
"""
index.rst
.. _the-title:
Welcome to foo's documentation!
===============================
.. toctree::
:maxdepth: 2
:caption: Contents:
.. automodule:: foobar
:members:
Building with sphinx 2.2.0, numpydoc 0.9.1 crashes on the :doc:
entry in the see also section with
"numpydoc.docscrape.ParseError: :doc:`/index` is not a item name in 'Some fooings, refer to :ref:`the-title` and :doc:`/index`.\n\nSee Also\n--------\n:ref:`the-title`\n:doc:`/index`'"
even though in the main text both the :ref:
and the :doc:
work fine and the :ref:
works fine in the See Also section as well.
Metadata
Metadata
Assignees
Labels
No labels