homepage

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 chris.jerdonek
Recipients asvetlov, chris.jerdonek, docs@python, georg.brandl, serhiy.storchaka
Date 2012年08月10日.19:40:01
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1344627602.31.0.85799452246.issue15527@psf.upfronthosting.co.za>
In-reply-to
Content
- a distinct non-*NULL* pointer if possible, as if :c:func:`PyMem_Malloc(1)` had
+ a distinct non-*NULL* pointer if possible, as if ``PyMem_Malloc(1)`` had
> From my perspective sphinx doesn't allow notations like :c:func:`PyMem_Malloc(1)`
I believe that it does. Sphinx allows you to specify link text distinct from the target for various roles:
http://docs.python.org/devguide/documenting.html#id3
So for the above, it would be--
:c:func:`PyMem_Malloc(1) <PyMem_Malloc>`
I confirmed that this works. I think this is preferable to displaying the preferred text without any hyperlink.
History
Date User Action Args
2012年08月10日 19:40:02chris.jerdoneksetrecipients: + chris.jerdonek, georg.brandl, asvetlov, docs@python, serhiy.storchaka
2012年08月10日 19:40:02chris.jerdoneksetmessageid: <1344627602.31.0.85799452246.issue15527@psf.upfronthosting.co.za>
2012年08月10日 19:40:01chris.jerdoneklinkissue15527 messages
2012年08月10日 19:40:01chris.jerdonekcreate

AltStyle によって変換されたページ (->オリジナル) /