ajax-ie ajax-ie - 5 months ago 12
Python Question

How to make an internal hyper link in sphinx documentation

How to make an internal hyper link in sphinx documentation?
I am using:

:role:`target`


But it is not working.

Answer

Cross-referencing is done using a ref

:ref:`label-name`

You can provide your labels using:

.. _label-name:

See: http://sphinx.pocoo.org/markup/inline.html#ref-role

Roles are used to create custom interpreted text. See: http://docutils.sourceforge.net/docs/ref/rst/directives.html#role

Comments