How do you format the text in the specified link in reStructuredText?
In particular, I want to generate the following HTML from the first:
<a href="http://docs.python.org/library/optparse.html"><tt>optparse.OptionParser</tt> documentation documentation</a>
The result should look like this:
optparse.OptionParser documentation
where the "optparse.OptionParser" part has a fixed-width font.
I tried
```optparse.OptionParser`` <http://docs.python.org/library/optparse.html>`_
however it gave
<tt class="docutils literal">`optparse.OptionParser</tt> documentation <<a class="reference external" href="http://docs.python.org/library/optparse.html">http:
which is as follows
`` optparse.OptionParser documentation <http://docs.python.org/library/optparse.html>\ _
restructuredtext python-sphinx
gotgenes Jan 20 '11 at 5:45 2011-01-20 05:45
source share