Include long url in sphinx documentation

I am very new to the Sphinx. Sorry if this is a very simple question.

I have a very long URL that I would like to include in my documentation. If I just include the link in my document, it looks ugly because it is too long.

I tried to include it in the field by doing

Click the following link:

http://my_very_looooooooooooooooooooooog_url 

Then it looks much better since it is only on one line, but it is no longer available for clicks.

What can I do to make it clickable on the same line?

thanks for the help

+6
source share
1 answer

You can use any hyperlink construct available in reStructuredText. One example is the use of a built-in URI, as defined in the reStructuredText specification (see, for example, a short link ):

 External hyperlinks, like `Python <http://www.python.org/>`_. 

displays the following:

External hyperlinks such as Python .

+13
source

All Articles