This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author eric.araujo
Recipients belopolsky, docs@python, eli.bendersky, eric.araujo, terry.reedy
Date 2010-11-27.12:38:00
SpamBayes Score 1.8931958e-07
Marked as misclassified No
Message-id <1290861482.51.0.171259102889.issue9264@psf.upfronthosting.co.za>
In-reply-to
Content
I noticed too that the second form given in a cmdoption directive cannot be linked to from an option construct.  The workaround looks like this: :option:`--long <-l>`.  This uses a generic Sphinx (or reST) property: When using :role:`text <thing>`, “thing” will be given as argument to the role but “text” will be displayed.  It’s very useful for references for example, if you don’t want title case in the middle of your sentence of if you need to rephrase the title: “Have a look at the :ref:`detailed explanation <config-explanation>`”.

Even if it can be worked around, can you report this Sphinx bug?
History
Date User Action Args
2010-11-27 12:38:02eric.araujosetrecipients: + eric.araujo, terry.reedy, belopolsky, eli.bendersky, docs@python
2010-11-27 12:38:02eric.araujosetmessageid: <1290861482.51.0.171259102889.issue9264@psf.upfronthosting.co.za>
2010-11-27 12:38:00eric.araujolinkissue9264 messages
2010-11-27 12:38:00eric.araujocreate