I have these docs: .. py:method:: make_a_foo() -> :py:class:`foo` instance
.. py:class:: foo() Unfortunately, this doesn't do what I'd hoped. I'd /like/ the reference to a 'foo' in the method definition would produce a cross-reference to the 'foo' class definition in the docs, but it doesn't seem to... Is there a way that I can write the factory method's docs to include a cross-reference? Thanks! -- You received this message because you are subscribed to the Google Groups "sphinx-dev" group. To view this discussion on the web visit https://groups.google.com/d/msg/sphinx-dev/-/oBsU4CVZgsIJ. To post to this group, send email to sphinx-dev@googlegroups.com. To unsubscribe from this group, send email to sphinx-dev+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sphinx-dev?hl=en.