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 xtreak
Recipients cheryl.sabella, docs@python, georg.brandl, mdk, vstinner, xtreak
Date 2018-10-19.01:29:56
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1539912598.04.0.788709270274.issue35015@psf.upfronthosting.co.za>
In-reply-to
Content
@Cheryl I think it's about nested inline markup. The func is wrapped inside a * and the markup is normal is not nested here. I tried a sample directive as below :

..availability: :func:`len`

PO file

Availability: len()

Expected

Availability: :func:`len`

@Victor Yes, PO files are broken and markup is good. They have :func:`len` converted to len() like a method call in the output. Since markdown works fine I guess there is some configuration missing in the custom directive code to ensure translations work the same since there are directives like versionadded that have :func: that work fine in PO files. I tried debugging gettext.py in sphinx where catalog of messages are returned without markup as noted for Availablity directive and then written to the file. I don't know how to go little above the call stack to debug further since sphinx configuration looks very complicated.

Thanks

P.S. On mobile please ignore formatting errors if any
History
Date User Action Args
2018-10-19 01:29:58xtreaksetrecipients: + xtreak, georg.brandl, vstinner, docs@python, mdk, cheryl.sabella
2018-10-19 01:29:58xtreaksetmessageid: <1539912598.04.0.788709270274.issue35015@psf.upfronthosting.co.za>
2018-10-19 01:29:58xtreaklinkissue35015 messages
2018-10-19 01:29:56xtreakcreate